From a6bceed80f1b4315f23656efeceb6fe02cc7641c Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 26 Oct 2008 18:05:30 +0000 Subject: minor ui function cleanup --- src/ui/ui.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/ui/ui.cc') 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"); -- cgit v1.2.3