Commit graph

78 commits

Author SHA1 Message Date
Jonathan Gordon
9928e3418f Another major skin backend update/hopefully bugfix:
Skins are now more self contained in the skin manager which in the future might allow on demand skin loading (i.e smaller skin buffers)
Skin backdrops are also managed more intelegently (fixes a bug where you can get a crazy backdrop loaded if a .sbs fails to load)

the rockbox_default rescue theme is now called rockbox_failsafe to better express what it actually is.

This commit hopefully/maybe fixes the heavily reported data aborts, so please check if you are getting them

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28073 a1c6a512-1295-4272-9138-f99709370657
2010-09-14 11:56:50 +00:00
Thomas Martitz
4bca51b5b7 Cabbiev2 480x800 port, very similar to the 320x480 one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27794 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 19:06:40 +00:00
Thomas Martitz
af708fd544 Cabbiev2 for 320x480.
TODO: Touch regions, battery and hold button icons

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27722 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 17:54:36 +00:00
Thomas Martitz
240923a801 Rockbox as an application: Commit current Android port progress.
General state is: Rockbox is usable (plays music, saves configuration, touchscreen works too).
Problems:
 - Playing music in the background (i.e. when switching to another app) doesn't work reliably, but I'm working on that now.
 - no cabbiev2 (only some preliminary files for it), no other default theme.
 - screen flickers sometimes if the updates are too frequent
 - no multi screen apk/package
 - strange behavior when a phone call comes in

The java files (and the eclipse project) resides in android/, which is also supposed to be the build folder.
I've put a small README in there for instructions. There are some steps needed after the make part, which are described there,
and which eclipse mostly handles. But there ought to be some script/makefile rules which do that instead in the future.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27668 a1c6a512-1295-4272-9138-f99709370657
2010-08-02 20:34:47 +00:00
Thomas Martitz
9c0b2479f7 Rockbox as an application: add get_user_file_path().
For RaaA it evaluates user paths at runtime. For everything but codecs/plugins it will give the path under $HOME/.config/rockbox.org if write access is needed or if the file/folder in question exists there (otherwise it gives /usr/local/share/rockbox).
This allows for installing themes under $HOME as well as having config.cfg and other important files there while installing the application (and default themes) under /usr/local.

On the DAPs it's a no-op, returing /.rockbox directly.

Not converted to use get_user_file_path() are plugins themselves, because RaaA doesn't build plugins yet.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27656 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 16:15:27 +00:00
Jonathan Gordon
c0a289cf46 undo accidental commit from the big one
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26645 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 04:31:05 +00:00
Jonathan Gordon
5b0521c9aa Changeover to the new skin format. SkinBreakingChange in the wiki has the runown of the changes.
Major changes are paramerterised tags now use %tag(param,param), colours are removed from the %V() tag, %Vi gets a required (but can be -) label as its first param).

utils/skinupdater/ has a program to update individual skins, and a perl script to update a whole zip.
Themesite will be unusable for the time being (you should be able to upload new themes once it updates checkwps though).

I obviously havnt tested every updated wps in this change so let me know if one doesnt load


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26641 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 03:44:11 +00:00
Rafaël Carré
1dc7f490c9 Use a different remote font than the main LCD font
Works for both wps config and settings
Only change targets with LCD_REMOTE_HEIGHT <= 64 (irivers) to use
08-Rockfont

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26505 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 07:30:01 +00:00
Marianne Arnold
7e9537c834 Cabbiev2 port for the mpio HD20's 128x128 greyscale screen - mixing the same size colour version with the same width greyscale version (code could be cleaned up though). Add the necessary changes to let it be included automatically and used as default WPS. Menu backdrop and dedicated icons are missing but the inbuilt ones are still there - same as on the M3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25744 a1c6a512-1295-4272-9138-f99709370657
2010-04-27 22:59:32 +00:00
Thomas Martitz
d401d7bc55 Fix wpsbuild to properly generate "-" for theme related settings (to get the default values/no file for filename settings).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24813 a1c6a512-1295-4272-9138-f99709370657
2010-02-21 19:10:57 +00:00
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
Thomas Martitz
94f7651341 Revert r23212, I committed it accidentally.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23214 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 20:34:04 +00:00
Thomas Martitz
8d032ae136 initial custom statusbar commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23212 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 20:30:09 +00:00
Jonas Häggqvist
13e23dd496 Clear up theme licensing:
- All theme authors have been contacted and agreed to relicense their theme
    under the CC-BY-SA 3.0 unported license.
  - Themes can still be used as GPLv2 or later if you like.
  - The marquee theme is removed, as the author couldn't be contacted.
  - An AUTHORS and COPYING file is added, containing a list of authors and the
    full license text, respectively.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23131 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 15:40:18 +00:00
