diff options
Diffstat (limited to 'client/gui/gui.h')
-rw-r--r-- | client/gui/gui.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/gui/gui.h b/client/gui/gui.h index d51a8c85..3b76b688 100644 --- a/client/gui/gui.h +++ b/client/gui/gui.h @@ -22,7 +22,9 @@ public: void set_screen(RedScreen* screen); //show and hide Application& get_application() { return _app;} +#ifdef USE_GUI CEGUI::System& gui_system() { return *_gui_system;} +#endif // USE_GUI void set_state(Application::State state); bool is_visible() { return !!_dialog;} @@ -87,8 +89,10 @@ private: Application& _app; Application::State _state; RedPixmapSw* _pixmap; +#ifdef USE_GUI CEGUI::SoftRenderer* _renderer; CEGUI::System* _gui_system; +#endif // USE_GUI Dialog* _dialog; uint64_t _prev_time; TabFactorys _tab_factorys; @@ -100,7 +104,9 @@ class GUI::Tab { public: virtual ~Tab() {} +#ifdef USE_GUI virtual CEGUI::Window& get_root_window() = 0; +#endif // USE_GUI virtual const std::string& get_name() = 0; }; |