Fix ghost text in infoviewer

Origin commit data
------------------
Branch: ni/coolstream
Commit: 8dd426d714
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-26 (Tue, 26 Jan 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2016-01-26 13:29:00 +01:00
parent 579cabe970
commit 3f0fb538fe
2 changed files with 3 additions and 0 deletions

View File

@@ -422,6 +422,7 @@ void CInfoViewer::paintHead()
header->setColorBody(g_settings.theme.infobar_gradient_top ? COL_MENUHEAD_PLUS_0 : COL_INFOBAR_PLUS_0); header->setColorBody(g_settings.theme.infobar_gradient_top ? COL_MENUHEAD_PLUS_0 : COL_INFOBAR_PLUS_0);
header->enableColBodyGradient(g_settings.theme.infobar_gradient_top, COL_INFOBAR_PLUS_0, g_settings.theme.infobar_gradient_top_direction); header->enableColBodyGradient(g_settings.theme.infobar_gradient_top, COL_INFOBAR_PLUS_0, g_settings.theme.infobar_gradient_top_direction);
clock->setColorBody(header->getColorBody()); clock->setColorBody(header->getColorBody());
header->enableGradientBgCleanUp();
header->paint(CC_SAVE_SCREEN_NO); header->paint(CC_SAVE_SCREEN_NO);
header_height = header->getHeight(); header_height = header->getHeight();
@@ -457,6 +458,7 @@ void CInfoViewer::paintBody()
body->setColorBody(g_settings.theme.infobar_gradient_body ? COL_MENUHEAD_PLUS_0 : COL_INFOBAR_PLUS_0); body->setColorBody(g_settings.theme.infobar_gradient_body ? COL_MENUHEAD_PLUS_0 : COL_INFOBAR_PLUS_0);
body->enableColBodyGradient(g_settings.theme.infobar_gradient_body, COL_INFOBAR_PLUS_0, g_settings.theme.infobar_gradient_body_direction); body->enableColBodyGradient(g_settings.theme.infobar_gradient_body, COL_INFOBAR_PLUS_0, g_settings.theme.infobar_gradient_body_direction);
body->enableGradientBgCleanUp();
body->paint(CC_SAVE_SCREEN_NO); body->paint(CC_SAVE_SCREEN_NO);
} }

View File

@@ -496,6 +496,7 @@ void CInfoViewerBB::paintFoot(int w)
foot->setColorBody(COL_INFOBAR_BUTTONS_BACKGROUND); foot->setColorBody(COL_INFOBAR_BUTTONS_BACKGROUND);
foot->enableColBodyGradient(g_settings.theme.infobar_gradient_bottom, COL_INFOBAR_PLUS_0, g_settings.theme.infobar_gradient_bottom_direction); foot->enableColBodyGradient(g_settings.theme.infobar_gradient_bottom, COL_INFOBAR_PLUS_0, g_settings.theme.infobar_gradient_bottom_direction);
foot->setCorner(RADIUS_LARGE, CORNER_BOTTOM); foot->setCorner(RADIUS_LARGE, CORNER_BOTTOM);
foot->enableGradientBgCleanUp();
foot->paint(CC_SAVE_SCREEN_NO); foot->paint(CC_SAVE_SCREEN_NO);
} }