Commit graph

52 commits

Author SHA1 Message Date
Alex Mayer
93023002d6 Make Cabbiev2 enable icons when selected
adds 'show icons: on' to cabbiev2.cfg file.
when you switch theme away from cabbiev2 to a theme
with 'show icons: off' then switch back to cabbiev2
the icons are still off which doesnt mimic the default
settings presented by rockbox.

Change-Id: Iee051c687a9a6843fece96a2a16280916b1d2599
Reviewed-on: http://gerrit.rockbox.org/325
Reviewed-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2012-10-06 22:59:20 +02:00
Thomas Martitz
bc7ff53eab wpsbuild.pl: Fix FS#12706 - paths for backdrops and icons were not properly constructed.
Change-Id: I90b92241501f61e6b1de5305ff6482a9ddbdf722
2012-06-25 08:54:21 +02:00
Thomas Martitz
0cef275ab7 wpsbuild.pl: Remove superflous debug statement.
Change-Id: Ic32a6737053ca98d9db479488125b2c6bbd13384
2012-06-10 21:45:34 +02:00
Thomas Martitz
66b6fdbb73 wpsbuild: Rewrite to fix various issues and support .fms
wpsbuild.pl is enhanced to produce fallback themes that were previously
hardcoded in buildzip.pl. It also recognizes resolution strings as
regular expressions now so you can specify resolution dependant settings
as <setting>.<regex>: <value> (needed to support single themes on multiple
resolutions). The WPSBUILD syntax completely changed as
well and it includes the fallback themes as well. Ultimately wpsbuild is
also able to install .fms files.

