From b4f133036a82c011356656700ab95375093de83c Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sat, 19 Dec 2009 19:17:25 +0000 Subject: [PATCH] Is it active? --- main_menu.cpp | 2 ++ virtual_keyboard.hh | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/main_menu.cpp b/main_menu.cpp index c99e573..d6b5a4f 100644 --- a/main_menu.cpp +++ b/main_menu.cpp @@ -71,6 +71,8 @@ public: Gui::gui->pushView(Gui::gui->dv); } break; + case 2: + break; case 11: this->dialogue = new ExitDialogue(this->font); diff --git a/virtual_keyboard.hh b/virtual_keyboard.hh index ede0456..7ad7421 100644 --- a/virtual_keyboard.hh +++ b/virtual_keyboard.hh @@ -60,6 +60,11 @@ public: this->is_active = false; } + bool isActive() + { + return this->is_active; + } + void runLogic(); void draw(SDL_Surface *where, int x, int y, int w, int h); @@ -83,4 +88,5 @@ private: unsigned buf_head; }; + #endif /* __VIRTUAL_KEYBORD_HH__ */