diff options
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.ads | 54 | 
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; +  | 
