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>2008-10-26 18:05:30 +0000
committerStijn Buys <ingar@osirion.org>2008-10-26 18:05:30 +0000
commita6bceed80f1b4315f23656efeceb6fe02cc7641c (patch)
tree3b014979ad903e2f1e3667ba9d8cc5ce5898a81f /src/ui/ui.cc
parent501d5b6f288c21a78f97966b0b9004b33336365d (diff)
minor ui function cleanup
Diffstat (limited to 'src/ui/ui.cc')
-rw-r--r--src/ui/ui.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ui/ui.cc b/src/ui/ui.cc
index c5fdfac..b403c3e 100644
--- a/src/ui/ui.cc
+++ b/src/ui/ui.cc
@@ -62,8 +62,6 @@ void 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 show show user interface" << std::endl;
- con_print << " ui hide hide user interface" << std::endl;
con_print << " ui restart reload user interface files" << std::endl;
}
@@ -89,10 +87,6 @@ void func_ui(std::string const &args)
UI::ui_debug = !UI::ui_debug;
} else if (command.compare("list") == 0) {
global_ui->list();
- } else if (command.compare("show") == 0) {
- global_ui->show();
- } else if (command.compare("hide") == 0) {
- global_ui->hide();
} else if (command.compare("restart") == 0) {
global_ui->load();
} else {
@@ -176,7 +170,7 @@ void init()
func->set_info("[command] user interface functions");
func = core::Func::add("ui_restart", func_ui_restart);
- func->set_info("[command] [options] reload user interface files");
+ func->set_info("reload user interface files");
func = core::Func::add("ui_console", func_ui_console);
func->set_info("toggle console on or off");