- themes: move colored_events settings to themes setup

This commit is contained in:
svenhoefer
2015-05-04 17:56:03 +02:00
parent a7b6911ce6
commit cb5f052e83
11 changed files with 51 additions and 60 deletions

View File

@@ -1647,12 +1647,8 @@ void CInfoViewer::display_Info(const char *current, const char *next,
static int oldCurrTimeX = currTimeX; // remember the last pos. of remaining time, in case we change from 20/100min to 21/99min
//colored_events init
bool colored_event_C = false;
bool colored_event_N = false;
if (g_settings.colored_events_infobar == 1)
colored_event_C = true;
if (g_settings.colored_events_infobar == 2)
colored_event_N = true;
bool colored_event_C = (g_settings.theme.colored_events_infobar == 1);
bool colored_event_N = (g_settings.theme.colored_events_infobar == 2);
if (current != NULL && update_current)
{