#include <uinputevent.hpp>
Inheritance diagram for ufo::UInputEvent:
Public Member Functions | |
UInputEvent (UWidget *sourceA, Type typeA, UMod_t modifiersA) | |
UMod_t | getModifiers () |
bool | isControlDown () |
bool | isAltDown () |
bool | isAltGraphDown () |
bool | isShiftDown () |
bool | isCapsDown () |
bool | isMetaDown () |
bool | isNumDown () |
bool | hasMouseModifiers () |
bool | hasKeyboardModifiers () |
Protected Member Functions | |
virtual std::ostream & | paramString (std::ostream &os) const |
Protected Attributes | |
UMod_t | m_modifiers |
|
Returns the modifiers associated with this input event. |
|
Returns true if a keyboard modifier was pressed when fireing this event. |
|
Returns true if a mouse button was pressed when fireing this event. |
|
Prints some useful internal data to the ostream os. This method is meant only for debugging purposes. Reimplemented from ufo::UEvent.
Reimplemented in ufo::UKeyEvent, ufo::UMouseEvent, and ufo::UMouseWheelEvent.
|