diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-12 01:14:58 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-12 01:14:58 +1300 |
commit | e93b9bbc02e2791f3a35b6f077fcbb8514c28aed (patch) | |
tree | 3661530027db6809a9cbad7b2477416009e00787 /src/fltk-widgets-menus-menu_buttons.ads | |
parent | 53aa8144851913994b963ed611cca8885b8f9a9e (diff) |
Refactored draw/handle methods in Widgets hierarchy, improved docs, added a few minor method bindings here and there
Diffstat (limited to 'src/fltk-widgets-menus-menu_buttons.ads')
-rw-r--r-- | src/fltk-widgets-menus-menu_buttons.ads | 6 |
1 files changed, 5 insertions, 1 deletions
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; + |