diff options
author | louis <louis.braun@gmx.de> | 2013-05-08 18:31:01 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-05-08 18:31:01 +0200 |
commit | ec606cea46a25009182b03eb9bbd53bea362bdbd (patch) | |
tree | 4bf273553e9bb826dd57c566e97cabc47ec2f008 /textwindow.c | |
parent | cdcbf602021a64393669a28fbd7de1c7ddd23fa1 (diff) | |
download | skin-nopacity-ec606cea46a25009182b03eb9bbd53bea362bdbd.tar.gz skin-nopacity-ec606cea46a25009182b03eb9bbd53bea362bdbd.tar.bz2 |
Introduced plain style without any blending effects
Diffstat (limited to 'textwindow.c')
-rw-r--r-- | textwindow.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/textwindow.c b/textwindow.c index a51aa0b..6e55ef9 100644 --- a/textwindow.c +++ b/textwindow.c @@ -58,9 +58,10 @@ bool cNopacityTextWindow::CreatePixmap(int border) { void cNopacityTextWindow::DrawText(int border) { int lineHeight = font->Height(); int currentLineHeight = lineHeight/2; + tColor clrFontBack = (config.doBlending)?(clrTransparent):(Theme.Color(clrMenuBack)); cPixmap::Lock(); for (int i=0; (i < twText.Lines()) && Running(); i++) { - pixmap->DrawText(cPoint(border, currentLineHeight), twText.GetLine(i), Theme.Color(clrMenuFontDetailViewText), clrTransparent, font); + pixmap->DrawText(cPoint(border, currentLineHeight), twText.GetLine(i), Theme.Color(clrMenuFontDetailViewText), clrFontBack, font); currentLineHeight += lineHeight; } cPixmap::Unlock(); @@ -158,4 +159,4 @@ void cNopacityTextWindow::Action(void) { cCondWait::SleepMs(FrameTime - Delta); } } -}
\ No newline at end of file +} |