|
Laxkit
0.0.7.1
|
Public Member Functions | |
| ShortcutDef (unsigned int key, unsigned int state, int a, int m=-1) | |
| virtual int | match (unsigned int key, unsigned int state) |
| Return 0 for no match, or 1 or more for level the key and state matches. | |
Public Attributes | |
| KeyInfo * | keys |
| int | mode |
| int | action |
If key!=0, then define a single key shortcut.
Return 0 for no match, or 1 or more for level the key and state matches.
If keys is a sequence, scan down the sequence. 1 is first key in sequence, 2 is second, etc.
References Laxkit::KeyInfo::state.
Referenced by Laxkit::ShortcutHandler::FindShortcutIndex().