diff options
Diffstat (limited to 'src/gui/inttextfield.h')
-rw-r--r-- | src/gui/inttextfield.h | 5 |
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); |