From b14dd921c74c1543d1cd75602d6666f32df518ca Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Jul 2013 23:51:38 +0300 Subject: move bools in checkbox. --- src/gui/widgets/checkbox.cpp | 4 ++-- 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; -- cgit v1.2.3-70-g09d2