Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2019-04-30 14:51:36 +0300
committerYuSanka <yusanka@gmail.com>2019-04-30 14:52:05 +0300
commit646986348a2534be397f3e496a5227727672694a (patch)
treefdb29d8b236ff6d3435cab0332ed4a5073c8243e /src/slic3r/GUI/MainFrame.hpp
parent52c28578d66050f86599688a7957afb0f3568e43 (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.hpp11
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; }