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, 5 insertions, 0 deletions
diff --git a/src/gui/inttextfield.h b/src/gui/inttextfield.h
index add78084..ec768bea 100644
--- a/src/gui/inttextfield.h
+++ b/src/gui/inttextfield.h
@@ -56,6 +56,11 @@ class IntTextField : public TextField
void setValue(int value);
/**
+ * Set the default value of the text box to the specified value.
+ */
+ void setDefaultValue(int value);
+
+ /**
* Responds to key presses.
*/
void keyPressed(gcn::KeyEvent &event);