|
FIFE
2008.0
|
#include <ec_inputevent.h>


Public Member Functions | |
| InputEvent () | |
| ~InputEvent () | |
| virtual bool | isAltPressed () const |
| virtual bool | isControlPressed () const |
| virtual bool | isMetaPressed () const |
| virtual bool | isShiftPressed () const |
| virtual void | consumedByWidgets () |
| virtual void | consume () |
| virtual bool | isConsumed () const |
| virtual void | setSource (IEventSource *source) |
| virtual int | getTimeStamp () const |
| virtual void | setTimeStamp (int timestamp) |
| virtual const std::string & | getName () const |
| virtual std::string | getDebugString () const |
| virtual std::string | getAttrStr () const |
Public Member Functions inherited from FIFE::Event | |
| Event () | |
| virtual | ~Event () |
| virtual IEventSource * | getSource () const |
Base class for input events (like mouse and keyboard)
Definition at line 42 of file ec_inputevent.h.
|
inline |
Constructor.
Definition at line 46 of file ec_inputevent.h.
|
inline |
Destructor.
Definition at line 56 of file ec_inputevent.h.
|
inlinevirtual |
Marks the event as consumed.
Reimplemented from FIFE::Event.
Reimplemented in FIFE::MouseEvent, and FIFE::KeyEvent.
Definition at line 83 of file ec_inputevent.h.
|
inlinevirtual |
Marks events as consumed by widget library.
Reimplemented in FIFE::MouseEvent, and FIFE::KeyEvent.
Definition at line 80 of file ec_inputevent.h.
|
inlinevirtual |
Gets attribute string of the event
Reimplemented from FIFE::Event.
Reimplemented in FIFE::MouseEvent.
Definition at line 96 of file ec_inputevent.h.
|
inlinevirtual |
Gets the debugstring of the event
Reimplemented from FIFE::Event.
Reimplemented in FIFE::MouseEvent, and FIFE::KeyEvent.
Definition at line 94 of file ec_inputevent.h.
|
inlinevirtual |
Gets the name of the event
Reimplemented from FIFE::Event.
Reimplemented in FIFE::MouseEvent, and FIFE::KeyEvent.
Definition at line 90 of file ec_inputevent.h.
|
inlinevirtual |
Gets the timestamp of the event
Reimplemented from FIFE::Event.
Reimplemented in FIFE::MouseEvent, and FIFE::KeyEvent.
Definition at line 87 of file ec_inputevent.h.
|
inlinevirtual |
Checks whether alt is pressed.
Reimplemented in FIFE::MouseEvent, and FIFE::KeyEvent.
Definition at line 60 of file ec_inputevent.h.
|
inlinevirtual |
Checks if the event is consumed.
Reimplemented from FIFE::Event.
Reimplemented in FIFE::MouseEvent, and FIFE::KeyEvent.
Definition at line 84 of file ec_inputevent.h.
|
inlinevirtual |
Checks whether control is pressed.
Reimplemented in FIFE::MouseEvent, and FIFE::KeyEvent.
Definition at line 65 of file ec_inputevent.h.
|
inlinevirtual |
Checks whether meta is pressed.
Reimplemented in FIFE::MouseEvent, and FIFE::KeyEvent.
Definition at line 70 of file ec_inputevent.h.
|
inlinevirtual |
Checks whether shift is pressed.
Reimplemented in FIFE::MouseEvent, and FIFE::KeyEvent.
Definition at line 75 of file ec_inputevent.h.
|
inlinevirtual |
Sets the source of the event.
Reimplemented from FIFE::Event.
Reimplemented in FIFE::MouseEvent, and FIFE::KeyEvent.
Definition at line 86 of file ec_inputevent.h.
|
inlinevirtual |
Sets the timestamp of the event
Reimplemented from FIFE::Event.
Reimplemented in FIFE::MouseEvent, and FIFE::KeyEvent.
Definition at line 88 of file ec_inputevent.h.