CVD::GLWindow::EventHandler Class Reference

#include <glwindow.h>

List of all members.


Detailed Description

Abstract base class for event handlers. Subclass this and override to implement a handler.

Definition at line 47 of file glwindow.h.


Public Member Functions

virtual ~EventHandler ()
virtual void on_key_down (GLWindow &, int)
virtual void on_key_up (GLWindow &, int)
virtual void on_mouse_move (GLWindow &, ImageRef, int)
virtual void on_mouse_down (GLWindow &, ImageRef, int, int)
virtual void on_mouse_up (GLWindow &, ImageRef, int, int)
virtual void on_resize (GLWindow &, ImageRef)
virtual void on_event (GLWindow &, int)

Member Function Documentation

virtual void CVD::GLWindow::EventHandler::on_key_down ( GLWindow ,
int   
) [inline, virtual]

Called for key press events.

Definition at line 51 of file glwindow.h.

virtual void CVD::GLWindow::EventHandler::on_key_up ( GLWindow ,
int   
) [inline, virtual]

Called for key release events.

Definition at line 53 of file glwindow.h.

virtual void CVD::GLWindow::EventHandler::on_mouse_move ( GLWindow ,
ImageRef  ,
int   
) [inline, virtual]

Called for mouse movement events.

Definition at line 55 of file glwindow.h.

virtual void CVD::GLWindow::EventHandler::on_mouse_down ( GLWindow ,
ImageRef  ,
int  ,
int   
) [inline, virtual]

Called for mouse button press events.

Definition at line 57 of file glwindow.h.

virtual void CVD::GLWindow::EventHandler::on_mouse_up ( GLWindow ,
ImageRef  ,
int  ,
int   
) [inline, virtual]

Called for mouse button release events.

Definition at line 59 of file glwindow.h.

virtual void CVD::GLWindow::EventHandler::on_resize ( GLWindow ,
ImageRef   
) [inline, virtual]

Called for window resize events.

Definition at line 61 of file glwindow.h.

virtual void CVD::GLWindow::EventHandler::on_event ( GLWindow ,
int   
) [inline, virtual]

Called for general window events (such as EVENT_CLOSE).

Definition at line 63 of file glwindow.h.


The documentation for this class was generated from the following file:
Generated on Wed Feb 18 10:23:06 2009 for CVD by  doxygen 1.5.3