Support and General Use > Theming and Appearance Customization
320x240x16 "Slant" | Finished!!! :D
senab:
@carmenm:
The reason the volume display (and all text in that line) doesn't update is because it's in a scrolling margin. No text updates within a scrolling margin.
Try this instead:
--- Code: ---#
# Slant WPS
# -----------------------
# created by Chris Banes
# aka senab
%wd
%X|bg2.bmp|
%P|pb2.bmp|
%xl|a|icon_on.bmp|52|0|
%xl|b|icon_on.bmp|107|0|
%xl|c|icon_on.bmp|167|0|
%xl|d|icon_on.bmp|222|0|
%xl|e|play.bmp|11|204|
%xl|f|pause.bmp|10|202|
%xl|g|stop.bmp|9|202|
%xl|h|ff.bmp|11|205|
%xl|i|rw.bmp|11|205|
%xl|j|batt0.bmp|150|207|
%xl|k|batt1.bmp|150|207|
%xl|l|batt2.bmp|150|207|
%xl|m|batt3.bmp|150|207|
%xl|n|batt4.bmp|150|207|
%xl|o|batt5.bmp|150|207|
%xl|p|batt6.bmp|150|207|
%xl|A|vol1.bmp|238|200|
%xl|B|vol2.bmp|238|200|
%xl|C|vol3.bmp|238|200|
%xl|D|vol4.bmp|238|200|
%xl|E|vol5.bmp|238|200|
%xl|F|vol6.bmp|238|200|
%xl|G|vol7.bmp|238|200|
%xl|H|vol8.bmp|238|200|
%xl|I|vol9.bmp|238|200|
%xl|J|vol10.bmp|238|200|
%xl|K|vol11.bmp|238|200|
%Cl|3|40|s150|s150|
%?mp # Play/Pause
%?ps # Shuffle
%?mm # Repeat
%?mh # Hold
%?lh # HDD Activity
%?pv # Volume
%?bp # Battery
%s%m|156|319|%?ia
%s%m|156|319|%?it
%s%m|156|319|%?id
%s%m|156|319|%iT - %iA
%s%m|156|319|Track %?in :: %fc(%?fb)
%s%m|0|320|
%ac%pb|14|159|313|161|
%s%m|156|320|%al %pc %ac%pt %ar-%pr
%s%m|0|320|
%al %cH:%cM %ac %?bp%ar%pvdb
%C
--- End code ---
(you may have to mess around with the spaces to make it align right, just copy the line from the original WPS file again)
Regarding the Album Art and the progress bar, it's basically just how it is. There's nothing you can do to change this behaviour, it's a bug (not sure what in though tbh).
I've recently been away from my laptop, but i'll be home again tomorrow so i'm going to update the WPS and get the metadata handling to my liking. After that i'll probably start porting to other platforms. Any preference's which one I should do first?
memo232:
very good theme senab u rock but i thing a good theme idea would be a metroid prime themes it would be cool and(i know is out of topic) but were do you go to learn how to make themes?
kett rocking hard senab. ;D
carmenm:
--- Quote from: senab on July 11, 2007, 06:00:22 PM ---@carmenm:
The reason the volume display (and all text in that line) doesn't update is because it's in a scrolling margin. No text updates within a scrolling margin.
Try this instead:
--- Code: ---
--- End code ---
(you may have to mess around with the spaces to make it align right, just copy the line from the original WPS file again)
Regarding the Album Art and the progress bar, it's basically just how it is. There's nothing you can do to change this behaviour, it's a bug (not sure what in though tbh).
--- End quote ---
Ok what you gave didnt seem to work, i dont realy know why. Works great on the simulator but when using it on my ipod, when playing a song the first second everything s ok but after the line for the time, battery ... realign itself to x=156 just like it didnt use the last %m.
But what you told me gave me the solution, i dont need %s on that line and on the one for the track time(and i think you dont either), so i got rid of it while keeping the %m and now everything s ok. Thanks for your help senab.
senab:
Update
I've now made the WPS check for Album Art, if there is none then it center's all the text. I'm still looking at what extra info to add to the screen.
http://www.rockbox.org/twiki/bin/view/Main/WpsIpod5g#Chris_Banes_Senab
EDIT: It's also been updated at rockbox-themes.org
http://www.rockbox-themes.org/index.php?res=320x240x16#Slant
sharn:
--- Quote from: carmenm on July 12, 2007, 03:27:26 AM ---
Ok what you gave didnt seem to work, i dont realy know why. Works great on the simulator but when using it on my ipod, when playing a song the first second everything s ok but after the line for the time, battery ... realign itself to x=156 just like it didnt use the last %m.
But what you told me gave me the solution, i dont need %s on that line and on the one for the track time(and i think you dont either), so i got rid of it while keeping the %m and now everything s ok. Thanks for your help senab.
--- End quote ---
I really like this theme. I tried to modify it to show "next" playing song artist and title information instead of the filename and encoding details, but I experienced the same thing carmenm did. Everything would shift over. I played around with the spacing of the bottom lines a bunch but never could get it right. Any ideas? Here's the last 13 lines of the file where I made my change.
--- Code: ---%s%m|116|319|%?ia
%s%m|116|319|%?it
%s%m|116|319|%?id
%s%m|116|319|%?Ia
%s%m|116|319|%?It
%s%m|0|320|
%ac%pb|14|11|309|149|
%s%m|116|320|%al %pc %ac%pt %ar-%pr
%s%m|0|320|
%al %cH:%cM %ac %bl%%%ar%pvdb
%C
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version