Support and General Use > Theming and Appearance Customization

Sansa Clip+ Edit theme (volume appearance)

(1/1)

Viper73:
Hello,

i have an Sansa Clip+ and i am using rockbox 3.8.1
I downloaded an theme and there is one thing i want to change, but i don't know how.

The volume is showed with numbers instead of an volume symbol. Thats how i want it. But it is showed from "-80" to "+6". I want the volume showed from "0" to "100" and not with minus / negative numbers. How can i change this ?

Greets, Viper

JdGordon:
You cant, we show volume as its dB value, not a percentage (which makes no sense)

gevaerts:
You can't meaningfully translate from dB to a percentage, but you can  use the %pv tag as a conditional to show whatever sort numbers or text (or images...) you like.

e.g. to show the volume as numbers from 0 to 5, use:

--- Code: ---%?pv<0|1|2|3|4|5|6>

--- End code ---

(note that the last value is used for "above 0", which means distortion might occur)

See http://www.rockbox.org/wiki/CustomWPS for details

Navigation

[0] Message Index

Go to full version