diff options
author | nyamatongwe <devnull@localhost> | 2000-07-21 13:36:30 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-07-21 13:36:30 +0000 |
commit | c44214dd05ae2d4f91678353ecb9cd5a88921649 (patch) | |
tree | 0b021201d15fe67ec159dd2877995ef6b5019927 /src/KeyMap.h | |
parent | 110c23982d9c0d78bc3bd25dc7210b184d658c65 (diff) | |
download | scintilla-mirror-c44214dd05ae2d4f91678353ecb9cd5a88921649.tar.gz |
Provide alternative symbols for all features defined in WinDefs.h to allow
for eventual removal of WinDefs.h.
Diffstat (limited to 'src/KeyMap.h')
-rw-r--r-- | src/KeyMap.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/KeyMap.h b/src/KeyMap.h index bc435e197..c84310417 100644 --- a/src/KeyMap.h +++ b/src/KeyMap.h @@ -7,9 +7,9 @@ #define KEYTOCOMMAND_H #define SCI_NORM 0 -#define SCI_SHIFT SHIFT_PRESSED -#define SCI_CTRL LEFT_CTRL_PRESSED -#define SCI_ALT LEFT_ALT_PRESSED +#define SCI_SHIFT SCMOD_SHIFT +#define SCI_CTRL SCMOD_CTRL +#define SCI_ALT SCMOD_ALT #define SCI_CSHIFT (SCI_CTRL | SCI_SHIFT) #define SCI_ASHIFT (SCI_ALT | SCI_SHIFT) @@ -17,7 +17,7 @@ class KeyToCommand { public: int key; int modifiers; - UINT msg; + unsigned int msg; }; class KeyMap { @@ -29,8 +29,8 @@ public: KeyMap(); ~KeyMap(); void Clear(); - void AssignCmdKey(int key, int modifiers, UINT msg); - UINT Find(int key, int modifiers); // 0 returned on failure + void AssignCmdKey(int key, int modifiers, unsigned int msg); + unsigned int Find(int key, int modifiers); // 0 returned on failure }; #endif |