summaryrefslogtreecommitdiff
path: root/src/gui/inttextfield.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/inttextfield.h')
-rw-r--r--src/gui/inttextfield.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/inttextfield.h b/src/gui/inttextfield.h
index 4dfef8e1..2a913ef6 100644
--- a/src/gui/inttextfield.h
+++ b/src/gui/inttextfield.h
@@ -24,6 +24,8 @@
#include "textfield.h"
+#include "../guichanfwd.h"
+
/**
* TextBox which only accepts numbers as input.
*/
@@ -58,8 +60,7 @@ class IntTextField : public TextField
/**
* Responds to key presses.
*/
- void
- keyPressed(gcn::KeyEvent &event);
+ void keyPressed(gcn::KeyEvent &event);
private:
int mMin; /**< Minimum value */