Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: killing the statusbar... next steps

killing the statusbar... next steps

From: Jonathan Gordon <jdgordy_at_gmail.com>
Date: Thu, 12 Nov 2009 00:30:58 -0800

Hi all,
The patch to remove the internal hard coded statusbar is just about
ready to go in, but really the only thing holding it back right now is
the replacement skinned versions arnt ready (actually they mostly
are).

The problem is unlike the shipped .wps's there is no need to have one
classic_statusbar.[r]sbs for every target. 3 are needed. (no
recording, hwcodec+recording, swcodec+recording) a mostly working
version of each is already in svn, and the bmp's for them are also
there (and very shared also)...

I really dont want to mess with buildwps.pl for this because I cant
stand perl, and I'm sure I'll break it... so would there be much
objection to using the buildzip script instead to get the right theme
into the zip file?

Or alternatively, is anyone willing to volunteer to fix buildwps.pl to
handle this?

Also, if anyone thinks they can do a better job at skinning the
replacement bar... please let me know (or even go ahead and do it so
they can be committed :D )

If you care here is a bit more info on whats changing:
http://www.rockbox.org/tracker/task/10709 is the patch... there is a
new inbuilt (skinned) bar which is always going to be at the top and
will show the battery level, volume, hold status, clock and disk
access " Batt:%bl %bc%ac%?lh<*|> %mr%ar%?ca<%?St|time
format|<%cH|%cI>:%cM|--:--> " is the actual skin code for the remote
(the only difference is the remote hold instead of main hold).

This inbuilt one will almost never be visible. I *really* cant imagine
anyone actually wanting to use it, so it is only there for screens
which want to force the bar (which I think is a bad idea, but comes
from very old code) and where a user sbs isn't loaded.
If a [r]sbs isnt loaded, or fails to load it will be the same as if
its off in svn atm. (so everything uses the full screen).
As for theme defaults.. the cabbie theme will be fixed to use
classic_statusbar until (on the targets that make sense) a better
alternative comes up.
You will be able to easily say "dont load any sbs" by loading a
special file under the custom statusbar menu (rockbox-none or
something)

Any objections and volunteers?

Jonathan
Received on 2009-11-12


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa