mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Fixed menubar item's name in respect to printer_technology
This commit is contained in:
parent
52c28578d6
commit
646986348a
3 changed files with 31 additions and 2 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue