From ab25b51036a810c326b51a230700971c0f431f74 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Tue, 19 Jul 2016 22:40:37 +1000 Subject: Starting to sketch the outline of menu widgets and callbacks --- fltk-widgets-menus-menu_bars.ads | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 fltk-widgets-menus-menu_bars.ads (limited to 'fltk-widgets-menus-menu_bars.ads') diff --git a/fltk-widgets-menus-menu_bars.ads b/fltk-widgets-menus-menu_bars.ads new file mode 100644 index 0000000..0f975b3 --- /dev/null +++ b/fltk-widgets-menus-menu_bars.ads @@ -0,0 +1,26 @@ + + +package FLTK.Widgets.Menus.Menu_Bars is + + + type Menu_Bar is new Menu with private; + + + function Create + (X, Y, W, H : in Integer; + Text : in String) + return Menu_Bar; + + +private + + + type Menu_Bar is new Menu with null record; + + + overriding procedure Finalize + (This : in out Menu_Bar); + + +end FLTK.Widgets.Menus.Menu_Bars; + -- cgit