Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/client.cc')
-rw-r--r--src/client/client.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/client.cc b/src/client/client.cc
index 47af682..1fa2796 100644
--- a/src/client/client.cc
+++ b/src/client/client.cc
@@ -426,6 +426,7 @@ void Client::func_ui_help()
con_print << " ui help show this help" << std::endl;
con_print << " ui debug toggle debug mode" << std::endl;
con_print << " ui list list widgets" << std::endl;
+ con_print << " ui visible list visible widgets" << std::endl;
con_print << " ui restart reload user interface files" << std::endl;
}
@@ -451,6 +452,8 @@ void Client::func_ui(std::string const &args)
ui::UI::ui_debug = !ui::UI::ui_debug;
} else if (command.compare("list") == 0) {
ui::root()->list();
+ } else if (command.compare("visible") == 0) {
+ ui::root()->list_visible();
} else if (command.compare("restart") == 0) {
ui::root()->load_menus();
ui::root()->load_settings();