#include <faith/event.h>
Inheritance diagram for Faith::MouseEvent:

Public Member Functions | |
| MouseEvent (EventType t, const Point &at, int button, int state) | |
| Point | pos () const |
| int | button () const |
| int | state () const |
Can represent a EventMouseButtonPress, EventMouseButtonRelease, and EventMouseMove
Constructs the object
| int Faith::MouseEvent::button | ( | ) | const [inline] |
why was this event caused? A member of Event::ButtonState, always zero for MouseMove events
| Point Faith::MouseEvent::pos | ( | ) | const [inline] |
| int Faith::MouseEvent::state | ( | ) | const [inline] |
what keys were pressed at the time? Faith::ButtonState, ORed
1.4.7