Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: HornetMaX on April 15, 2011, 07:07:20 PM

Title: Sansa Clip+ Themes: hornet_top & hornet_bot ==> replaced by theme hornet
Post by: HornetMaX on April 15, 2011, 07:07:20 PM
EDIT 18/04/2011: see the reply to this message for a new theme (hornet) replacing the two hornet_top and hornet_bot.

A couple of themes for the Clip+. The difference between the to is the position of the status bar: top or bottom.
Notice that the position is hard-coded, it does not honor the rockbox setting: I haven't yet found a way to do that, see note at the end of the post.

LINKS:
HORNET_TOP: http://themes.rockbox.org/index.php?themeid=1339&target=sansaclipplus (http://themes.rockbox.org/index.php?themeid=1339&target=sansaclipplus)
HORNET_BOT: http://themes.rockbox.org/index.php?themeid=1340&target=sansaclipplus (http://themes.rockbox.org/index.php?themeid=1340&target=sansaclipplus)

COMPATIBILITY:
Works with 3.8.1 and r29712. In FMS there's a %tr, so for sure it won't work prior to r28559.
It needs the Font pack. Version history in the .cfg files.

CREDITS:
Theme clock_lock2 (Clark Locke) for the large clock shown when player locked (good idea).
Theme Pony (Nick Peskett alias nick_p) for multiple icons.

FEATURES:
Status bar (top or bottom):
WPS:

FMS:

MaX.

NOTE:
I've been unable to make my status bar appear on top or bottom depending on the rockbox setting. This because of one major missing feature in the syntax of the theme language. Actually I have found a way to do that, but the resulting theme is too big for the Clip skin RAM.  >:(

EDIT 18/04/2011: see the reply to this message for a new theme (hornet) replacing the two hornet_top and hornet_bot.
Title: Re: Sansa Clip+ Themes: hornet_top & hornet_bot
Post by: HornetMaX on April 18, 2011, 08:42:09 AM
I've managed to have a single theme with the status bar configurable (top or bottom).
The theme is called hornet and replaces (with a few minor differences) the previous hornet_top and hornet_bot.

I've done some really tricky stuff in order to have the theme fitting the 49Kb max allowed on the Clip+.
One of the tricks is to remove all the comments from the theme files, making them highly unreadable.
In case someone is interested, I can PM or mail the files with comments.
There are also some tricky %t(0) to prevent redraw issues.
And of course, the theme is large (45.4Kb) because I had to duplicate a lot of code in order to handle the top/bottom status bar setting.

LINKS:
HORNET: http://themes.rockbox.org/index.php?themeid=1341&target=sansaclipplus (http://themes.rockbox.org/index.php?themeid=1341&target=sansaclipplus)

COMPATIBILITY:
Works with 3.8.1 and r29712. In FMS there's a %tr, so for sure it won't work prior to r28559.
It needs the Font pack. Version history in the .cfg files.

CREDITS:
Theme clock_lock2 (Clark Locke) for the large clock shown when player locked (good idea).
Theme Pony (Nick Peskett alias nick_p) for multiple icons.

FEATURES:
Status bar (top or bottom as defined in RB setting):
WPS:

FMS:

MaX.