summaryrefslogtreecommitdiff
path: root/src/fltk_binding/fltk-widgets-groups-windows-single-menu.ads
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-05-28 14:53:13 +1000
committerJed Barber <jjbarber@y7mail.com>2016-05-28 14:53:13 +1000
commit29a95cbf34e89274d8556e6f5b9f0e8b447e94c7 (patch)
treee604f989c13d4319543c3ce757628600a1499ff0 /src/fltk_binding/fltk-widgets-groups-windows-single-menu.ads
parentb1a8b46960380dc3a771935a09c4e4a23e811c4a (diff)
Text editors, single and menu windows
Diffstat (limited to 'src/fltk_binding/fltk-widgets-groups-windows-single-menu.ads')
-rw-r--r--src/fltk_binding/fltk-widgets-groups-windows-single-menu.ads54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/fltk_binding/fltk-widgets-groups-windows-single-menu.ads b/src/fltk_binding/fltk-widgets-groups-windows-single-menu.ads
new file mode 100644
index 0000000..7e10426
--- /dev/null
+++ b/src/fltk_binding/fltk-widgets-groups-windows-single-menu.ads
@@ -0,0 +1,54 @@
+
+
+package FLTK.Widgets.Groups.Windows.Single.Menu is
+
+
+ type Menu_Window is new Single_Window with private;
+ type Menu_Window_Access is access all Menu_Window;
+
+
+ function Create
+ (X, Y, W, H : in Integer;
+ Label : in String)
+ return Menu_Window;
+
+
+ function Create
+ (W, H : in Integer)
+ return Menu_Window;
+
+
+ procedure Show
+ (M : in Menu_Window);
+
+
+ procedure Hide
+ (M : in Menu_Window);
+
+
+ procedure Flush
+ (M : in out Menu_Window);
+
+
+ function Get_Overlay
+ (M : in Menu_Window)
+ return Boolean;
+
+
+ procedure Set_Overlay
+ (M : in out Menu_Window;
+ V : in Boolean);
+
+
+private
+
+
+ type Menu_Window is new Single_Window with null record;
+
+
+ overriding procedure Finalize
+ (This : in out Menu_Window);
+
+
+end FLTK.Widgets.Groups.Windows.Single.Menu;
+