diff options
author | Stijn Buys <ingar@osirion.org> | 2008-11-09 11:43:28 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-11-09 11:43:28 +0000 |
commit | 9d39702824e8fae5127e09fb5a05b521b48cd028 (patch) | |
tree | a56fdfc6e85a2405461be22bc80e43b33c8b8b48 /src/ui/ui.h | |
parent | 6cd1a38f1d3a0a45846d63a75475400372af1277 (diff) |
docking menus
Diffstat (limited to 'src/ui/ui.h')
-rw-r--r-- | src/ui/ui.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ui/ui.h b/src/ui/ui.h index f41df24..ae42ad6 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -37,6 +37,9 @@ public: /// make a window the active window void show_menu(const char *label); + /// make the entity view menu the active window + void show_menuview(const std::string &label); + /// hide the active window void hide_menu(); @@ -89,6 +92,11 @@ public: static bool ui_debug; + + + static float elementmargin; + static math::Vector2f elementsize; + protected: typedef std::list<Window *> Menus; |