39 #ifndef CHAIGLUTHANDLERS_HPP_
40 #define CHAIGLUTHANDLERS_HPP_
42 #include <scl/DataTypes.hpp>
44 #include <sutil/CSingleton.hpp>
47 #include <scl/graphics/chai/CGraphicsChai.hpp>
54 namespace scl_chai_glut_interface
62 static const scl::sUInt OPTION_FULLSCREEN=0;
63 static const scl::sUInt OPTION_WINDOWDISPLAY=1;
64 static const scl::sUInt OPTION_TOGGLE_MOUSE_CAM_SELECT=2;
97 bool initializeGlutForChai(
const std::string & arg_graphics_name,
105 void resizeWindow(
int w,
int h);
108 void keyPressed(
unsigned char key,
int x,
int y);
111 void keyReleased(
unsigned char key,
int x,
int y);
117 void menuSelect(
int value);
120 void closeChaiGlut(
void);
123 void updateGraphics(
void);
126 void mouseClick(
int button,
int state,
int x,
int y);
129 void mouseMove(
int x,
int y);
132 void mousePassiveMove(
int x,
int y);
135 void updateCameraPosition();
Definition: CGraphicsChai.hpp:48
scl::sFloat cam_lookat_x_
Definition: ChaiGlutHandlers.hpp:79
Definition: CSingleton.hpp:47
Definition: SGraphicsChai.hpp:74
bool sBool
Definition: DataTypes.hpp:54
Definition: ChaiGlutHandlers.hpp:59
scl::sFloat cam_sph_x_
Definition: ChaiGlutHandlers.hpp:76
Definition: SGraphicsParsed.hpp:48
SChaiGlobals()
Definition: ChaiGlutHandlers.cpp:48
double sFloat
Definition: DataTypes.hpp:72
int sInt
Definition: DataTypes.hpp:64