Inheritance diagram for Exponent::GUI::Events::CKeyboardEvent:
Definition at line 32 of file CKeyboardEvent.hpp.
Exponent::GUI::Events::CKeyboardEvent::CKeyboardEvent | ( | ) |
Construction
virtual Exponent::GUI::Events::CKeyboardEvent::~CKeyboardEvent | ( | ) | [virtual] |
Destruction
char Exponent::GUI::Events::CKeyboardEvent::getKey | ( | ) | const |
Get the virtual key code
char | The key depressed |
bool Exponent::GUI::Events::CKeyboardEvent::isAltDown | ( | ) | const |
Is the alt key down
bool | True if alt is down, false otherwise |
bool Exponent::GUI::Events::CKeyboardEvent::isCtrlDown | ( | ) | const |
Is ctrl down
bool | True if ctrl is down, false otherwise |
bool Exponent::GUI::Events::CKeyboardEvent::isShiftDown | ( | ) | const |
Is shift down
bool | True if shift is down, false otherwise |
void Exponent::GUI::Events::CKeyboardEvent::setKey | ( | const char | key | ) |
SEt the key code
key | The key that was pressed |
void Exponent::GUI::Events::CKeyboardEvent::setModifiers | ( | const bool | shift, | |
const bool | alt, | |||
const bool | ctrl | |||
) |
Set the modifiers
shift | True if shift is down, false otherwise | |
alt | True if alt is down, false otherwise | |
ctrl | True if ctrl is down, false otherwise |
bool Exponent::GUI::Events::CKeyboardEvent::m_altIsDown [protected] |
Is the alt key depressed
Definition at line 102 of file CKeyboardEvent.hpp.
bool Exponent::GUI::Events::CKeyboardEvent::m_ctrlIsDown [protected] |
Is the ctrl key depressed
Definition at line 103 of file CKeyboardEvent.hpp.
char Exponent::GUI::Events::CKeyboardEvent::m_key [protected] |
The character that was pressed
Definition at line 100 of file CKeyboardEvent.hpp.
bool Exponent::GUI::Events::CKeyboardEvent::m_shiftIsDown [protected] |
Is shift key depressed
Definition at line 101 of file CKeyboardEvent.hpp.