VCF::AcceleratorKey::Value Class Reference
This class is used to hold the values of both the keyboard modifier(s), such as Ctrl, Shift, or Alt, and the virtual key value, such as vkLetterV.
More...
#include <vcf/ApplicationKit/AcceleratorKey.h>
List of all members.
Detailed Description
This class is used to hold the values of both the keyboard modifier(s), such as Ctrl, Shift, or Alt, and the virtual key value, such as vkLetterV.
The actual data is stored as 2 unsigned 16 bit values, within one unsigned 32 bit member variable. The virtual key code is stored in the upper 16 bits, and the keyboard modifiers are stored in the lower 16 bits.
Member Enumeration Documentation
Constructor & Destructor Documentation
| VCF::AcceleratorKey::Value::Value |
( |
|
) |
[inline] |
|
| VCF::AcceleratorKey::Value::Value |
( |
const uint32 & |
modifierMask, |
|
|
const VirtualKeyCode & |
keyCode |
|
) |
[inline] |
|
Member Function Documentation
| VirtualKeyCode VCF::AcceleratorKey::Value::getKeyCode |
( |
|
) |
const [inline] |
|
| uint32 VCF::AcceleratorKey::Value::getModifierMask |
( |
|
) |
const [inline] |
|
| bool VCF::AcceleratorKey::Value::hasAltKey |
( |
|
) |
const [inline] |
|
| bool VCF::AcceleratorKey::Value::hasCtrlKey |
( |
|
) |
const [inline] |
|
| bool VCF::AcceleratorKey::Value::hasShiftKey |
( |
|
) |
const [inline] |
|
| bool VCF::AcceleratorKey::Value::isEmpty |
( |
|
) |
const [inline] |
|
| VCF::AcceleratorKey::Value::operator uint32 |
( |
|
) |
const [inline] |
|
| bool VCF::AcceleratorKey::Value::operator!= |
( |
const Value & |
rhs |
) |
const [inline] |
|
| Value& VCF::AcceleratorKey::Value::operator= |
( |
const uint32 & |
val |
) |
[inline] |
|
| bool VCF::AcceleratorKey::Value::operator== |
( |
const Value & |
rhs |
) |
const [inline] |
|
| void VCF::AcceleratorKey::Value::setKeyCode |
( |
const VirtualKeyCode & |
keyCode |
) |
[inline] |
|
| void VCF::AcceleratorKey::Value::setModifierMask |
( |
const uint32 & |
modifierMask |
) |
[inline] |
|
Member Data Documentation
The documentation for this class was generated from the following file: