diff options
author | Jed Barber <jjbarber@y7mail.com> | 2017-06-17 11:28:39 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2017-06-17 11:28:39 +1000 |
commit | fb37523537cdb69a31dede401a604981ce8b7b9d (patch) | |
tree | 9d8f8dc3a00ce27b69aa4b7d7696b49d659fcbe1 /src/fltk-widgets-menus-menu_buttons.ads | |
parent | 33c3691b571ce4b6a2aa6997b70c3bc5d991ca9d (diff) |
Updated coding style, added progress log
Diffstat (limited to 'src/fltk-widgets-menus-menu_buttons.ads')
-rw-r--r-- | src/fltk-widgets-menus-menu_buttons.ads | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/fltk-widgets-menus-menu_buttons.ads b/src/fltk-widgets-menus-menu_buttons.ads index 174019a..47b1e1c 100644 --- a/src/fltk-widgets-menus-menu_buttons.ads +++ b/src/fltk-widgets-menus-menu_buttons.ads @@ -5,26 +5,30 @@ package FLTK.Widgets.Menus.Menu_Buttons is type Menu_Button is new Menu with private; - -- signifies which mouse buttons cause the menu to appear type Popup_Buttons is (No_Popup, Popup1, Popup2, Popup12, Popup3, Popup13, Popup23, Popup123); + + function Create (X, Y, W, H : in Integer; Text : in String) return Menu_Button; + + procedure Set_Popup_Kind (This : in out Menu_Button; Pop : in Popup_Buttons); + + procedure Draw (This : in out Menu_Button); - function Handle (This : in out Menu_Button; Event : in Event_Kind) @@ -36,7 +40,6 @@ private type Menu_Button is new Menu with null record; - overriding procedure Finalize (This : in out Menu_Button); |