Welcome to the Rockbox Technical Forums!
%V(90,90,4,90,0)%xl(A,volumebar.bmp,0,0)%pb(0,0,90,4,volumebar.bmp,vertical,image,A)
%V(0,0,100,100,-)%xl(foo,0,0,another_image.bmp)%pv(0,0,100,100,image.bmp,vertical,image,foo)
Regardless, this has me wondering about a few things now. In particular the reason for the "image" parameter. It seems to me that this param is totally needless (if the syntax in CustonWPS is to be believed).[St.]
%?bp<%?bc<foo|bar>|baz>
# Preload the needed images:%xl(battery,battery_image.bmp,0,0)%xl(charging,charging_image.bmp,0,0)%xl(charged,charged_image.bmp,0,0)## Viewport%V(0,0,100,10,-)%?bp<%?bc<%xd(charging)|%xd(charged)>|%bl(0,0,100,10,battery_image.bmp,vertical)>
Is the charger present? Yes: Are we charging? Yes: We are charging - display 'charging_image.bmp'. No: Charging completed - display 'charged_image.bmp'. No: Charger not present - display our battery bar.
Ok, my apologies.
Page created in 0.077 seconds with 14 queries.