KeyEvent.hh
Go to the documentation of this file.
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
Microsoft Visual Studio does not automatically export the interface information for member variables ...
Definition: SuppressWarning.hh:64
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Definition: SuppressWarning.hh:67
void SetShift(const bool _shift)
Set whether the shift key was held during this key event.
bool Shift() const
Get whether the shift key was held during this key event.
EventType
Key event types enumeration.
Definition: KeyEvent.hh:38
void SetControl(const bool _control)
Set whether the control key was held during this key event.
void SetAlt(const bool _alt)
Set whether the alt key was held during this key event.
bool Control() const
Get whether the control key was held during this key event.
std::string Text() const
Get the formatted string of the key pressed (could be uppercase).
void SetText(const std::string &_text)
Set the formatted string of the key pressed.
KeyEvent(KeyEvent &&_other)
KeyEvent & operator=(KeyEvent &&other)
Move assignment operator.
KeyEvent & operator=(const KeyEvent &_other)
Assignment operator.
bool Alt() const
Get whether the alt key was held during this key event.
Forward declarations for the common classes.