summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-29 12:58:00 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-29 12:58:00 +0000
commitb2ee6c2da10288415e597d254a7694f7ddccbc78 (patch)
treefb16879dfde52bfd12236546d491c3121e33454c /src/gui/gui.cpp
parent4ed25b1ad7e199a00291ab8dd75d65442002e4ce (diff)
downloadmana-b2ee6c2da10288415e597d254a7694f7ddccbc78.tar.gz
mana-b2ee6c2da10288415e597d254a7694f7ddccbc78.tar.bz2
mana-b2ee6c2da10288415e597d254a7694f7ddccbc78.tar.xz
mana-b2ee6c2da10288415e597d254a7694f7ddccbc78.zip
Subclassed AllegroInput to intercept shortcuts.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp3
1 files changed, 2 insertions, 1 deletions
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 <math.h>
#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));