summaryrefslogtreecommitdiff
path: root/src/windows-editor.adb
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2017-05-22 20:58:53 +1000
committerJed Barber <jjbarber@y7mail.com>2017-05-22 20:58:53 +1000
commite5f4cdd01d2a4b3673d543cba7539d691244af3a (patch)
treedf35c99bb26fb5672b19592793e7342c605f8119 /src/windows-editor.adb
parent09f7dae9a2268107eec28a68939bb27b4a219cc7 (diff)
Updated to work with updated FLTK Ada binding
Diffstat (limited to 'src/windows-editor.adb')
-rw-r--r--src/windows-editor.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/windows-editor.adb b/src/windows-editor.adb
index e6d98bf..81e5633 100644
--- a/src/windows-editor.adb
+++ b/src/windows-editor.adb
@@ -1,6 +1,5 @@
-with FLTK.Enums; use FLTK.Enums;
with FLTK.Widgets.Groups.Windows.Double;
with FLTK.Widgets.Groups.Text_Displays.Text_Editors;
with FLTK.Widgets.Menus.Menu_Bars;
@@ -25,6 +24,8 @@ package body Windows.Editor is
Label_Text : in String)
return Editor_Window
is
+ use FLTK;
+
Width : Integer := Min_Editor_Width;
Height : Integer := Min_Editor_Height;
Menu_Height : Integer := 22;