Revert "medical"

This reverts commit 117302ba22.
This commit is contained in:
Vojtech Bubnik 2021-11-11 11:22:57 +01:00
parent 17686b4814
commit 3a93277531
12 changed files with 12 additions and 29 deletions

View file

@ -113,7 +113,6 @@ private:
bool m_initialized { false };
bool m_app_conf_exists{ false };
EAppMode m_app_mode{ EAppMode::Editor };
bool m_medical { false };
bool m_is_recreating_gui{ false };
#ifdef __linux__
bool m_opengl_initialized{ false };
@ -160,13 +159,12 @@ public:
bool OnInit() override;
bool initialized() const { return m_initialized; }
explicit GUI_App(EAppMode mode = EAppMode::Editor, bool medical = false);
explicit GUI_App(EAppMode mode = EAppMode::Editor);
~GUI_App() override;
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; }
bool is_medical() const { return m_medical; }
bool is_recreating_gui() const { return m_is_recreating_gui; }
std::string logo_name() const { return is_editor() ? "PrusaSlicer" : "PrusaSlicer-gcodeviewer"; }