diff options
author | YuSanka <yusanka@gmail.com> | 2019-04-30 14:51:36 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2019-04-30 14:52:05 +0300 |
commit | 646986348a2534be397f3e496a5227727672694a (patch) | |
tree | fdb29d8b236ff6d3435cab0332ed4a5073c8243e /src/slic3r/GUI/MainFrame.hpp | |
parent | 52c28578d66050f86599688a7957afb0f3568e43 (diff) |
Fixed menubar item's name in respect to printer_technology
Diffstat (limited to 'src/slic3r/GUI/MainFrame.hpp')
-rw-r--r-- | src/slic3r/GUI/MainFrame.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/slic3r/GUI/MainFrame.hpp b/src/slic3r/GUI/MainFrame.hpp index a8b2be2bc..13bf07922 100644 --- a/src/slic3r/GUI/MainFrame.hpp +++ b/src/slic3r/GUI/MainFrame.hpp @@ -70,6 +70,16 @@ class MainFrame : public DPIFrame bool can_delete() const; bool can_delete_all() const; + // MenuBar items changeable in respect to printer technology + enum MenuItems + { // FFF SLA + miExport = 0, // Export G-code Export + miMaterialTab, // Filament Settings Material Settings + }; + + // vector of a MenuBar items changeable in respect to printer technology + std::vector<wxMenuItem*> m_changeable_menu_items; + protected: virtual void on_dpi_changed(const wxRect &suggested_rect); @@ -83,6 +93,7 @@ public: void create_preset_tabs(); void add_created_tab(Tab* panel); void init_menubar(); + void update_menubar(); void update_ui_from_settings(); bool is_loaded() const { return m_loaded; } |