From c530b85859d0de18891781877d22b438b7693087 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 16 Sep 2012 17:37:53 +0300 Subject: Add theme option "titlebarBold". If it set to non zero value, window title bar will use bold font. --- src/gui/widgets/window.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index 8c520342a..ce893c360 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -102,6 +102,8 @@ Window::Window(const std::string &caption, const bool modal, if (mSkin) { setPadding(mSkin->getPadding()); + if (getOptionBool("titlebarBold")) + mCaptionFont = reinterpret_cast(boldFont); setTitlePadding(mSkin->getTitlePadding()); setTitleBarHeight(getOption("titlebarHeight")); mCaptionOffsetX = getOption("captionoffsetx"); -- cgit v1.2.3-70-g09d2