mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
Fix the enum definition.
This commit is contained in:
parent
cbfa6d2f74
commit
bbc9901cce
|
@ -11,7 +11,7 @@ class KeyboardState
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
enum
|
enum Modifier
|
||||||
{
|
{
|
||||||
Alt = 1,
|
Alt = 1,
|
||||||
Ctrl = 2,
|
Ctrl = 2,
|
||||||
|
@ -23,7 +23,7 @@ public:
|
||||||
RightCtrl = 128,
|
RightCtrl = 128,
|
||||||
LeftShift = 256,
|
LeftShift = 256,
|
||||||
RightShift = 512
|
RightShift = 512
|
||||||
} Modifier;
|
};
|
||||||
|
|
||||||
/// Returns true if all Modifiers present within the given mask are pressed
|
/// Returns true if all Modifiers present within the given mask are pressed
|
||||||
/// right now.
|
/// right now.
|
||||||
|
|
Loading…
Reference in a new issue