Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-06-07 18:13:15 +0000
committerStijn Buys <ingar@osirion.org>2009-06-07 18:13:15 +0000
commitf33257521bf80dcef8575c4fc3ddaf4a40ff588a (patch)
tree5e3a112e814478ba3ab624e0867761654a5ea0a4 /src/ui/ui.cc
parent5b94df1df2707b36401d91d80b92d0e4cdfd2277 (diff)
fixed a few widget order problems, changed map targetting behaviour
Diffstat (limited to 'src/ui/ui.cc')
-rw-r--r--src/ui/ui.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/ui.cc b/src/ui/ui.cc
index b7d1155..b60a65e 100644
--- a/src/ui/ui.cc
+++ b/src/ui/ui.cc
@@ -375,6 +375,12 @@ void UI::list() const
con_print << n << " user interface widgets" << std::endl;
}
+void UI::list_visible() const
+{
+ size_t n = Widget::list(0, true);
+ con_print << n << " visible user interface widgets" << std::endl;
+}
+
UI::Menus::iterator UI::find_menu(Window *menu)
{
Menus::iterator it;