Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Sansa Clip+ Themes: hornet_top & hornet_bot ==> replaced by theme hornet
« previous next »
  • Print
Pages: [1]

Author Topic: Sansa Clip+ Themes: hornet_top & hornet_bot ==> replaced by theme hornet  (Read 1753 times)

Offline HornetMaX

  • Member
  • *
  • Posts: 27
Sansa Clip+ Themes: hornet_top & hornet_bot ==> replaced by theme hornet
« 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
HORNET_BOT: 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):
  • Battery indicator: it honors the rockbox setting graphic/text. In graphic mode, it blinks for a while to text.
  • Charger / USB indicator (guess USB one is for future stuff)
  • Volume indicator: it honors the rockbox setting graphic/text. In graphic mode, it goes text while changing the volume.
  • For WPS: repeat and shuffle icons.
  • For FMS: signal strength icons, stereo/mono/not tuned icon.
  • For REC: like default rockbox status bar.
  • Disk access icon and lock icon (they use the same space).
  • Time of day (24/12 mode according to setting).
WPS:
  • 1 line scrolling title (or file name).
  • 1 line alternating between Artist and Album (Year).
  • Progress bar with current time and total time (song)
  • Codec, sample frequency and playlist info (e.g 3/13)
  • CBR/VBR, bit rate and ReplayGain infos (- = off, ? = no tag, A/T/AS/TS for Album, Track, Track shuffle and Album shuffle respectively; NC when Prevent Clipping is active; when relevant, the above info will alternate with the current replaygain value).
  • Peak meter
  • When locked, only status bar and first two lines (title, artist/album) are left, the rest is replaced by a large clock and date.

FMS:
  • Progress bar.
  • Large frequency.
  • Preset number/name.
  • Scan/Preset, Stereo/Mono, Signal strength
  • Here too I've coded the large clock/date when FMS is locked, but I'm unable to lock the Clip+ in FMS (and neither in REC), sounds like a bug.

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.
« Last Edit: April 18, 2011, 08:44:52 AM by HornetMaX »
Logged

Offline HornetMaX

  • Member
  • *
  • Posts: 27
Re: Sansa Clip+ Themes: hornet_top & hornet_bot
« Reply #1 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

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):
  • Battery indicator: it honors the rockbox setting graphic/text. In graphic mode, it blinks for a while to text.
  • Charger / USB indicator (guess USB one is for future stuff)
  • For WPS: repeat and shuffle icons.
  • For FMS: signal strength icons, (no need, as shown in the FMS)) stereo/mono/not tuned icon.
  • Volume indicator: it honors the rockbox setting graphic/text. In graphic mode, it goes text while changing the volume.
  • For REC: like default rockbox status bar.
  • Disk access icon and lock icon (they use the same space).
  • Time of day (24/12 mode according to setting).
WPS:
  • 1 line scrolling title (or file name).
  • 1 line alternating between Artist and Album (Year).
  • Progress bar with current time and total time (song)
  • Codec, sample frequency and playlist info (e.g 3/13)
  • CBR/VBR, bit rate and ReplayGain infos (- = off, ? = no tag, A/T/AS/TS for Album, Track, Track shuffle and Album shuffle respectively; NC when Prevent Clipping is active; when relevant, the above info will alternate with the current replaygain value (removed, not  a big deal))).
  • Peak meter
  • When locked, only status bar and first two lines (title, artist/album) are left, the rest is replaced by a large clock and date.

FMS:
  • Progress bar.
  • Large frequency.
  • Preset number/name.
  • Scan/Preset, Stereo/Mono, (removed, already shown in the status bar) Signal strength
  • Here too I've coded the large clock/date when FMS is locked, but I'm unable to lock the Clip+ in FMS (and neither in REC), sounds like a bug.

MaX.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Sansa Clip+ Themes: hornet_top & hornet_bot ==> replaced by theme hornet
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.066 seconds with 22 queries.