Support and General Use > Theming and Appearance Customization
help me fix theme
(1/1)
bibaboba228:
help me fix progress bar, and if its possible make volume instead of -29 show 71
theme https://themes.rockbox.org/index.php?themeid=1523&target=xduoox3
--- Code: ---# Theme: x8
# Author: SockBox
# Contact: http://forums.rockbox.org/index.php?action=pm;sa=send;u=14551
# Version: 1.2
# Last updated: Feb 14,2012
# Created: April 4, 2011
# Platform: Sandisk Sansa Clip+
# Licence: CC-BY-SA 3.0
#
# Modified/Derived from iCu theme for Sansa Clip+ (CC-BY-SA 3.0) by Humberto Santana
#
# v1.1
# - dynamic progress bar
# - fix progress bar code to work with latest build
# - lower number volume by 1px
#
# Status Bar Disable
%wd
#
# Additional Font
%Fl(3,08-Nedore.fnt,4)
%Fl(4,16-Adobe-Helvetica-Bold.fnt,100)
#
# Load Images
%xl(x,plug.bmp,0,0,1)
%xl(P,playing_status.bmp,0,0,5)
%xl(V,volume.bmp,0,1,10)
%xl(B,battery.bmp,0,0,8)
%xl(S,shuffle.bmp,0,2,2)
#
%?St(volume display)<%Vd(V)|%Vd(v)>
%?bp<%Vd(x)|%?St(battery display)<%Vd(B)|%Vd(b)>>
#
# Display progress bar
%?if(%pt,<,600)<%Vd(c)|%?if(%pt,<,3600)<%Vd(d)|%Vd(e)>>
# Hold Popup Cleaning Viewports
%V(0,0,-,-,-)
#
# Playing Status
%V(30,0,10,16,-)
%?mh<%xd(Pe)|%?mp<|%xd(Pa)|%xd(Pb)|%xd(Pc)|%xd(Pd)>>
#
# Volume
%Vl(V,44,0,23,16,-)
%?pv<%xd(Va)|%xd(Vb)|%xd(Vc)|%xd(Vd)|%xd(Ve)|%xd(Vf)|%xd(Vg)|%xd(Vh)|%xd(Vi)|%xd(Vj)>
#
#%Vl(v,12,1,23,16,4)
%Vl(v,44,1,23,16,4)
%ac%pv
#
# Battery
%Vl(B,0,1,30,16,4)
%?bl<|%xd(Ba)|%xd(Ba)|%xd(Bb)|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)|%xd(Bg)|%xd(Bh)>
#
%Vl(b,0,1,30,16,4)
%ac%bl%?if(%bl,<,100)<%%>
#
# Plugged-in
%Vl(x,0,0,30,8,3)
%ac%bl%%
%Vl(x,0,8,30,8,4)
%xd(xa)
#
# Shuffle
%V(72,0,16,16,-)
%?ps<%xd(Sa)|%xd(Sb)>
#
# clock
%V(92,1,-,16,4)
%ar%?cf<%cH|%cl>:%cM
#
#
%V(0,16,-,32,4)
%s%ac%?it<%it|%fn>
%s%ac%?ia<%ia|%d(2)>
#
###### Progress bar
# <10-minute
%Vl(c,31,-10,-31,10,0)
%pb(0,0,-,-,-)
%Vl(c,0,-14,28,-,4)
%al%pc
%Vl(c,-28,-14,-,-,4)
%ar%pt
# >10-minute
%Vl(d,38,-10,-38,10,0)
%pb(0,0,-,-,-)
#%Vl(c,0,21,22,8,4)
%Vl(d,0,-14,36,-,4)
%ar%pc
#%Vl(c,-22,21,-,8,4)
%Vl(d,-36,-14,-,-,4)
%al%pt
# >1-hour
%Vl(e,51,-10,-51,10,0)
%pb(0,0,-,-,-)
%Vl(e,0,-14,49,-,4)
%ar%pc
%Vl(e,-49,-14,-,-,4)
%ar%pt
--- End code ---
bibaboba228:
i fix progres bar, now how to make volume instead of -29 show 71
Navigation
[0] Message Index
Go to full version