#include </msg/src/other/window.h>
Public Members | |||
![]() | ![]() | Window (int argc, char **argv, Group* _root, const Camera& _camera, char* windowTitle = "MSG") | |
![]() | ![]() | void | display (void) |
![]() | ![]() | void | handleKeys (unsigned char c, int x, int y) |
![]() | ![]() | void | handleMouse (int button, int state, int x, int y) |
![]() | ![]() | void | handleMotion (int x, int y) |
![]() | ![]() | void | handleVisibility (int state) |
![]() | ![]() | void | idle (void) |
![]() | ![]() | void | mainLoop () |
Protected Members | |||
![]() | ![]() | Camera | camera |
![]() | ![]() | Group* | root |
![]() | ![]() | int | mouseX |
![]() | ![]() | int | mouseY |
![]() | ![]() | int | dragX |
![]() | ![]() | int | dragY |
![]() | ![]() | bool | dragging |
references the root of the scene graph and stores a camera.
MSG::Window::Window (int argc, char ** argv, Group * _root, const Camera & _camera, char * windowTitle = "MSG") |
void MSG::Window::display (void) |
void MSG::Window::handleKeys (unsigned char k, int x, int y) |
void MSG::Window::handleMouse (int button, int state, int x, int y) |
void MSG::Window::handleMotion (int x, int y) |
void MSG::Window::handleVisibility (int state) |
void MSG::Window::idle (void) |
void MSG::Window::mainLoop () |
Camera MSG::Window::camera [protected]
|
Group* MSG::Window::root [protected]
|
int MSG::Window::mouseX [protected]
|
int MSG::Window::mouseY [protected]
|
int MSG::Window::dragX [protected]
|
int MSG::Window::dragY [protected]
|
bool MSG::Window::dragging [protected]
|