#include <lvt/InputHandler.h>
Inheritance diagram for InputHandler:
An InputHandler, when attached to a Wnd object, will accept input messages sent to the window.
Each member function corresponds to one message handler in the Wnd class. The semantics of the messages are the same, as are the parameters, with the exception of the added Wnd * parameter, which is a pointer to the Wnd that received the message. An input handler function returns true if it handled the message, false if it did not.
Public Member Functions | |
virtual bool | OnLButtonDblClk (class Wnd *w, int x, int y) |
The left mouse button has been double-clicked. | |
virtual bool | OnLButtonDown (class Wnd *w, int x, int y) |
The left mouse button has been pressed. | |
virtual bool | OnLButtonUp (class Wnd *w, int x, int y) |
The left mouse button has been released. | |
virtual bool | OnMButtonDblClk (class Wnd *w, int x, int y) |
The middle mouse button has been double-clicked. | |
virtual bool | OnMButtonDown (class Wnd *w, int x, int y) |
The middle mouse button has been pressed. | |
virtual bool | OnMButtonUp (class Wnd *w, int x, int y) |
The middle mouse button has been released. | |
virtual bool | OnMouseMove (class Wnd *w, int x, int y) |
The mouse has been moved. | |
virtual bool | OnMouseWheel (class Wnd *w, int x, int y, int zDelta) |
The mouse wheel has been moved. | |
virtual bool | OnRButtonDblClk (class Wnd *w, int x, int y) |
The right mouse button has been double-clicked. | |
virtual bool | OnRButtonDown (class Wnd *w, int x, int y) |
The right mouse button has been pressed. | |
virtual bool | OnRButtonUp (class Wnd *w, int x, int y) |
The right mouse button has been released. |
|
The left mouse button has been double-clicked.
|
|
The left mouse button has been pressed.
Reimplemented in Examiner. |
|
The left mouse button has been released.
Reimplemented in Examiner. |
|
The middle mouse button has been double-clicked.
|
|
The middle mouse button has been pressed.
|
|
The middle mouse button has been released.
|
|
The mouse has been moved.
Reimplemented in Examiner. |
|
The mouse wheel has been moved.
|
|
The right mouse button has been double-clicked.
|
|
The right mouse button has been pressed.
|
|
The right mouse button has been released.
|