mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- various: use DARK text color on DARK background
This commit is contained in:
@@ -1819,6 +1819,7 @@ void CAudioPlayerGui::paintItemID3DetailsLine (int pos)
|
|||||||
ibox->setFrameThickness(2);
|
ibox->setFrameThickness(2);
|
||||||
ibox->setCorner(RADIUS_LARGE);
|
ibox->setCorner(RADIUS_LARGE);
|
||||||
ibox->setColorBody(COL_MENUCONTENTDARK_PLUS_0);
|
ibox->setColorBody(COL_MENUCONTENTDARK_PLUS_0);
|
||||||
|
ibox->setTextColor(COL_MENUCONTENTDARK_TEXT);
|
||||||
ibox->forceTextPaint(false);
|
ibox->forceTextPaint(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -225,6 +225,7 @@ void CBEChannelWidget::paintDetails(int index)
|
|||||||
//info box
|
//info box
|
||||||
ibox->setText(str, CTextBox::AUTO_WIDTH | CTextBox::NO_AUTO_LINEBREAK, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_HINT]);
|
ibox->setText(str, CTextBox::AUTO_WIDTH | CTextBox::NO_AUTO_LINEBREAK, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_HINT]);
|
||||||
ibox->setColorBody(COL_MENUCONTENTDARK_PLUS_0);
|
ibox->setColorBody(COL_MENUCONTENTDARK_PLUS_0);
|
||||||
|
ibox->setTextColor(COL_MENUCONTENTDARK_TEXT);
|
||||||
ibox->paint(CC_SAVE_SCREEN_NO);
|
ibox->paint(CC_SAVE_SCREEN_NO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -282,6 +282,7 @@ void CBEChannelSelectWidget::paintDetails(int index)
|
|||||||
//info box
|
//info box
|
||||||
ibox->setText(str, CTextBox::AUTO_WIDTH | CTextBox::NO_AUTO_LINEBREAK, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_HINT]);
|
ibox->setText(str, CTextBox::AUTO_WIDTH | CTextBox::NO_AUTO_LINEBREAK, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_HINT]);
|
||||||
ibox->setColorBody(COL_MENUCONTENTDARK_PLUS_0);
|
ibox->setColorBody(COL_MENUCONTENTDARK_PLUS_0);
|
||||||
|
ibox->setTextColor(COL_MENUCONTENTDARK_TEXT);
|
||||||
ibox->paint(false);
|
ibox->paint(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -97,6 +97,7 @@ void CUpnpBrowserGui::Init()
|
|||||||
infobox.enableFrame(true, 2);
|
infobox.enableFrame(true, 2);
|
||||||
infobox.setCorner(RADIUS_LARGE);
|
infobox.setCorner(RADIUS_LARGE);
|
||||||
infobox.setColorAll(topbox.getColorFrame(), COL_MENUCONTENTDARK_PLUS_0);
|
infobox.setColorAll(topbox.getColorFrame(), COL_MENUCONTENTDARK_PLUS_0);
|
||||||
|
infobox.setTextColor(COL_MENUCONTENTDARK_TEXT);
|
||||||
infobox.setTextFont(g_Font[SNeutrinoSettings::FONT_TYPE_MENU]);
|
infobox.setTextFont(g_Font[SNeutrinoSettings::FONT_TYPE_MENU]);
|
||||||
infobox.enableColBodyGradient(g_settings.theme.menu_Hint_gradient, COL_SHADOW_PLUS_0, g_settings.theme.menu_Hint_gradient_direction);
|
infobox.enableColBodyGradient(g_settings.theme.menu_Hint_gradient, COL_SHADOW_PLUS_0, g_settings.theme.menu_Hint_gradient_direction);
|
||||||
infobox.enableShadow(CC_SHADOW_ON, -1, true);
|
infobox.enableShadow(CC_SHADOW_ON, -1, true);
|
||||||
@@ -104,6 +105,7 @@ void CUpnpBrowserGui::Init()
|
|||||||
timebox.enableFrame(true, 2);
|
timebox.enableFrame(true, 2);
|
||||||
timebox.setCorner(RADIUS_LARGE);
|
timebox.setCorner(RADIUS_LARGE);
|
||||||
timebox.setColorAll(infobox.getColorFrame(), infobox.getColorBody());
|
timebox.setColorAll(infobox.getColorFrame(), infobox.getColorBody());
|
||||||
|
timebox.setTextColor(infobox.getTextColor());
|
||||||
timebox.setTextFont(g_Font[SNeutrinoSettings::FONT_TYPE_MENU]);
|
timebox.setTextFont(g_Font[SNeutrinoSettings::FONT_TYPE_MENU]);
|
||||||
timebox.enableColBodyGradient(g_settings.theme.menu_Hint_gradient, COL_SHADOW_PLUS_0, g_settings.theme.menu_Hint_gradient_direction);
|
timebox.enableColBodyGradient(g_settings.theme.menu_Hint_gradient, COL_SHADOW_PLUS_0, g_settings.theme.menu_Hint_gradient_direction);
|
||||||
timebox.enableShadow(CC_SHADOW_ON, -1, true);
|
timebox.enableShadow(CC_SHADOW_ON, -1, true);
|
||||||
|
@@ -1482,6 +1482,7 @@ void CMenuWidget::paintHint(int pos)
|
|||||||
info_box->setText(str, CTextBox::AUTO_WIDTH, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_HINT], COL_MENUCONTENT_TEXT);
|
info_box->setText(str, CTextBox::AUTO_WIDTH, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_HINT], COL_MENUCONTENT_TEXT);
|
||||||
info_box->setCorner(RADIUS_LARGE);
|
info_box->setCorner(RADIUS_LARGE);
|
||||||
info_box->setColorAll(COL_FRAME_PLUS_0, COL_MENUCONTENTDARK_PLUS_0);
|
info_box->setColorAll(COL_FRAME_PLUS_0, COL_MENUCONTENTDARK_PLUS_0);
|
||||||
|
info_box->setTextColor(COL_MENUCONTENTDARK_TEXT);
|
||||||
info_box->enableShadow();
|
info_box->enableShadow();
|
||||||
info_box->setPicture(item->hintIcon ? item->hintIcon : "");
|
info_box->setPicture(item->hintIcon ? item->hintIcon : "");
|
||||||
info_box->enableColBodyGradient(g_settings.theme.menu_Hint_gradient, COL_MENUFOOT_PLUS_0, g_settings.theme.menu_Hint_gradient_direction);// COL_MENUFOOT_PLUS_0 is default footer color
|
info_box->enableColBodyGradient(g_settings.theme.menu_Hint_gradient, COL_MENUFOOT_PLUS_0, g_settings.theme.menu_Hint_gradient_direction);// COL_MENUFOOT_PLUS_0 is default footer color
|
||||||
|
Reference in New Issue
Block a user