libcvd
|
Abstract base class for event handlers. Subclass this and override to implement a handler. More...
#include <glwindow.h>
Public Member Functions | |
virtual void | on_key_down (GLWindow &, unsigned int) |
Called for key press events. | |
virtual void | on_key_up (GLWindow &, unsigned int) |
Called for key release events. | |
virtual void | on_mouse_move (GLWindow &, ImageRef, unsigned int) |
Called for mouse movement events. | |
virtual void | on_mouse_down (GLWindow &, ImageRef, unsigned int, unsigned int) |
Called for mouse button press events. | |
virtual void | on_mouse_up (GLWindow &, ImageRef, unsigned int, unsigned int) |
Called for mouse button release events. | |
virtual void | on_resize (GLWindow &, ImageRef) |
Called for window resize events. | |
virtual void | on_event (GLWindow &, unsigned int) |
Called for general window events (such as EVENT_CLOSE) | |
Abstract base class for event handlers. Subclass this and override to implement a handler.