diff options
author | Stijn Buys <ingar@osirion.org> | 2009-06-07 18:13:15 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-06-07 18:13:15 +0000 |
commit | f33257521bf80dcef8575c4fc3ddaf4a40ff588a (patch) | |
tree | 5e3a112e814478ba3ab624e0867761654a5ea0a4 /src/ui/ui.cc | |
parent | 5b94df1df2707b36401d91d80b92d0e4cdfd2277 (diff) |
fixed a few widget order problems, changed map targetting behaviour
Diffstat (limited to 'src/ui/ui.cc')
-rw-r--r-- | src/ui/ui.cc | 6 |
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; |