Set message on reset

This commit is contained in:
simon.kagstrom 2010-01-16 09:09:44 +00:00
parent 0996768ec9
commit 117d652737

View File

@ -1,5 +1,6 @@
#include "menu.hh" #include "menu.hh"
#include "dialogue_box.hh" #include "dialogue_box.hh"
#include "status_bar.hh"
class KeyboardTypingListener : public KeyboardListener class KeyboardTypingListener : public KeyboardListener
{ {
@ -77,7 +78,8 @@ public:
} }
break; break;
case 9: /* Reset the C64 */ case 9: /* Reset the C64 */
printf("Resetting the C64\n"); Gui::gui->status_bar->queueMessage("Resetting the C64");
Gui::gui->popView();
break; break;
case 10: /* Networking */ case 10: /* Networking */
Gui::gui->pushView(Gui::gui->nv); Gui::gui->pushView(Gui::gui->nv);