diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-11-14 12:07:00 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-11-14 12:07:00 +1100 |
commit | b34ef4af65403999f7e4e9c152f39cbe3744c7b5 (patch) | |
tree | d013e6f9138bd15018fd40d81e8831b60606680c /fltk-widgets-menus-menu_buttons.ads | |
parent | 4b2b1c8d6e85760bc2d5f65f52a122a2ea1e542d (diff) |
Added Menu_Buttons to FLTK binding, added rightclick menu to Editor
Diffstat (limited to 'fltk-widgets-menus-menu_buttons.ads')
-rw-r--r-- | fltk-widgets-menus-menu_buttons.ads | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/fltk-widgets-menus-menu_buttons.ads b/fltk-widgets-menus-menu_buttons.ads new file mode 100644 index 0000000..5527abc --- /dev/null +++ b/fltk-widgets-menus-menu_buttons.ads @@ -0,0 +1,35 @@ + + +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); + + +private + + + type Menu_Button is new Menu with null record; + + + overriding procedure Finalize + (This : in out Menu_Button); + + +end FLTK.Widgets.Menus.Menu_Buttons; + |