From e93b9bbc02e2791f3a35b6f077fcbb8514c28aed Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Sun, 12 Jan 2025 01:14:58 +1300 Subject: Refactored draw/handle methods in Widgets hierarchy, improved docs, added a few minor method bindings here and there --- src/fltk-widgets-menus-menu_buttons.ads | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/fltk-widgets-menus-menu_buttons.ads') diff --git a/src/fltk-widgets-menus-menu_buttons.ads b/src/fltk-widgets-menus-menu_buttons.ads index e71310f..4ba09a3 100644 --- a/src/fltk-widgets-menus-menu_buttons.ads +++ b/src/fltk-widgets-menus-menu_buttons.ads @@ -17,7 +17,7 @@ package FLTK.Widgets.Menus.Menu_Buttons is type Menu_Button_Reference (Data : access Menu_Button'Class) is limited null record with Implicit_Dereference => Data; - -- signifies which mouse buttons cause the menu to appear + -- Signifies which mouse buttons cause the menu to appear type Popup_Buttons is (No_Popup, Popup1, Popup2, Popup12, Popup3, Popup13, Popup23, Popup123); @@ -60,6 +60,9 @@ private type Menu_Button is new Menu with null record; + overriding procedure Initialize + (This : in out Menu_Button); + overriding procedure Finalize (This : in out Menu_Button); @@ -83,3 +86,4 @@ private end FLTK.Widgets.Menus.Menu_Buttons; + -- cgit