Support and General Use > Theming and Appearance Customization

Sansa Clip skin idea (w.i.p.) - need to know about squishing and combining stuff

(1/2) > >>

ixo4vita:

--- Code: ---# WPS Document
# WPS Theme Name: loadedsquash
# Author: ixo4vita
# Contact: http://forums.rockbox.org/index.php?action=pm;sa=send;u=24060
# Version: 1
# Created: July 31, 2010
# Platform: Sandisk Sansa Clip+
# Licence: CC-BY-SA 3.0
%wd
%xl(A,actionmode.bmp,29,0,9)
%Fl(5,08-Namil.fnt)
%Fl(4,11-Nimbus.fnt)
%Fl(3,06-Tiny.fnt)
# 1stline (yellow): time elasped, playmode icon, progbar, volbar, trk total time
%V(0,0,-,5,3)
%al%pc%?mp<%xd(Aa)|%xd(Ab)|%xd(Ac)|%xd(Ad)|%xd(Ae)|%xd(Af)|%xd(Ag)|%xd(Ah)|%xd(Ai)>%ac%pb(38,0,50,4,pb.bmp)%pv(93,0,7,4,volume-4x7.bmp)%ar%pt%x(a,pbbackground.bmp,38,0)
# 2ndline (yellow): large font; track#. title; or filename
%V(0,5,-,15,4)%s%ac%?it<%in. %it|%fn>
# status extra line (blue) w.i.p - battery; repeat; shuffle; misc indicator
# 3rdline (blue): artist, or album artist
%V(0,30,-,7,5)%s%aL%?ia<%ia|%iA>
# 4thline (blue): 'album' year
%V(0,41,-,7,3)%s%aR'%id' %iy
# 5thline (blue): subline scroll center codec bitrate; next track
%V(0,49,-,7,3)%t(0.3)%s%ac%fc %?fb<%?fv<%fbk V|%fbk C>|>;%t(0.3)%s%acNext: %?Ia<%Ia-%It|%It|%Fn>
# peakmeter squeeze 5px high
%V(0,57,-,5,3)%pm

--- End code ---
i wont upload this until cleaning up
todo: clean up viewpoint overlaps. ha. decide where the heck the battery/repeat thingies should go as a subline, perhaps on the progress bar as originally planned

longtime reader of forums here. Never really had any questions until now.
I'm screwing around with theming for a sansa clip +  ::)
I'm trying to combine lines as much as possible to allow for more space for other information.

I've gone to reducing the time elapse & total to smallest readable font for my tastes at the ends of the YellowBar progress line, and the progress bar squished to 3 pixels in the middle of a 5 pixel high space (no border, adapted Edgar Törnig's great 'ticker' progressbar idea).

I would like a way to have a 5-pixel high marker following the progress bar (elapsed) that would be interchangeable between the play/ff/rew/pause icons when those functions are active. If not possible, then a compromise like change the bgprogressbar to a specific one according to buttonpress (the first 5x5 pixels of the background showing an action icon)

the theme idea would be
yellow top line: subline1 custom status bar (batt/vol/shuf/repeat); subline2 (peak meter); conditional subline3 (the lesser used status icons if active)

yellow bottom line: subline1 combined time elapsed/prog. bar with function shown/total time; subline2 next file

blue top line: 16pt track title or filename scroll

blue 2nd line: using slightly smaller font- conditional subline1 albumartist or artist; subline2 album/(year); subline3 conditional for the rating if avail

blue 3rd line: small font- subline1 codec/bitrate/etc; subline 2 conditional (if i come up with something else useful)



can i pack the converted silkscreen font if any of this works?

JdGordon:
the only thing which might not work is the peakmeter.. everything else sounds perfectly doable

ixo4vita:
so the behavior below should be possible then for a progress bar?


|-------->       | play
|------------»   | f.f
|---«            | rew.
|--------||      | pause
|----#           | stop


i probably will put the peak meter at the unused spot at the bottom

JdGordon:
oh, misunderstood... no, that isnt possible. I thought you wanted to replace the bar compeltly.
having that sort of thing is on the todo list though

ixo4vita:
does the %mp tag allow bmp's?
i could draw a shorter progbar and stuff that tag at either end and draw an icon no?

Navigation

[0] Message Index

[#] Next page

Go to full version