diff options
author | Stijn Buys <ingar@osirion.org> | 2008-10-26 18:05:30 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-10-26 18:05:30 +0000 |
commit | a6bceed80f1b4315f23656efeceb6fe02cc7641c (patch) | |
tree | 3b014979ad903e2f1e3667ba9d8cc5ce5898a81f /src/ui | |
parent | 501d5b6f288c21a78f97966b0b9004b33336365d (diff) |
minor ui function cleanup
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/ui.cc | 8 |
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"); |