summaryrefslogtreecommitdiff
path: root/plugingui/guievent.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-10-26 19:48:30 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-10-26 19:48:30 +0100
commit88ad7366a3eb6bc73bc99078ae13302099b76f09 (patch)
tree64a5f5b3a4b5c187d25e21e21bf2808f12367820 /plugingui/guievent.h
parentb84e5f74e5513e4cd14fe62b03777be8ee9c2537 (diff)
Refactored LineEdit and FileBrowser. Renamed all KEY_XYZ event types to KeyXyz.
Diffstat (limited to 'plugingui/guievent.h')
-rw-r--r--plugingui/guievent.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/plugingui/guievent.h b/plugingui/guievent.h
index 221e056..e92f2e2 100644
--- a/plugingui/guievent.h
+++ b/plugingui/guievent.h
@@ -119,19 +119,19 @@ public:
std::string text;
enum {
- KEY_UNKNOWN =-1,
- KEY_LEFT = 1,
- KEY_RIGHT = 2,
- KEY_UP = 3,
- KEY_DOWN = 4,
- KEY_DELETE = 5,
- KEY_BACKSPACE = 6,
- KEY_HOME = 7,
- KEY_END = 8,
- KEY_PGDOWN = 9,
- KEY_PGUP = 10,
- KEY_ENTER = 11,
- KEY_CHARACTER = 0xffff // character data is stored in 'text'
+ KeyUnknown = -1,
+ KeyLeft = 1,
+ KeyRight = 2,
+ KeyUp = 3,
+ KeyDown = 4,
+ KeyDelete = 5,
+ KeyBackspace = 6,
+ KeyHome = 7,
+ KeyEnd = 8,
+ KeyPageDown = 9,
+ KeyPageUp = 10,
+ KeyEnter = 11,
+ KeyCharacter = 0xffff // character data is stored in 'text'
};
};