UnitreeCameraSDK  1.0.1
unitree stereo camra apis
Public Member Functions | Public Attributes | List of all members
glwindow::EventDispatcher Class Reference
Inheritance diagram for glwindow::EventDispatcher:
Inheritance graph
[legend]
Collaboration diagram for glwindow::EventDispatcher:
Collaboration graph
[legend]

Public Member Functions

 EventDispatcher (const std::vector< EventHandler *> &h)
 
bool on_key_down (GLWindow &win, int key)
 
bool on_key_up (GLWindow &win, int key)
 
bool on_text (GLWindow &win, const char *text, int len)
 
bool on_button_down (GLWindow &win, int btn, int state, int x, int y)
 
bool on_button_up (GLWindow &win, int btn, int state, int x, int y)
 
bool on_mouse_move (GLWindow &win, int state, int x, int y)
 
bool on_mouse_wheel (GLWindow &win, int state, int x, int y, int dx, int dy)
 
bool on_resize (GLWindow &win, int x, int y, int w, int h)
 
bool on_close (GLWindow &win)
 

Public Attributes

const std::vector< EventHandler * > & handlers
 

The documentation for this class was generated from the following files: