diff options
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 +} |