diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-27 21:00:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-27 23:15:06 +0300 |
commit | dee02b54a28994e78bd7e738ac0b49df9f59d67f (patch) | |
tree | 86901ed7a6410185bde989d1b92d25ed1d5ceaa2 /src/gui/widgets | |
parent | 0cb1ee2755e26a6e0f14f5f05fda4bbd8bf22f32 (diff) | |
download | manaplus-dee02b54a28994e78bd7e738ac0b49df9f59d67f.tar.gz manaplus-dee02b54a28994e78bd7e738ac0b49df9f59d67f.tar.bz2 manaplus-dee02b54a28994e78bd7e738ac0b49df9f59d67f.tar.xz manaplus-dee02b54a28994e78bd7e738ac0b49df9f59d67f.zip |
add support for outlining in window header.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/window.cpp | 2 |
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)) { |