Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Volume keys change text color?
« previous next »
  • Print
Pages: [1]

Author Topic: Volume keys change text color?  (Read 1003 times)

Offline Elaphe

  • Member
  • *
  • Posts: 23
Volume keys change text color?
« on: July 29, 2014, 01:20:55 PM »
I have this in my .sbs for volume:

Code: [Select]
# Volume level with overdrive check
%V(1,0,33,6,3) %Vf(ffffff)
%ar%?if(%pv,>,0)<
%t(0.2)%pvdB;%t(0.2)!!!|
%pvdB>

Now, I'd like to add something to the wps so that when the user presses the volume buttons, the text of it changes to green. I know somrthing similar can be done, because I've found this code which shows a dynamic graphic bar when the user presses the volume buttons:

Code: [Select]
# Graphic Volume
%xl(v,volume.bmp,0,0)
%?mv<%Vd(v)|>
%Vl(v,0,93,96,-,-)
%pv(0,0,96,3,v)
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Volume keys change text color?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.044 seconds with 15 queries.