Archon::Display::EventHandler Struct Reference

A base for window event handlers. More...

#include <archon/display/window.H>

Inheritance diagram for Archon::Display::EventHandler:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void resize (int w, int h)
 Window size has chaged.
virtual void close ()
 User request that window be closed.
virtual void focusIn ()
 Window gains focus (one is generate initially).
virtual void focusOut ()
 Window looses focus.
virtual void mouseIn ()
 Mouse enters window.
virtual void mouseOut ()
 Mouse leaves window.
virtual void mouseDown ()
 Mouse button is pressed down.
virtual void mouseUp ()
 Mouse buttoin is released.
virtual void mouseMove ()
 Mouse moves.
virtual void mouseClick ()
 Clicks, double click, tripple clicks etc.
virtual void keyDown (KeySym)
 Keyboard key is pressed down.
virtual void keyUp (KeySym)
 Keyboard key is released.
virtual ~EventHandler ()

Detailed Description

A base for window event handlers.

Derive this class and override the methods corresponding to those types of events in which you are interested.

Definition at line 40 of file window.H.


The documentation for this struct was generated from the following file:
Generated on Sun Jul 30 22:56:49 2006 for Archon by  doxygen 1.4.4