mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
Fix ghost text in infoviewer
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user