mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
Added menu command Configuration/Language to standalone gcode viewer
This commit is contained in:
parent
f16ef0643c
commit
21366f56e7
6 changed files with 53 additions and 25 deletions
|
@ -106,9 +106,12 @@ private:
|
|||
#endif // ENABLE_GCODE_VIEWER
|
||||
|
||||
bool m_initialized { false };
|
||||
bool app_conf_exists{ false };
|
||||
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;
|
||||
|
@ -184,6 +187,9 @@ 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