diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-07-28 23:51:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-07-28 23:51:38 +0300 |
commit | b14dd921c74c1543d1cd75602d6666f32df518ca (patch) | |
tree | a03bb2782ccc3a623b20445367646e43747f7fd1 /src/gui/widgets | |
parent | 9651fe916f2e0e91778fd18bfacbe401f99a2de6 (diff) | |
download | manaplus-b14dd921c74c1543d1cd75602d6666f32df518ca.tar.gz manaplus-b14dd921c74c1543d1cd75602d6666f32df518ca.tar.bz2 manaplus-b14dd921c74c1543d1cd75602d6666f32df518ca.tar.xz manaplus-b14dd921c74c1543d1cd75602d6666f32df518ca.zip |
move bools in checkbox.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/checkbox.cpp | 4 | ||||
-rw-r--r-- | src/gui/widgets/checkbox.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp index 552d98c72..d46ce28bd 100644 --- a/src/gui/widgets/checkbox.cpp +++ b/src/gui/widgets/checkbox.cpp @@ -44,12 +44,12 @@ CheckBox::CheckBox(const Widget2 *const widget, const std::string &eventId) : gcn::CheckBox(caption, selected), Widget2(widget), - mHasMouse(false), + mForegroundColor(getThemeColor(Theme::CHECKBOX_OUTLINE)), mPadding(0), mImagePadding(0), mImageSize(9), mSpacing(2), - mForegroundColor(getThemeColor(Theme::CHECKBOX_OUTLINE)) + mHasMouse(false) { if (instances == 0) { diff --git a/src/gui/widgets/checkbox.h b/src/gui/widgets/checkbox.h index a18079bed..408a52031 100644 --- a/src/gui/widgets/checkbox.h +++ b/src/gui/widgets/checkbox.h @@ -86,12 +86,12 @@ class CheckBox final : public gcn::CheckBox, void adjustSize(); private: - bool mHasMouse; + gcn::Color mForegroundColor; int mPadding; int mImagePadding; int mImageSize; int mSpacing; - gcn::Color mForegroundColor; + bool mHasMouse; static int instances; static Skin *mSkin; |