From 29a95cbf34e89274d8556e6f5b9f0e8b447e94c7 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sat, 28 May 2016 14:53:13 +1000 Subject: Text editors, single and menu windows --- .../fltk-widgets-groups-windows-single-menu.ads | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 src/fltk_binding/fltk-widgets-groups-windows-single-menu.ads (limited to 'src/fltk_binding/fltk-widgets-groups-windows-single-menu.ads') 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; + -- cgit