Support and General Use > Theming and Appearance Customization
[SOLVED] trying to write custom sbs file for Clip+ (128x64x1)
steak:
EDIT: Things are getting better... I rewrote the sbs file, took a screenshot : one single question left, read below...
Hi folks,
I am trying to work out a customised basic screen to suit my taste. Half the job is done but I am struggling to finish it. Having very little IT knowledge I write & test my code but after hours of unsuccessful work I get confused and quite honestly fed up.
So if someone more skilled could have a look at my sbs file and help, comment, etc.., it would be nice.
I paste my sbs file below, EDIT: NOT followed by [my wps so anyone could comment if it's properly written (licencing rules). Sorry for the hassle : my first theme]
EDIT: After more trials & errors I'm getting close. Only problem left : in all but one menu (File browser), I want no menu title on top of menu list (to allow more lines in the list).
In "File browser" menu, title is replaced by browsing path, which is useful. Somehow in "DFKT_Minimum_Clip_v2.sbs" I found a tag (%LB) which seems to display the browsing path. I did not find this tag in the manual (Clip+) so I am not sure what it stands for. If anyone knows, feel free to explain.
In all other menu (all which I use so far that is), menu title only reminds user of where he is. Useful if you are not familiar with the menus, otherwise not so much. So I got rid of it
BUT !! the line where it was is not filled by the menu, it is only blank
QUESION IS WOULD ANYONE KNOW HOW TO MOVE UP THE LIST ?
My updated "x8steak.sbs" file (simplified)
--- Code: ---# Theme: x8steak
# Author : steak
# Contact: http://forums.rockbox.org/index.php?action=pm;sa=send;u=24515
# Platform: Sandisk Sansa Clip+ (128x64x1)
# Licence: CC-BY-SA 3.0
%wd
# fonts
%Fl(2,08-Nedore.fnt)
%Fl(6,08-Namil-Small-Hyphen.fnt)
###### UI viewport
%Vi(-,0,25,-,-,-)
# line 1
## Playlist position + Conditionnal comment + Time
%V(0,0,-,8,6)
%s%al%pp/%pe %s%ar%?if(%cH,<=,5)<%cH:%cM.. tic tac%, le temps se carapate...|%?if(%cH,<=,22)<Tiens.. %cH:%cM...|%cH:%cM : baisse un peu le phono...>>
# line 2
## if File Browsing = next Track title & Artist ALTERNATIVELY (filename alone if title tag missing) ; otherwise Track artist
%V(0,8,-,8,6)
%s%?if(%cs,=,7)<%ac%t(1.5)%?It<%It|%Fn>;%ac%t(1)%?Ia<%Ia|%Fn>|%V(0,8,-,8,0)%ac%?It<%It|%Fn>>
--- End code ---
whiskers75:
AAAAAH! Put the file in code tags, please!
steak:
--- Quote from: whiskers75 on December 31, 2012, 11:36:32 AM ---AAAAAH! Put the file in code tags, please!
--- End quote ---
Eeermh... Define "file in code tags" please.
Off-subject: By mere curiosity, where do I find a plain word description of your commit or whatever I should call it ?
AlexP:
--- Quote from: steak on January 01, 2013, 10:30:38 AM ---
--- Quote from: whiskers75 on December 31, 2012, 11:36:32 AM ---AAAAAH! Put the file in code tags, please!
--- End quote ---
Eeermh... Define "file in code tags" please.
Off-subject: By mere curiosity, where do I find a plain word description of your commit or whatever I should call it ?
--- End quote ---
His comment :)
In the list of icons when you are posting, you can select one that makes what you type look:
--- Code: ---Like this
Fun eh?
--- End code ---
However, it doesn't matter at all so don't worry.
As for your actual question, from memory %LB is something to do with draweing scroll bars so not needed I think. Can't you just turn off showing the title in options?
steak:
--- Quote from: AlexP on January 02, 2013, 03:02:36 PM ---Can't you just turn off showing the title in options?
--- End quote ---
%LB does not help indeed
%Lt removes title but the list does not move up to fill the gap
I split the next song info in 2 lines when not in "File browser" menu : that way I fill the gap and the screen is more readable.
So far it's good enough. Now I should fix my wps (minor issue with scrolling line) but that will probably be in a few months ! Homework piles up.
Navigation
[0] Message Index
[#] Next page
Go to full version