1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/gui
Thomas Martitz 1016ee4e80 Initial custom statusbar commit.
The custom statusbar can be used as a WPS for the main UI, using .(r)sbs files. It's using the skin engine and knows all tags the WPS also knows.
The default folder for .sbs is the wps folder to reuse images used in the WPS.
As it can be shown in the WPS also, it's useful to move shared parts to the custom statusbar in order to save skin buffer space.
There are a few restrictions/TODOs:
*) Peak meter doesn't redraw nicely(not frequent enough), as very frequent updates would slow the UI down as hell (some targets fight with it in the WPS already: FS#10686)
*) No touchregion support as the statusbar doesn't have any action handling (it won't fail to parse though).
*) Drawing stuff into the default VP is forbidden (loading images in it is not). You *need* to use viewports for the displaying stuff (parsing fails if no viewport is used).
*) Themes that don't use a custom ui viewport can be fixed up using the new %Vi tag to avoid nasty redraw effectts (you must not draw into it as well, it's used to fix up the ui viewport). %Vi describes the viewport that the lists can use without getting in the way of the statusbar.

Otherwise, it behaves like the classic statusbar, it can be configured in the theme settings, and can be turned off in the wps using %wd.

Note to translaters: When translating LANG_STATUSBAR_CUSTOM, please consider using the same translation as for LANG_CHANNEL_CUSTOM if it's compatible. They could be combined later then.

Flyspray: FS#10566
Author: myself

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23258 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 15:28:15 +00:00
..
bitmap Fix position calculation of title icon. 2009-10-06 13:32:37 +00:00
charcell Make the formatter functions used by the settings return a pointer to avoid usless copying of lang strings, this brought with it a long chain of const correctness and a few random cleanups 2009-08-20 16:47:44 +00:00
skin_engine Initial custom statusbar commit. 2009-10-19 15:28:15 +00:00
backdrop.c Correct yet another typo causing reds and greater shame on me. 2009-08-06 00:48:08 +00:00
backdrop.h Fix/hack checkwps + add Onda VX747/VX777 targets 2009-08-21 18:15:20 +00:00
buttonbar.c FS#10080 2009-07-14 13:57:45 +00:00
buttonbar.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
color_picker.c RTL: Cosmetic changes, no functional change - Rename constants 2009-10-11 20:15:22 +00:00
color_picker.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
icon.c Fine tuning of gui elements positioning in RTL mode 2009-10-05 23:41:59 +00:00
icon.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
list.c Use wrap-safe TIME_BEFORE/TIME_AFTER macros to compare times with current_time, instead of comparing them directly. 2009-10-18 15:50:30 +00:00
list.h revert r23093 and r 23094, since the title pointer is used to modify the title of the list from the callback function in one place 2009-10-11 09:40:47 +00:00
option_select.c Don't cast away constness 2009-10-10 09:55:28 +00:00
option_select.h Make the formatter functions used by the settings return a pointer to avoid usless copying of lang strings, this brought with it a long chain of const correctness and a few random cleanups 2009-08-20 16:47:44 +00:00
pitchscreen.c Correct a small misaligned brace. 2009-10-15 21:35:10 +00:00
pitchscreen.h Fix red in bootloaders 2009-07-11 17:16:23 +00:00
quickscreen.c Deinline fuction and some whitespace tweaks 2009-10-10 07:46:54 +00:00
quickscreen.h Quickscreen: 4th item 2009-08-29 14:42:03 +00:00
scrollbar.c Fix STRIDE macro for multiscreen and add stride support for picture lib. 2009-09-04 00:46:24 +00:00
scrollbar.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
splash.c RTL: Cosmetic changes, no functional change - Rename constants 2009-10-11 20:15:22 +00:00
splash.h FS#9281 Rename of splash functions. 2008-08-15 08:27:39 +00:00
statusbar-skinned.c Initial custom statusbar commit. 2009-10-19 15:28:15 +00:00
statusbar-skinned.h Initial custom statusbar commit. 2009-10-19 15:28:15 +00:00
statusbar.c Initial custom statusbar commit. 2009-10-19 15:28:15 +00:00
statusbar.h Initial custom statusbar commit. 2009-10-19 15:28:15 +00:00
viewport.c Initial custom statusbar commit. 2009-10-19 15:28:15 +00:00
viewport.h Initial custom statusbar commit. 2009-10-19 15:28:15 +00:00
wps.c Initial custom statusbar commit. 2009-10-19 15:28:15 +00:00
wps.h Rework albumart buffering internally to allow for mutliple albumart sizes. 2009-10-16 19:14:41 +00:00
yesno.c Fix FS#9842 by stopping scrolling before leaving the yesno screen. 2009-09-05 18:10:41 +00:00
yesno.h Clean up some more #includes 2009-03-08 18:37:32 +00:00