aboutsummaryrefslogtreecommitdiff
path: root/src/keys.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-01-06 06:12:23 +0000
committercorvid <corvid@lavabit.com>2011-01-06 06:12:23 +0000
commitd5fc09282877f18ebccde82048f165840b8fa6c1 (patch)
treed5d9e7dd06da57b4fe3050f7d441497c8eea4548 /src/keys.cc
parent14291040084927ff783a115df31895192cac4e65 (diff)
keys
Diffstat (limited to 'src/keys.cc')
-rw-r--r--src/keys.cc26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/keys.cc b/src/keys.cc
index 2343ccbb..d71c74bf 100644
--- a/src/keys.cc
+++ b/src/keys.cc
@@ -9,7 +9,7 @@
* (at your option) any later version.
*/
-#include <fltk/events.h>
+#include <FL/Fl.H>
#include <stdio.h>
#include <stdlib.h> /* strtol */
#include <string.h>
@@ -43,18 +43,18 @@ static const Mapping_t keyNames[] = {
{ "Down", FL_Down },
{ "End", FL_End },
{ "Esc", FL_Escape },
- { "F1", FL_F1 },
- { "F2", FL_F2 },
- { "F3", FL_F3 },
- { "F4", FL_F4 },
- { "F5", FL_F5 },
- { "F6", FL_F6 },
- { "F7", FL_F7 },
- { "F8", FL_F8 },
- { "F9", FL_F9 },
- { "F10", FL_F10 },
- { "F11", FL_F11 },
- { "F12", FL_F12 },
+ { "F1", FL_F + 1 },
+ { "F2", FL_F + 2 },
+ { "F3", FL_F + 3 },
+ { "F4", FL_F + 4 },
+ { "F5", FL_F + 5 },
+ { "F6", FL_F + 6 },
+ { "F7", FL_F + 7 },
+ { "F8", FL_F + 8 },
+ { "F9", FL_F + 9 },
+ { "F10", FL_F + 10 },
+ { "F11", FL_F + 11 },
+ { "F12", FL_F + 12 },
{ "Home", FL_Home },
{ "Insert", FL_Insert },
{ "Left", FL_Left },