diff options
Diffstat (limited to 'src/gui/npcintegerdialog.h')
-rw-r--r-- | src/gui/npcintegerdialog.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/gui/npcintegerdialog.h b/src/gui/npcintegerdialog.h index 858bce5b..7c064ca6 100644 --- a/src/gui/npcintegerdialog.h +++ b/src/gui/npcintegerdialog.h @@ -1,9 +1,8 @@ /* - * Aethyra + * The Mana World * Copyright (C) 2004 The Mana World Development Team * - * This file is part of Aethyra based on original code - * from The Mana World. + * This file is part of The Mana World. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -63,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(); @@ -76,9 +82,6 @@ class NpcIntegerDialog : public Window, public gcn::ActionListener gcn::Button *mDecButton; gcn::Button *mIncButton; IntTextField *mValueField; - gcn::Button *okButton; - gcn::Button *cancelButton; - gcn::Button *resetButton; }; #endif // GUI_NPCINTEGERDIALOG_H |