summaryrefslogtreecommitdiff
path: root/src/fltk.ads
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2017-06-12 23:23:15 +1000
committerJed Barber <jjbarber@y7mail.com>2017-06-12 23:23:15 +1000
commit33c3691b571ce4b6a2aa6997b70c3bc5d991ca9d (patch)
tree9487bc2d093d5d4a2d504521eec3ca5cac54789c /src/fltk.ads
parent260c988ea3f73d194643df1e871a2a40949c2763 (diff)
Keybinding methods all done for Text_Editor, with modifiers disabled due to FLTK issues
Diffstat (limited to 'src/fltk.ads')
-rw-r--r--src/fltk.ads4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fltk.ads b/src/fltk.ads
index 12ed6b1..6c66352 100644
--- a/src/fltk.ads
+++ b/src/fltk.ads
@@ -46,6 +46,7 @@ package FLTK is
Left_Key : constant Shortcut_Key;
Right_Key : constant Shortcut_Key;
Up_Key : constant Shortcut_Key;
+ Escape_Key : constant Shortcut_Key;
type Modifier_Key is private;
@@ -209,7 +210,7 @@ private
Align_Right : constant Alignment := 8;
- type Modifier_Key is new Interfaces.Unsigned_8;
+ type Modifier_Key is new Interfaces.Unsigned_16;
type Shortcut_Key is
@@ -253,6 +254,7 @@ private
Left_Key : constant Shortcut_Key := (Modifier => Mod_None, Keypress => 16#ff51#);
Right_Key : constant Shortcut_Key := (Modifier => Mod_None, Keypress => 16#ff53#);
Up_Key : constant Shortcut_Key := (Modifier => Mod_None, Keypress => 16#ff52#);
+ Escape_Key : constant Shortcut_Key := (Modifier => Mod_None, Keypress => 16#ff1b#);
end FLTK;