Change-Id: Idf5994f17b9750983d7bc3ef583540a8cdae1dde
2012-06-10 21:20:36 +02:00
Thomas Martitz
c112b7897e Fix leading slash regex in wpsbuild.pl
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27721 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 14:31:07 +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
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
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
Michael Chicoine
2581cf4909 Fix wpsbuild.pl so that rockbox_default wps is built
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24187 a1c6a512-1295-4272-9138-f99709370657
2010-01-05 17:21:30 +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
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
Bertrik Sikken
31c8eee99d FS#9763 - Sansa Clip modified WPS. This modified wps avoids wps elements getting split over the yellow/cyan
parts of the display. Also introduces a mechanism for selecting a target specific wps if there is already 
another wps with the same screen size.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19889 a1c6a512-1295-4272-9138-f99709370657
2009-01-31 12:23:35 +00:00
Jens Arnold
34314b1993 Don't copy too many files either. Wait with the copying until the WPS in question is known to be included.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19829 a1c6a512-1295-4272-9138-f99709370657
2009-01-23 20:46:49 +00:00
Thomas Martitz
8ef5c0bbe4 Fix wpsbuild.pl not installing all required fonts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19826 a1c6a512-1295-4272-9138-f99709370657
2009-01-23 18:34:06 +00:00
Nils Wallménius
28f06901f7 Accept FS#9579 by Bartosz Fabianowski, fixing make zip when your build dir is not inside the source tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19223 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 09:36:34 +00:00
Björn Stenberg
ad8d6031c1 Added support for configurable rockbox directory. FS#9567 by Alex Bennee.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19208 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 22:16:07 +00:00
Robert Kukla
bc0f0cfb3b ignore carriage returns in WPS files to avoid problems with cygwin/tortoisesvn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16610 a1c6a512-1295-4272-9138-f99709370657
2008-03-10 17:47:58 +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
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
Dave Chapman
a32de4f25f TAB/whitespace policing - no functional changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16383 a1c6a512-1295-4272-9138-f99709370657
2008-02-23 10:03:51 +00:00
Dave Chapman
b68a762aef Fix a bug introduced r16373 - the .cfg files for the bundled themes no longer included the fg/bg colours for any target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16382 a1c6a512-1295-4272-9138-f99709370657
2008-02-23 09:18:09 +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
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
c5f640644d Make the build script also install any needed icons.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16129 a1c6a512-1295-4272-9138-f99709370657
2008-01-21 01:48:38 +00:00
Michael Giacomelli
c05fef3d71 Change build script to copy any fonts needed for build in themes in preperation for commiting a default theme. Maybe not the best use of space, but theres only 2 built in themes with fonts so it makes little difference.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16125 a1c6a512-1295-4272-9138-f99709370657
2008-01-21 00:21:40 +00:00
Michael Giacomelli
483e4188b5 Update the WPS build script so that included builds can have various additional features. This version allows me to compile the new proposed default WPS into new builds. See FS#8443 for more info.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16099 a1c6a512-1295-4272-9138-f99709370657
2008-01-18 04:00:12 +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
Daniel Stenberg
6f2bb422c0 fix warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12737 a1c6a512-1295-4272-9138-f99709370657
2007-03-12 12:57:31 +00:00
Marcoen Hirschberg
08bc43f0fd add support for foreground and background colors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12272 a1c6a512-1295-4272-9138-f99709370657
2007-02-11 20:49:48 +00:00
Daniel Stenberg
9e62b1afe4 hush the "skips due to size restraints" text as you normally don't care
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11352 a1c6a512-1295-4272-9138-f99709370657
2006-10-26 14:20:31 +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
Hardeep Sidhu
ca0302ac94 Added iCatcher and UniCatcher themes by Ioannis Koutoulakis. Also updated wpsbuild to support different fonts for same theme depending on target screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10120 a1c6a512-1295-4272-9138-f99709370657
2006-06-14 22:06:11 +00:00
Linus Nielsen Feltzing
3b52485eb3 Look for dedicated bitmaps for the LCD dimensions when building the WPS (in a subdir, for example iCatcher/160x128x16/)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9938 a1c6a512-1295-4272-9138-f99709370657
2006-05-15 07:47:29 +00:00
Christi Scarborough
cc9292fda3 Fixes sundry problems with the WPS bundling script. For best results, delete your .rocbox/wps and ./rockbox/themes dirs before upgrading. Note that within CVS, no distinction is made any more between a .wps and .rwps, that's all fixed up at make zip stage. wpses are now all named with a .<width>x<height>x<depth> suffix and the appropriate ones for the platform are installed. Text wpses have a .txt suffix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9907 a1c6a512-1295-4272-9138-f99709370657
2006-05-11 14:27:12 +00:00
Daniel Stenberg
2624b558ce only use the LCD size for bitmap LCDs so that we don't get the WPSes
for recorder included for the player builds


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9102 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 21:17:05 +00:00
Christi Scarborough
32a43e2ee6 When fixing things is it better to do it in a way that causes them to actually work. Some more bugs in wpsbuild.pl squashed. Also, themes moved to the main menu. Resetting to default themes now works properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7965 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 15:33:05 +00:00
Daniel Stenberg
e06c7d3604 Add the 'rwps' field for <wps> sections with a RWPS: field, but not for <rwps> ones.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7958 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 10:12:16 +00:00
Christi Scarborough
3b5449f303 Initial stab at theme support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7952 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 08:48:59 +00:00
Daniel Stenberg
88f359ff26 Added tiny docs, only make .cfg files for <wps> sections and shut up a few
outputs.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7948 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 23:47:23 +00:00
Anton Oleynikov
ce442fdeb5 added copying of RWPS files (if exist)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7945 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 23:07:29 +00:00
Daniel Stenberg
2bace6a375 .rwps support and support for a rwps: field within the WPSLIST file, which
really is more like a list of themes now...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7940 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 22:39:26 +00:00
Christi Scarborough
a7db52ca89 Adds support for reverting to the Rockbox default WPS. Note that the rockbox_default.wps is a placeholder file and is never actually loaded - selecting it just causes Rockbox to clear its memory of any installed custom WPS. This means that it works cross platform. Also, small fix to boxes.wps (curse vi) and wpsbuild.pl - support for pure text WPS files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7899 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 01:24:52 +00:00
Daniel Stenberg
5e8e2a1097 Burelli Luca found my typo!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7870 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 18:46:38 +00:00
Daniel Stenberg
5f9f9bc14d fixed the size check logic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7865 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 15:10:40 +00:00