summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/skin_engine/skin_parser.c')
-rw-r--r--apps/gui/skin_engine/skin_parser.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index f292ff3946..5a90873d86 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -744,6 +744,10 @@ static int parse_progressbar_tag(struct skin_element* element,
744 token->type = SKIN_TOKEN_BATTERY_PERCENTBAR; 744 token->type = SKIN_TOKEN_BATTERY_PERCENTBAR;
745 else if (token->type == SKIN_TOKEN_TUNER_RSSI) 745 else if (token->type == SKIN_TOKEN_TUNER_RSSI)
746 token->type = SKIN_TOKEN_TUNER_RSSI_BAR; 746 token->type = SKIN_TOKEN_TUNER_RSSI_BAR;
747 else if (token->type == SKIN_TOKEN_PEAKMETER_LEFT)
748 token->type = SKIN_TOKEN_PEAKMETER_LEFTBAR;
749 else if (token->type == SKIN_TOKEN_PEAKMETER_RIGHT)
750 token->type = SKIN_TOKEN_PEAKMETER_RIGHTBAR;
747 pb->type = token->type; 751 pb->type = token->type;
748 752
749 return 0; 753 return 0;
@@ -1410,6 +1414,8 @@ static int skin_element_callback(struct skin_element* element, void* data)
1410 case SKIN_TOKEN_VOLUME: 1414 case SKIN_TOKEN_VOLUME:
1411 case SKIN_TOKEN_BATTERY_PERCENT: 1415 case SKIN_TOKEN_BATTERY_PERCENT:
1412 case SKIN_TOKEN_PLAYER_PROGRESSBAR: 1416 case SKIN_TOKEN_PLAYER_PROGRESSBAR:
1417 case SKIN_TOKEN_PEAKMETER_LEFT:
1418 case SKIN_TOKEN_PEAKMETER_RIGHT:
1413#ifdef HAVE_RADIO_RSSI 1419#ifdef HAVE_RADIO_RSSI
1414 case SKIN_TOKEN_TUNER_RSSI: 1420 case SKIN_TOKEN_TUNER_RSSI:
1415#endif 1421#endif