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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Sansa Clip skin idea (w.i.p.) - need to know about squishing and combining stuff
« previous next »
  • Print
Pages: [1]

Author Topic: Sansa Clip skin idea (w.i.p.) - need to know about squishing and combining stuff  (Read 1472 times)

Offline ixo4vita

  • Member
  • *
  • Posts: 10
  • Random acts of genius to cancel out the stupidity
Sansa Clip skin idea (w.i.p.) - need to know about squishing and combining stuff
« on: July 21, 2010, 10:46:24 PM »
Code: [Select]
# 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
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?
« Last Edit: August 04, 2010, 04:56:52 AM by ixo4vita »
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Sansa Clip skin idea (w.i.p.) - need to know about squishing and combining stuff
« Reply #1 on: July 22, 2010, 01:42:25 AM »
the only thing which might not work is the peakmeter.. everything else sounds perfectly doable
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline ixo4vita

  • Member
  • *
  • Posts: 10
  • Random acts of genius to cancel out the stupidity
Re: Sansa Clip skin idea (w.i.p.) - need to know about squishing and combining stuff
« Reply #2 on: July 22, 2010, 02:37:40 AM »
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
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Sansa Clip skin idea (w.i.p.) - need to know about squishing and combining stuff
« Reply #3 on: July 22, 2010, 02:41:53 AM »
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
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline ixo4vita

  • Member
  • *
  • Posts: 10
  • Random acts of genius to cancel out the stupidity
Re: Sansa Clip skin idea (w.i.p.) - need to know about squishing and combining stuff
« Reply #4 on: July 22, 2010, 03:02:25 AM »
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?
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Sansa Clip skin idea (w.i.p.) - need to know about squishing and combining stuff
« Reply #5 on: July 22, 2010, 03:12:04 AM »
sure %?mp<>  will let you draw images or text or whatever
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline ixo4vita

  • Member
  • *
  • Posts: 10
  • Random acts of genius to cancel out the stupidity
Re: Sansa Clip skin idea (w.i.p.) - need to know about squishing and combining stuff
« Reply #6 on: August 08, 2010, 06:58:45 PM »
Ran into the %pb and %pv bars not working.
http://forums.rockbox.org/index.php?topic=25451.msg170310#msg170310

Although this one is strange the announced scripting changes were implemented well before the particular build was made which broke the behaviour. ah well.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Sansa Clip skin idea (w.i.p.) - need to know about squishing and combining stuff
 

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

Page created in 0.063 seconds with 14 queries.