@@ -49,34 +49,37 @@ uint16_t Config::color565(uint8_t r, uint8_t g, uint8_t b)
4949}
5050
5151void Config::loadTheme (){
52- theme.background = color565 (COLOR_BACKGROUND);
53- theme.meta = color565 (COLOR_STATION_NAME);
54- theme.metabg = color565 (COLOR_STATION_BG);
55- theme.metafill = color565 (COLOR_STATION_FILL);
56- theme.title1 = color565 (COLOR_SNG_TITLE_1);
57- theme.title2 = color565 (COLOR_SNG_TITLE_2);
58- theme.digit = color565 (COLOR_DIGITS);
59- theme.div = color565 (COLOR_DIVIDER);
60- theme.weather = color565 (COLOR_WEATHER);
61- theme.vumax = color565 (COLOR_VU_MAX);
62- theme.vumin = color565 (COLOR_VU_MIN);
63- theme.clock = color565 (COLOR_CLOCK);
64- theme.seconds = color565 (COLOR_SECONDS);
65- theme.dow = color565 (COLOR_DAY_OF_W);
66- theme.date = color565 (COLOR_DATE);
67- theme.heap = color565 (COLOR_HEAP);
68- theme.buffer = color565 (COLOR_BUFFER);
69- theme.ip = color565 (COLOR_IP);
70- theme.vol = color565 (COLOR_VOLUME_VALUE);
71- theme.rssi = color565 (COLOR_RSSI);
72- theme.bitrate = color565 (COLOR_BITRATE);
73- theme.volbarout = color565 (COLOR_VOLBAR_OUT);
74- theme.volbarin = color565 (COLOR_VOLBAR_IN);
75- theme.playlist [0 ] = color565 (COLOR_PLAYLIST_0);
76- theme.playlist [1 ] = color565 (COLOR_PLAYLIST_1);
77- theme.playlist [2 ] = color565 (COLOR_PLAYLIST_2);
78- theme.playlist [3 ] = color565 (COLOR_PLAYLIST_3);
79- theme.playlist [4 ] = color565 (COLOR_PLAYLIST_4);
52+ theme.background = color565 (COLOR_BACKGROUND);
53+ theme.meta = color565 (COLOR_STATION_NAME);
54+ theme.metabg = color565 (COLOR_STATION_BG);
55+ theme.metafill = color565 (COLOR_STATION_FILL);
56+ theme.title1 = color565 (COLOR_SNG_TITLE_1);
57+ theme.title2 = color565 (COLOR_SNG_TITLE_2);
58+ theme.digit = color565 (COLOR_DIGITS);
59+ theme.div = color565 (COLOR_DIVIDER);
60+ theme.weather = color565 (COLOR_WEATHER);
61+ theme.vumax = color565 (COLOR_VU_MAX);
62+ theme.vumin = color565 (COLOR_VU_MIN);
63+ theme.clock = color565 (COLOR_CLOCK);
64+ theme.seconds = color565 (COLOR_SECONDS);
65+ theme.dow = color565 (COLOR_DAY_OF_W);
66+ theme.date = color565 (COLOR_DATE);
67+ theme.heap = color565 (COLOR_HEAP);
68+ theme.buffer = color565 (COLOR_BUFFER);
69+ theme.ip = color565 (COLOR_IP);
70+ theme.vol = color565 (COLOR_VOLUME_VALUE);
71+ theme.rssi = color565 (COLOR_RSSI);
72+ theme.bitrate = color565 (COLOR_BITRATE);
73+ theme.volbarout = color565 (COLOR_VOLBAR_OUT);
74+ theme.volbarin = color565 (COLOR_VOLBAR_IN);
75+ theme.plcurrent = color565 (COLOR_PL_CURRENT);
76+ theme.plcurrentbg = color565 (COLOR_PL_CURRENT_BG);
77+ theme.plcurrentfill = color565 (COLOR_PL_CURRENT_FILL);
78+ theme.playlist [0 ] = color565 (COLOR_PLAYLIST_0);
79+ theme.playlist [1 ] = color565 (COLOR_PLAYLIST_1);
80+ theme.playlist [2 ] = color565 (COLOR_PLAYLIST_2);
81+ theme.playlist [3 ] = color565 (COLOR_PLAYLIST_3);
82+ theme.playlist [4 ] = color565 (COLOR_PLAYLIST_4);
8083}
8184
8285template <class T > int Config::eepromWrite (int ee, const T& value) {
0 commit comments