|
cgv
|
the shortcut class encapsulates a key with modifiers More...
#include <shortcut.h>
Public Member Functions | |
| void | stream_out (std::ostream &os) const |
| write to stream | |
| bool | stream_in (std::istream &is) |
| read from stream | |
| unsigned short | get_key () const |
| return the key | |
| unsigned char | get_modifiers () const |
| return the modifier set | |
| void | set_key (unsigned short _key) |
| set the key | |
| void | set_modifiers (unsigned char _modifiers) |
| set the modifier set | |
| void | validate () |
| ensure that in case of modifier key presses the modifier is not set as such | |
the shortcut class encapsulates a key with modifiers