Support and General Use > Theming and Appearance Customization
List of WPS syntax and commands (including unsupported)
HRM:
--- Quote from: HRM on October 06, 2007, 09:40:44 AM --- These pages were a big help, but I am looking for more info.
http://www.rockbox.org/tw...in/SimpleGuideToWPSMaking and
http://www.rockbox.org/tw...i/bin/view/Main/CustomWPS
--- End quote ---
At this point my skills are close to zero, but I am trying to organize things for other newbies. If anything is incorrect or left out, please feel free to correct me or add below (or moderate for clarity)
Included below are the commands that are available by using the current Chrisjs Build. It can be downloaded here: http://chrisjs.com/
Like with everything, it is simple once understood. The list is short, but maybe this will help others.
I am trying to include all the WPS patches as noted here: http://chrisjs.com/?page_id=22 . You find this info by following the patch itself to the appropriate flyspray page, then clicking the task page if it the info isn't already displayed.
__________________________________________________________________________________
FS#5900 - Custom WPS Line with x/y/width coordinates and font face/color settings (from here : http://www.rockbox.org/tracker/task/5900 )
Details
This patch adds a new tag in your wps which looks like this:
%e|11|219|50|1|B8C8E1|%alMusic
Details:
11 = x coordinate
219 = y coordinate
30 = width
1 = userfont1 (this is the font face for this line which is defined in the wps.cfg)
B8C8E1 = the color for the line
%al is the normal tag for aligning text to the left
NOTE1: It depends on the multifont-userfonts.patch
NOTE2: All values have to be specified none of them is optional.
NOTE3: %s (scrolling tag) is not working yet, but I hope to integrate it soon.
_____________________________________________________________________
FS#5899 - Custom List/Menu x/y coordinates and width (from here : http://www.rockbox.org/tracker/task/5899 )
Details
This patch adds four options to the rockbox wps settings file so you can define a custom x/y coordinate for the list/menu and even a width and a number of lines.
The seetings in the theme.cfg file should look like following:
listxpos: 47
listypos: 47
listlines: 9
listwidth: 210
(these are the settings for the jClix theme for e.g.)
This should help people to create custom wps-es and place the menus anywhere on the screen.
___________________________________________________________________________
FS#2954 - Scrolling text margin for the wps  from here : (http://www.rockbox.org/tracker/task/2954 )
Details
The patch adds the possibility to restrict the width of a (scrolling) line.
It enables you to position the scroll text inside the line and give him a
starting and ending position.
It extents the %s WPS tag to the following:
%s%m|x1|x2|
where x1 is the x-position where the line text starts and x2 is the
ending x-position of the scroll text (actually, when I look at the
code, it should also work for nonscrolling text...)
Only one margin is allowed per line
__________________________________________________________________________
Llorean:
1) Please don't flood the forums reposting information in the Tracker. It's stated in the guidelines that the forums is NOT the place for documenting things. Especially when those things are features of Unsupported Builds.
2) Do NOT double post, the EDIT button exists for a reason.
3) rockbox-themes.org is not at this time officially part of Rockbox, so I have no clue at all why you're asking us about something that you feel they should be doing.
mnhnhyouh:
Would it be possible to start a thread in the unsupported builds section, that somebody agrees to maintain, that keeps track of the wps commands used by various unsupported builds?
This would seem to me to provide a convenient solution that was a one stop shop, and was in a place where it would be easily found.
It could be as simple as a post that lists...
Album Art Resize - tdbrook, EvilG
Other patches - other unsupported builds...
Album Art Resize - list wps terms....
Other patches - list their terms as well.
As other patches are added to custom builds the builder, or others could add to the bottom of the thread and the maintainer could edit the first post to keep it current.
What do you think?
h
Navigation
[0] Message Index
[*] Previous page
Go to full version