diff options
| author | Matthias Melcher <github@matthiasm.com> | 2025-04-15 15:28:31 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2025-04-15 15:28:37 +0200 |
| commit | 219c623b4b822e1a6ccc524a184c49ad838c6647 (patch) | |
| tree | 94450d7230b774e2542b0ad555eeb7106286a9c3 /fluid/Fluid.h | |
| parent | fc91880faf7968432710e439e77ef067759d16fc (diff) | |
Fluid: hiding MergeBack form the main menu.
Hiding menuitem if option is not available.
Also testing the new FL_BEFORE_MENU event.
Diffstat (limited to 'fluid/Fluid.h')
| -rw-r--r-- | fluid/Fluid.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fluid/Fluid.h b/fluid/Fluid.h index 1857518ee..e533e6b68 100644 --- a/fluid/Fluid.h +++ b/fluid/Fluid.h @@ -50,6 +50,9 @@ namespace fld { namespace app { class Layout_List; } +namespace widget { +class App_Menu_Bar; +} /** Indicate the storage location for tools like layout suites and shell macros. @@ -117,7 +120,7 @@ public: // Member Variables // TODO: make this into a class: app::GUI Fl_Window *main_window { nullptr }; static Fl_Menu_Item main_menu[]; - Fl_Menu_Bar *main_menubar { nullptr }; + fld::widget::App_Menu_Bar *main_menubar { nullptr }; Fl_Menu_Item *save_item { nullptr }; Fl_Menu_Item *history_item { nullptr }; Fl_Menu_Item *widgetbin_item { nullptr }; |
