Enumerations | |
| enum | state { none = 0, ctrl = 1, alt = 2, shift = 4 } |
Functions | |
| state | operator| (state const &s1, state const &s2) |
| void | operator|= (state &s1, state s2) |
|
|
Definition at line 18 of file key_state.h.
|
|
||||||||||||
|
Definition at line 26 of file key_state.h.
00027 {
00028 int const i1(static_cast<int>(s1));
00029 int const i2(static_cast<int>(s2));
00030 return static_cast<state>(i1 | i2);
00031 }
|
|
||||||||||||
|
Definition at line 34 of file key_state.h.
00035 {
00036 s1 = static_cast<state>(s1 | s2);
00037 }
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002