mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
Tech ENABLE_GCODE_APP_CONFIG as default
This commit is contained in:
parent
a633979d85
commit
f04d9c1806
11 changed files with 76 additions and 116 deletions
|
@ -109,9 +109,7 @@ private:
|
|||
bool m_app_conf_exists{ false };
|
||||
#if ENABLE_GCODE_VIEWER
|
||||
EAppMode m_app_mode{ EAppMode::Editor };
|
||||
#if ENABLE_GCODE_APP_CONFIG
|
||||
bool m_is_recreating_gui{ false };
|
||||
#endif // ENABLE_GCODE_APP_CONFIG
|
||||
#endif // ENABLE_GCODE_VIEWER
|
||||
|
||||
wxColour m_color_label_modified;
|
||||
|
@ -190,9 +188,7 @@ public:
|
|||
EAppMode get_app_mode() const { return m_app_mode; }
|
||||
bool is_editor() const { return m_app_mode == EAppMode::Editor; }
|
||||
bool is_gcode_viewer() const { return m_app_mode == EAppMode::GCodeViewer; }
|
||||
#if ENABLE_GCODE_APP_CONFIG
|
||||
bool is_recreating_gui() const { return m_is_recreating_gui; }
|
||||
#endif // ENABLE_GCODE_APP_CONFIG
|
||||
#endif // ENABLE_GCODE_VIEWER
|
||||
|
||||
static std::string get_gl_info(bool format_as_html, bool extensions);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue