diff options
author | Stijn Buys <ingar@osirion.org> | 2008-10-19 13:45:07 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-10-19 13:45:07 +0000 |
commit | 56cdfd3822d2800abdd2f912ab7f76a5764793a7 (patch) | |
tree | 2656c7ef694117e0554ae4a47bb09629c78ed8af /src/ui/ui.h | |
parent | e6f1fad441a7737549f463ebac1c9de062b5173d (diff) |
scrollpane widget, updated chatbox
Diffstat (limited to 'src/ui/ui.h')
-rw-r--r-- | src/ui/ui.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ui/ui.h b/src/ui/ui.h index 24f9793..97577c6 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -83,6 +83,8 @@ public: /// set mouse pointer bitmap void set_pointer(const char *pointerbitmap=0, const Palette::Color color = Palette::Highlight,const bool animated = false); + static bool ui_debug; + protected: typedef std::list<Window *> Menus; @@ -98,7 +100,7 @@ protected: /// handle key release events virtual bool on_keyrelease(const int key, const unsigned int modifier); - + private: void draw_pointer(); @@ -128,6 +130,9 @@ void shutdown(); /// the global root window UI *root(); +/// debug mode +inline bool debug() { return UI::ui_debug; } + } #endif // __INCLUDED_UI_H__ |