Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

amire::component::MouseHandler Class Reference

Inheritance diagram for amire::component::MouseHandler:

amire::component::Handler List of all members.

Public Member Functions

virtual ~MouseHandler ()
virtual void mouseDrag (MREngine *engine, int x, int y)=0
virtual void mouseMotion (MREngine *engine, int x, int y)=0
virtual void mouseButton (MREngine *engine, int button, int state, int x, int y)=0

Detailed Description

The MouseHandler can be used to listen on all kind of mouse events. Therefore, it should be used to implement a mous picking device.


Constructor & Destructor Documentation

virtual amire::component::MouseHandler::~MouseHandler  )  [virtual]
 


Member Function Documentation

virtual void amire::component::MouseHandler::mouseButton MREngine engine,
int  button,
int  state,
int  x,
int  y
[pure virtual]
 

Is called by the MREngine to indicate the press or release of a mouse button (button state change).

virtual void amire::component::MouseHandler::mouseDrag MREngine engine,
int  x,
int  y
[pure virtual]
 

Is called by the MREngine to indicate the movement of the mouse whereas at least one mouse button is pressed (often this is called mouse dragging).

virtual void amire::component::MouseHandler::mouseMotion MREngine engine,
int  x,
int  y
[pure virtual]
 

Is called by the MREngine to indicate the movement of the mouse whereas no mouse button is pressed.


The documentation for this class was generated from the following file:
Generated on Tue May 20 17:23:57 2003 for AMIRE-Framework by doxygen1.3