From b2ee6c2da10288415e597d254a7694f7ddccbc78 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Wed, 29 Dec 2004 12:58:00 +0000 Subject: Subclassed AllegroInput to intercept shortcuts. --- src/gui/gui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/gui.cpp') diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index e8217cf8..a64ff457 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -27,6 +27,7 @@ #include #include "../log.h" #include "../sound/sound.h" +#include "allegroinput.h" #ifndef WIN32 #define __cdecl __attribute__((cdecl)) @@ -77,7 +78,7 @@ void init_gui(BITMAP *bitmap, const char *skin) { guiGraphics = new gcn::AllegroGraphics(); guiGraphics->setTarget(bitmap); - guiInput = new gcn::AllegroInput(); + guiInput = new AllegroInput(); guiTop = new gcn::Container(); guiTop->setDimension(gcn::Rectangle(0, 0, SCREEN_W, SCREEN_H)); -- cgit v1.2.3-70-g09d2