diff options
| author | Matthias Melcher <git@matthiasm.com> | 2019-01-14 01:14:40 +0100 |
|---|---|---|
| committer | Matthias Melcher <git@matthiasm.com> | 2019-01-14 01:14:40 +0100 |
| commit | 6a61772c80dee13b4ff120b4b3e53259eae52a78 (patch) | |
| tree | 9f571468495c218982d2bebc9130165a462e503b /fluid/factory.cxx | |
| parent | b71601fe7c959eb4a68967b1ff2bcf52c67b4d77 (diff) | |
STR 3460: Fluid menu item types
Added pulldown menus to create radio style and checkbox style
menu items without going through the Class menu.
Diffstat (limited to 'fluid/factory.cxx')
| -rw-r--r-- | fluid/factory.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fluid/factory.cxx b/fluid/factory.cxx index 2ce3065cc..92395ac20 100644 --- a/fluid/factory.cxx +++ b/fluid/factory.cxx @@ -926,6 +926,8 @@ extern class Fl_Choice_Type Fl_Choice_type; extern class Fl_Menu_Bar_Type Fl_Menu_Bar_type; extern class Fl_Menu_Button_Type Fl_Menu_Button_type; extern class Fl_Menu_Item_Type Fl_Menu_Item_type; +extern class Fl_Checkbox_Menu_Item_Type Fl_Checkbox_Menu_Item_type; +extern class Fl_Radio_Menu_Item_Type Fl_Radio_Menu_Item_type; extern class Fl_Submenu_Type Fl_Submenu_type; extern class Fl_Wizard_Type Fl_Wizard_type; @@ -1029,6 +1031,8 @@ Fl_Menu_Item New_Menu[] = { {0,0,cb,(void*)&Fl_Input_Choice_type}, {0,0,cb, (void*)&Fl_Submenu_type}, {0,0,cb, (void*)&Fl_Menu_Item_type}, + {"Checkbox Menu Item",0,cb, (void*)&Fl_Checkbox_Menu_Item_type}, + {"Radio Menu Item",0,cb, (void*)&Fl_Radio_Menu_Item_type}, {0}, {"Browsers",0,0,0,FL_SUBMENU}, {0,0,cb,(void*)&Fl_Browser_type}, |
