summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r--src/gui/widgets/window.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index 94256956b..85545b183 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -143,6 +143,7 @@ Window::Window(const std::string &caption, const bool modal,
addWidgetListener(this);
mForegroundColor = getThemeColor(Theme::WINDOW);
+ mForegroundColor2 = getThemeColor(Theme::WINDOW_OUTLINE);
setPalette(childPalette);
}
@@ -267,6 +268,7 @@ void Window::draw(gcn::Graphics *graphics)
if (mShowTitle)
{
g->setColor(mForegroundColor);
+ g->setColor2(mForegroundColor2);
int x;
switch (static_cast<gcn::Graphics::Alignment>(mCaptionAlign))
{