diff options
-rw-r--r-- | gui.cpp | 4 | ||||
-rw-r--r-- | gui.h | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -152,6 +152,10 @@ void ConsoleWindow::add_line(const char *line) { void ConsoleWindow::update() { MouseCursor::getSingleton().show(); +} + +void ConsoleWindow::show() { + GUI::show(); WindowManager::getSingleton().getWindow("console_editbox")->activate(); } @@ -44,6 +44,7 @@ class ConsoleWindow : public GUI { virtual ~ConsoleWindow(); virtual void update(); + virtual void show(); void add_line(const std::string& line); void add_line(const char *line); |