From e1b66a9d88b43cee01ad15226c14fa6880fcbd04 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Mon, 16 Feb 2009 18:52:24 +0000 Subject: Allow default value for IntTextField to be changed Also check value and default value when range is changed --- src/gui/inttextfield.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui/inttextfield.h') 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 @@ -55,6 +55,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. */ -- cgit v1.2.3-70-g09d2