mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
- menue: small color changes for a smoother view
This commit is contained in:
@@ -1304,6 +1304,7 @@ void CMenuWidget::paintHint(int pos)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
info_box->enableGradient(g_settings.theme.menu_Hint_gradient != 0);
|
info_box->enableGradient(g_settings.theme.menu_Hint_gradient != 0);
|
||||||
|
info_box->set2ndColor(COL_INFOBAR_SHADOW_PLUS_1); // COL_INFOBAR_SHADOW_PLUS_1 is default footer color
|
||||||
info_box->setColorBody(COL_MENUCONTENT_PLUS_0);
|
info_box->setColorBody(COL_MENUCONTENT_PLUS_0);
|
||||||
|
|
||||||
if (hint_painted) {
|
if (hint_painted) {
|
||||||
@@ -2174,7 +2175,7 @@ int CMenuSeparator::paint(bool selected)
|
|||||||
if ((type & SUB_HEAD))
|
if ((type & SUB_HEAD))
|
||||||
{
|
{
|
||||||
item_color = COL_MENUHEAD_TEXT;
|
item_color = COL_MENUHEAD_TEXT;
|
||||||
item_bgcolor = COL_MENUHEAD_PLUS_0;
|
item_bgcolor = g_settings.theme.menu_Head_gradient ? COL_MENUCONTENT_PLUS_0 : COL_MENUHEAD_PLUS_0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user