mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CMenueWidget: add color gradient to menue hints
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1303,6 +1303,9 @@ void CMenuWidget::paintHint(int pos)
|
|||||||
if (pos < 0 && !hint_painted)
|
if (pos < 0 && !hint_painted)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
info_box->enableGradient(g_settings.gradiant != 0); //TODO: manage via themes
|
||||||
|
info_box->setColorBody(COL_MENUCONTENT_PLUS_0);
|
||||||
|
|
||||||
if (hint_painted) {
|
if (hint_painted) {
|
||||||
/* clear detailsline line */
|
/* clear detailsline line */
|
||||||
if (details_line)
|
if (details_line)
|
||||||
|
Reference in New Issue
Block a user