Thomas Martitz
4c48b59be8 User definable UI viewport, to be able to restrict the UI into a viewport for all bitmap displays.
Flyspray: FS#8799

This will allow for pretty themes, for example those with nice glass effects on their backdrops (some might argue they're wasting screen space but it's upto them),
as well as allowing for future background WPS updates in the main UI.

Plugins are not converted yet, they simply use the full screen. Ideally, any plugin that does *not* want the UI viewport, should take care of that itself (i.e. plugins should normally use the UI viewport).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22365 a1c6a512-1295-4272-9138-f99709370657
2009-08-16 22:20:11 +00:00
Jonathan Gordon
672b8b6375 Fix the shipped themes statusbar config line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21825 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 22:02:02 +00:00
Maurus Cuelenaere
493a595db0 Add CabbieV2 for Onda VX747
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20522 a1c6a512-1295-4272-9138-f99709370657
2009-03-24 22:05:28 +00:00
Jens Arnold
1a79cfd174 Explicitly exclude the font for the Player in rockbox_default.wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19831 a1c6a512-1295-4272-9138-f99709370657
2009-01-23 21:16:05 +00:00
Thomas Martitz
44f88585cb Clip: fix font compilation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19823 a1c6a512-1295-4272-9138-f99709370657
2009-01-23 06:42:05 +00:00
Jens Arnold
f2c7a69403 Font cleanup step 3 - The Big Shuffle: Renamed all fonts to a consistent naming scheme that allows easy selection of alternatives based on size, as discussed on IRC. Adjusted themes in SVN and Makefile for the sysfont. ** Attention **: Clean up your /.rockbox/fonts folder before installing the new release, and then install a new font pack as well. Adjust font names in your custom .cfg files. A reference table can be found in fonts/README.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18388 a1c6a512-1295-4272-9138-f99709370657
2008-09-02 22:31:11 +00:00
Dave Chapman
7c5722ad78 Remove a trailing space that prevented the font being copied for the 138x110x2 cabbiev2 theme
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16766 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 22:08:06 +00:00
Marianne Arnold
29d9ee40f3 Cabbiev2 for the m:robe 100. It seems that just adding the WPS already makes it show as default and no other chaanges were needed (worked in the sim). The default font was already set correctly to helvR10 because this is what all 160x128 screens use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16554 a1c6a512-1295-4272-9138-f99709370657
2008-03-08 12:49:04 +00:00
Nicolas Pennequin
064f702a80 Improvements to cabbie v2 for the Gigabeat. The font is now helvR12, which looks better than helvR14 and is consistent with other targets. Also corrected kB/s to kbit/s.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16537 a1c6a512-1295-4272-9138-f99709370657
2008-03-06 13:55:36 +00:00
Jens Arnold
d11c4dd655 Forgot to adjust one WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16403 a1c6a512-1295-4272-9138-f99709370657
2008-02-24 09:33:37 +00:00
Jens Arnold
f928c8f0f8 Turned out that setting the viewer iconset to empty properly chooses the default iconset, and the problem with the default viewer iconset on greyscale targets was that there was a file too much in icons/. The defaults are copied from elsewhere, and differ between grey/mono and colour targets. The extraneous file overwrote the default when building the .zip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16399 a1c6a512-1295-4272-9138-f99709370657
2008-02-23 22:54:33 +00:00
Marianne Arnold
620da596fb Third time's the charme - even if it's just in comments, no mention of the weather etc. necessary.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16391 a1c6a512-1295-4272-9138-f99709370657
2008-02-23 13:25:43 +00:00
Marianne Arnold
a12eefb36c Copy and paste mishap in the DancePuffDuo section: statusbar was already defined but the selector type setting was missing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16390 a1c6a512-1295-4272-9138-f99709370657
2008-02-23 13:12:08 +00:00
Marianne Arnold
01bf4d35ac Themes need to specify backdrop, colours, icon sets and selector type bar if they differ from the new default cabbiev2. Add the necessary strings to WPSLIST so that all shipped themes include them in their cfg files to prevent black text on the dark cabbiev2 background. Define black on 'rockboxblue' for themes with colour screen versions but no colours defined before; set the selector type to 'bar (inverse)' for most of them and use the text only RWPS for Rockboxed - it would have used the cabbiev2.rwps before which would look on a H3x0 with remote due to a different font size and the graphics.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16388 a1c6a512-1295-4272-9138-f99709370657
2008-02-23 13:04:41 +00:00
Dave Chapman
e7e3172b52 "viewers iconset:" must not be empty, so revert that change to wpsbuild.pl and make iCatcher specify /.rockbox/icons/viewers.bmp. Thanks to Jens for pointing this out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16386 a1c6a512-1295-4272-9138-f99709370657
2008-02-23 10:48:30 +00:00
Dave Chapman
3716179a24 Add empty strings for "backdrop:", "iconset:" and "viewers iconset:" for iCatcher, and adapt wpsbuild.pl to accept empty strings. Also change wpslist to allow any number of spaces (including 0) between the : and the value. NOTE: The other bundled themes (and third-party themes) should be changed to specify values for everything set by CabbieV2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16385 a1c6a512-1295-4272-9138-f99709370657
2008-02-23 10:22:06 +00:00
Michael Giacomelli
875937a26d The sims look funny for me unless I set a default line selector type. Since no one else has complained this probably doesn't matter on the actual device.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16376 a1c6a512-1295-4272-9138-f99709370657
2008-02-23 03:39:46 +00:00
Michael Giacomelli
66cfed16b0 Make the build script ignore color-only options on grayscale targets. Also, change how backdrop files are entered in preperation for setting a default theme.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16373 a1c6a512-1295-4272-9138-f99709370657
2008-02-22 22:32:22 +00:00
Marianne Arnold
d08af61394 Several fixes for the cabbiev2 theme. (1) Rename the files used for the rwps and change the WPSLIST so that it is done the same way as for iCatcher and .rwps files are actually included in the zip. (2) Replace the Iaudio rwps background which was taken fron the unicode version before with the correct one. (3) Fix the e200 wps to look like the author intended and with the progressbar at the right spot. (4) Make the 160x128 greyscale version use the helvR10 font as the colour version does. This also fixes a potential issue with the Iaudio rwps. (5) Clean up the WPSLIST a bit and drop (hopefully) unnecessary definitions. I guess it could be even simplified some more, someone with a bit perl foo should look into this. -- (3) and (4) taken from the last entries in FS#8443 by Apoo Maha.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16196 a1c6a512-1295-4272-9138-f99709370657
2008-02-02 01:10:43 +00:00
Michael Giacomelli
cba886d9b7 Set different icons for each resolution in the build script.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16131 a1c6a512-1295-4272-9138-f99709370657
2008-01-21 06:19:22 +00:00
Michael Giacomelli
b58071a1d2 Fix Cabbie on non-color targets by not including the gradient selection bar. Also, update the build script so that different targets can have different selection bars.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16130 a1c6a512-1295-4272-9138-f99709370657
2008-01-21 02:37:25 +00:00
Michael Giacomelli
8b01677c52 Commit new theme: Cabbie 2.0\! Thanks to everyone in the forums who made this possible. If you see any problems
please report them in FS#8443.  Once we are satisfied that Cabbie 2.0 is workable, it will hopefully become the new default rockbox theme\!

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16126 a1c6a512-1295-4272-9138-f99709370657
2008-01-21 00:26:53 +00:00
Marianne Arnold
d648c0d192 One more... Rockboxed for the Sansa c200s by Roan Horning (FS #7855).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14890 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 19:29:10 +00:00
Marianne Arnold
1c1ab63d2b Icatcher for the Sansa c200s by Ioannis Koutoulakis.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14889 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 18:57:55 +00:00
Nicolas Pennequin
967d172419 Accept FS#5098 by Dominik Riebeling: RWPS for the zezayer theme.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13458 a1c6a512-1295-4272-9138-f99709370657
2007-05-21 18:46:11 +00:00
Marianne Arnold
3fb7c5cb41 DancePuffDuo.wps and marquee.wps can use the nimbus-13 font now. Fixed the alignment issues that were there since the chicago-'12' font had been removed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13326 a1c6a512-1295-4272-9138-f99709370657
2007-05-05 10:05:14 +00:00
Jens Arnold
abd103c315 Enable building WPSs and themes for charcell targets, and add an example WPS using special charcell progress and text alignment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13015 a1c6a512-1295-4272-9138-f99709370657
2007-04-04 06:26:53 +00:00
Nicolas Pennequin
9d5f73cd85 Add foreground and background color information to iCatcher and UniCatcher.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12308 a1c6a512-1295-4272-9138-f99709370657
2007-02-14 19:15:14 +00:00
Marcoen Hirschberg
34c799a6f1 fix fonts in Rockboxed theme
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12277 a1c6a512-1295-4272-9138-f99709370657
2007-02-12 00:00:10 +00:00
Marcoen Hirschberg
69e3ffd825 add the 'Rockboxed' theme by Roan Horning, moddified to work with the wpsbuild script
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12273 a1c6a512-1295-4272-9138-f99709370657
2007-02-11 20:55:50 +00:00
Marcoen Hirschberg
e14594edf4 WPS updates by Ioannis Koutoulakis
iCatcher/UniCatcher:
- Better drawn bitmaps for iPod5G/Gigabeat
- Better drawn shuffle icon for other colour targets, as well
- Wavpack codec icon now shows "WV" instead of "WVPC"
iCatcher:
- iPod5G/Gigabeat versions now use nimbus-19 font. It's better now and more consistent to other versions that use nimbus font as well


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12191 a1c6a512-1295-4272-9138-f99709370657
2007-02-04 12:31:03 +00:00
Marcoen Hirschberg
c1deda573a use the nimbus-12 font for the WPSs which used chicago12 now that it has been removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12155 a1c6a512-1295-4272-9138-f99709370657
2007-01-30 11:11:38 +00:00
Marianne Arnold
4ccbcc8071 Last part of iCatcher and UniCatcher updates... add Sansa versions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11694 a1c6a512-1295-4272-9138-f99709370657
2006-12-08 17:55:56 +00:00
Marianne Arnold
da67b90959 iCatcher: (1) add dedicated greyscale bitmaps for H1x0 and Mini (2) 'rename' the respective wps files as they didn't follow the convention ('...x1.wps' instead of '...x2.wps') and adapt this in WPSLIST (3) remove the formerly used animation and volume bitmaps that were real greyscale because they are now superceeded by the new ones which only contain the four greys and are named consistently - should be safe now if one decides to tweak greyscale some more - by Ioannis Koutoulakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11690 a1c6a512-1295-4272-9138-f99709370657
2006-12-08 16:26:09 +00:00
Hardeep Sidhu
9fe9cdff35 iCatcher/UniCatcher WPS updates by Ioannis Koutoulakis: code update to the new volume/battery enum system and new versions for H10 5GB, Gigabeat and X5 remote
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10995 a1c6a512-1295-4272-9138-f99709370657
2006-09-18 19:20:22 +00:00
Hardeep Sidhu
2525b4d981 Added support for multiple rwps for same theme for different devices. Updated iCatcher theme with different rwps for H1x0 and H3x0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10126 a1c6a512-1295-4272-9138-f99709370657
2006-06-15 20:17:47 +00:00