summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-27 20:49:56 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-27 23:15:06 +0300
commitf799d0cc056be8850733be931c976d59e6dbe582 (patch)
treee8f589d823c3782096d2ab2ec78d2985f5ac7a3d /src/gui/widgets/browserbox.cpp
parentac1fb0ec902814316562552fc8d52bc5683e5f9d (diff)
downloadmanaplus-f799d0cc056be8850733be931c976d59e6dbe582.tar.gz
manaplus-f799d0cc056be8850733be931c976d59e6dbe582.tar.bz2
manaplus-f799d0cc056be8850733be931c976d59e6dbe582.tar.xz
manaplus-f799d0cc056be8850733be931c976d59e6dbe582.zip
Add outlining support for labels.
Diffstat (limited to 'src/gui/widgets/browserbox.cpp')
-rw-r--r--src/gui/widgets/browserbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index a27a46ac4..1551ae81d 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -67,8 +67,7 @@ BrowserBox::BrowserBox(const Widget2 *const widget, const unsigned int mode,
mNewLinePadding(15),
mBackgroundColor(getThemeColor(Theme::BACKGROUND)),
mHighlightColor(getThemeColor(Theme::HIGHLIGHT)),
- mHyperLinkColor(getThemeColor(Theme::HYPERLINK)),
- mForegroundColor2(getThemeColor(Theme::BROWSERBOX_OUTLINE))
+ mHyperLinkColor(getThemeColor(Theme::HYPERLINK))
{
setFocusable(true);
addMouseListener(this);
@@ -107,6 +106,7 @@ BrowserBox::BrowserBox(const Widget2 *const widget, const unsigned int mode,
mColors[1][BROWN] = getThemeColor(Theme::BROWN_OUTLINE);
mForegroundColor = getThemeColor(Theme::BROWSERBOX);
+ mForegroundColor2 = getThemeColor(Theme::BROWSERBOX_OUTLINE);
}
BrowserBox::~BrowserBox()