v0.4.315
This commit is contained in:
@@ -204,6 +204,9 @@ void Display::swichMode(displayMode_e newmode) {
|
||||
if (newmode == VOL) {
|
||||
dsp.frameTitle("VOLUME");
|
||||
}
|
||||
if (newmode == NUMBERS) {
|
||||
dsp.frameTitle("STATION");
|
||||
}
|
||||
if (newmode == STATIONS) {
|
||||
currentPlItem = config.store.lastStation;
|
||||
plCurrent.reset();
|
||||
@@ -235,6 +238,10 @@ void Display::drawPlaylist() {
|
||||
plCurrent.setText(dsp.utf8Rus(buf, true));
|
||||
}
|
||||
|
||||
void Display::drawNextStationNum(uint16_t num) {
|
||||
dsp.drawNextStationNum(num);
|
||||
}
|
||||
|
||||
void Display::loop() {
|
||||
switch (mode) {
|
||||
case PLAYER: {
|
||||
@@ -245,6 +252,9 @@ void Display::loop() {
|
||||
drawVolume();
|
||||
break;
|
||||
}
|
||||
case NUMBERS: {
|
||||
break;
|
||||
}
|
||||
case STATIONS: {
|
||||
plCurrent.loop();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user