summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-28 23:21:58 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-28 23:21:58 +0300
commit4dbd8c4f4b97a9d65e407151773f65ee1f9dbae7 (patch)
treea12a54012a467b427d44ee031f606d77471a4978 /src/gui/widgets/setupitem.h
parent4672d4cbf51156d3225110aa9bf47703df68fe49 (diff)
downloadmv-4dbd8c4f4b97a9d65e407151773f65ee1f9dbae7.tar.gz
mv-4dbd8c4f4b97a9d65e407151773f65ee1f9dbae7.tar.bz2
mv-4dbd8c4f4b97a9d65e407151773f65ee1f9dbae7.tar.xz
mv-4dbd8c4f4b97a9d65e407151773f65ee1f9dbae7.zip
move bools in setupitem.
Diffstat (limited to 'src/gui/widgets/setupitem.h')
-rw-r--r--src/gui/widgets/setupitem.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/setupitem.h b/src/gui/widgets/setupitem.h
index b3c0554d3..97c6006ce 100644
--- a/src/gui/widgets/setupitem.h
+++ b/src/gui/widgets/setupitem.h
@@ -120,10 +120,6 @@ class SetupItem : public gcn::ActionListener,
std::string mEventName;
- bool mMainConfig;
-
- bool mUseDefault;
-
std::string mValue;
std::string mDefault;
@@ -133,6 +129,10 @@ class SetupItem : public gcn::ActionListener,
std::list<gcn::Widget*> mTempWidgets;
int mValueType;
+
+ bool mMainConfig;
+
+ bool mUseDefault;
};
class SetupItemCheckBox final : public SetupItem
@@ -246,9 +246,9 @@ class SetupItemIntTextField final : public SetupItem
Label *mLabel;
IntTextField *mTextField;
Button *mButton;
+ EditDialog *mEditDialog;
int mMin;
int mMax;
- EditDialog *mEditDialog;
};
class SetupItemLabel final : public SetupItem
@@ -422,8 +422,8 @@ class SetupItemSlider2 final : public SetupItem
SetupItemNames *mValues;
int mMin;
int mMax;
- bool mInvert;
int mInvertValue;
+ bool mInvert;
bool mOnTheFly;
bool mDoNotAlign;
};