summaryrefslogtreecommitdiff
path: root/src/gui/setupitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setupitem.h')
-rw-r--r--src/gui/setupitem.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/setupitem.h b/src/gui/setupitem.h
index b5ea566da..686f8a2a7 100644
--- a/src/gui/setupitem.h
+++ b/src/gui/setupitem.h
@@ -51,6 +51,13 @@ class TextField;
class SetupItem : public gcn::ActionListener
{
public:
+ enum
+ {
+ VBOOL,
+ VSTR,
+ VINT
+ };
+
SetupItem(std::string text, std::string description,
std::string keyName, SetupTabScroll *parent,
std::string eventName, bool mainConfig);
@@ -115,6 +122,8 @@ class SetupItem : public gcn::ActionListener
gcn::Widget *mWidget;
std::list<gcn::Widget*> mTempWidgets;
+
+ int mValueType;
};
class SetupItemCheckBox : public SetupItem