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__ */