diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-07-28 19:05:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-07-28 19:05:15 +0300 |
commit | e3c9839fb10cacf7c07f08e18d0c84c2e16fb828 (patch) | |
tree | 7f6fccf3bebb5dc67553e3b6d7ce046d5743b836 /src/gui/widgets | |
parent | 8db0f3f4b92f7d982e7dd1561b6f1bd0f4ac25f3 (diff) | |
download | plus-e3c9839fb10cacf7c07f08e18d0c84c2e16fb828.tar.gz plus-e3c9839fb10cacf7c07f08e18d0c84c2e16fb828.tar.bz2 plus-e3c9839fb10cacf7c07f08e18d0c84c2e16fb828.tar.xz plus-e3c9839fb10cacf7c07f08e18d0c84c2e16fb828.zip |
move bools in browserbox.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/browserbox.cpp | 18 | ||||
-rw-r--r-- | src/gui/widgets/browserbox.h | 17 |
2 files changed, 18 insertions, 17 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp index 2de1dcfae..fd4af6620 100644 --- a/src/gui/widgets/browserbox.cpp +++ b/src/gui/widgets/browserbox.cpp @@ -59,25 +59,25 @@ BrowserBox::BrowserBox(const Widget2 *const widget, const unsigned int mode, mLinkHandler(nullptr), mMode(mode), mHighMode(UNDERLINE | BACKGROUND), - mOpaque(opaque), - mUseLinksAndUserColors(true), - mUseEmotes(true), mSelectedLink(-1), mMaxRows(0), mHeight(0), mWidth(0), mYStart(0), mUpdateTime(-1), - mAlwaysUpdate(true), - mProcessVersion(false), - mEnableImages(false), - mEnableKeys(false), - mEnableTabs(false), mPadding(0), mNewLinePadding(15), mBackgroundColor(getThemeColor(Theme::BACKGROUND)), mHighlightColor(getThemeColor(Theme::HIGHLIGHT)), - mHyperLinkColor(getThemeColor(Theme::HYPERLINK)) + mHyperLinkColor(getThemeColor(Theme::HYPERLINK)), + mOpaque(opaque), + mUseLinksAndUserColors(true), + mUseEmotes(true), + mAlwaysUpdate(true), + mProcessVersion(false), + mEnableImages(false), + mEnableKeys(false), + mEnableTabs(false) { setFocusable(true); addMouseListener(this); diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h index 89865d18a..3a6c7972b 100644 --- a/src/gui/widgets/browserbox.h +++ b/src/gui/widgets/browserbox.h @@ -256,20 +256,12 @@ class BrowserBox final : public gcn::Widget, LinkHandler *mLinkHandler; unsigned int mMode; unsigned int mHighMode; - bool mOpaque; - bool mUseLinksAndUserColors; - bool mUseEmotes; int mSelectedLink; unsigned int mMaxRows; int mHeight; int mWidth; int mYStart; int mUpdateTime; - bool mAlwaysUpdate; - bool mProcessVersion; - bool mEnableImages; - bool mEnableKeys; - bool mEnableTabs; int mPadding; int mNewLinePadding; @@ -278,6 +270,15 @@ class BrowserBox final : public gcn::Widget, gcn::Color mHyperLinkColor; gcn::Color mColors[2][COLORS_MAX]; + bool mOpaque; + bool mUseLinksAndUserColors; + bool mUseEmotes; + bool mAlwaysUpdate; + bool mProcessVersion; + bool mEnableImages; + bool mEnableKeys; + bool mEnableTabs; + static Skin *mSkin; static ImageSet *mEmotes; static int mInstances; |