Support and General Use > Theming and Appearance Customization

Customisable Statusbar

(1/6) > >>

kugel.:
I today committed my custom statusbar work.

It allows you to write WPSes for the main UI (lists, etc) replacing the classic statusbar.


You can use virtually all tags you can use in the WPS. I've updated http://www.rockbox.org/wiki/CustomWPS to mention the restrictions for custom statusbar (see especially under viewports: You must use viewports, and having a %Vi that describes the list viewport is recommended).

To make it work, you need to put a .sbs file on the player and load it. Putting it into the /.rockbox/wps directory is recommended so that it can share images with the wps.

If you have questions, feel free to drop them

epithetless:
Very cool, kugel. Thank you for all of your GUI-related commits! The Rockbox interface is getting more attractive by the day. :D

Do we need to add a line of text to theme .cfg files indicating which particular .sbs file to use for the theme's statusbar? (If so, what would that line of text look like?)

mc2739:

--- Quote from: epithetless on October 20, 2009, 12:29:25 PM ---Do we need to add a line of text to theme .cfg files indicating which particular .sbs file to use for the theme's statusbar? (If so, what would that line of text look like?)

--- End quote ---

This is from the settings dumper plugin:


--- Code: ---sbs: Text.. Up to 32 characters. Should start with:"/.rockbox/wps/" and end with:".sbs"
--- End code ---

kugel.:

--- Quote from: epithetless on October 20, 2009, 12:29:25 PM ---Very cool, kugel. Thank you for all of your GUI-related commits! The Rockbox interface is getting more attractive by the day. :D

--- End quote ---

You're welcome :)


--- Quote ---Do we need to add a line of text to theme .cfg files indicating which particular .sbs file to use for the theme's statusbar? (If so, what would that line of text look like?)

--- End quote ---

Yes, for one you need sbs: /path/to/file.sbs which looks exactly like the wps line to load the file. And then you need statusbar: custom to actually display it.
Loading a statusbar from filebrowser will do both for you, you could then use settings_dumper or manage settings->save theme settings to save it permanentally (IIRC, just like the .wps files, the sbs: line will only be permanent if the file is located in the /.rockbox/wps directory).

epithetless:
Thanks, guys. I look forward to playing around with it when I have the time.

Navigation

[0] Message Index

[#] Next page

Go to full version