diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-19 21:23:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-19 21:23:26 +0300 |
commit | f64447a7c8a3ba855923e3d9a1c2e9c62e6bdba4 (patch) | |
tree | e6b2678f3e4b1f4456843246a15bf8654e89e41d /src/gui/setupitem.h | |
parent | bf38c1a0d27aff70646022fb2a898532c1f95001 (diff) | |
download | mv-f64447a7c8a3ba855923e3d9a1c2e9c62e6bdba4.tar.gz mv-f64447a7c8a3ba855923e3d9a1c2e9c62e6bdba4.tar.bz2 mv-f64447a7c8a3ba855923e3d9a1c2e9c62e6bdba4.tar.xz mv-f64447a7c8a3ba855923e3d9a1c2e9c62e6bdba4.zip |
Fix reading default config values in setupitem class.
Diffstat (limited to 'src/gui/setupitem.h')
-rw-r--r-- | src/gui/setupitem.h | 9 |
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 |