mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
CMenuWidget: Enable cleanup gradient background for menu hints...
... and for menu headers when save screen is enabled
Origin commit data
------------------
Branch: ni/coolstream
Commit: ef9246d892
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-26 (Tue, 26 Jan 2016)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1240,6 +1240,7 @@ void CMenuWidget::paint()
|
||||
header->setColorShadow(COL_MENUCONTENTDARK_PLUS_0);
|
||||
header->setCaptionColor(COL_MENUHEAD_TEXT);
|
||||
header->enableColBodyGradient(g_settings.theme.menu_Head_gradient, COL_MENUCONTENT_PLUS_0);
|
||||
header->enableGradientBgCleanUp(savescreen);
|
||||
header->paint(CC_SAVE_SCREEN_NO);
|
||||
|
||||
// paint body shadow
|
||||
@@ -1477,6 +1478,7 @@ void CMenuWidget::paintHint(int pos)
|
||||
info_box->enableShadow();
|
||||
info_box->setPicture(item->hintIcon ? item->hintIcon : "");
|
||||
info_box->enableColBodyGradient(g_settings.theme.menu_Hint_gradient, COL_INFOBAR_SHADOW_PLUS_1, g_settings.theme.menu_Hint_gradient_direction);// COL_INFOBAR_SHADOW_PLUS_1 is default footer color
|
||||
info_box->enableGradientBgCleanUp();
|
||||
|
||||
//paint result
|
||||
if (details_line)
|
||||
|
Reference in New Issue
Block a user