This commit is contained in:
e2002
2022-03-02 17:07:29 +03:00
parent 37c4f79d94
commit 3933938305
22 changed files with 212 additions and 24 deletions

View File

@@ -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;