diff options
Diffstat (limited to 'src/gui/npcintegerdialog.h')
-rw-r--r-- | src/gui/npcintegerdialog.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/npcintegerdialog.h b/src/gui/npcintegerdialog.h index a8ffcf0f..7c064ca6 100644 --- a/src/gui/npcintegerdialog.h +++ b/src/gui/npcintegerdialog.h @@ -62,6 +62,13 @@ class NpcIntegerDialog : public Window, public gcn::ActionListener void setRange(const int min, const int max); /** + * Sets the default value. + * + * @param value The new default value + */ + void setDefaultValue(const int value); + + /** * Checks whether NpcStringDialog is Focused or not. */ bool isInputFocused(); |