forked from len0rd/rockbox
FS#11867 - Add 2 new tags to allow skins to display themed peakmeters
%pL for the left channel, %pR for the right channel... usable as a value, conditional or bar (exactly the same as %pv/%bl/etc) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29043 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c8535f27d1
commit
261c56ba59
8 changed files with 66 additions and 7 deletions
|
|
@ -125,6 +125,9 @@ static const struct tag_info legal_tags[] =
|
|||
{ SKIN_TOKEN_BUTTON_VOLUME, "mv", "|D", SKIN_REFRESH_DYNAMIC },
|
||||
|
||||
{ SKIN_TOKEN_PEAKMETER, "pm", "", SKIN_REFRESH_PEAK_METER },
|
||||
{ SKIN_TOKEN_PEAKMETER_LEFT, "pL", BAR_PARAMS, SKIN_REFRESH_PEAK_METER },
|
||||
{ SKIN_TOKEN_PEAKMETER_RIGHT, "pR", BAR_PARAMS, SKIN_REFRESH_PEAK_METER },
|
||||
|
||||
{ SKIN_TOKEN_PLAYER_PROGRESSBAR, "pf", "", SKIN_REFRESH_DYNAMIC|SKIN_REFRESH_PLAYER_PROGRESS },
|
||||
{ SKIN_TOKEN_PROGRESSBAR, "pb" , BAR_PARAMS, SKIN_REFRESH_PLAYER_PROGRESS },
|
||||
{ SKIN_TOKEN_VOLUME, "pv" , BAR_PARAMS, SKIN_REFRESH_DYNAMIC },
|
||||
|
|
|
|||
|
|
@ -185,6 +185,10 @@ enum skin_token_type {
|
|||
SKIN_TOKEN_PLAYER_PROGRESSBAR,
|
||||
/* Peakmeter */
|
||||
SKIN_TOKEN_PEAKMETER,
|
||||
SKIN_TOKEN_PEAKMETER_LEFT,
|
||||
SKIN_TOKEN_PEAKMETER_LEFTBAR,
|
||||
SKIN_TOKEN_PEAKMETER_RIGHT,
|
||||
SKIN_TOKEN_PEAKMETER_RIGHTBAR,
|
||||
|
||||
/* Current track */
|
||||
SKIN_TOKEN_TRACK_ELAPSED_PERCENT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue