summaryrefslogtreecommitdiff
path: root/wps/wpsbuild.pl
AgeCommit message (Collapse)Author
2010-02-21Fix wpsbuild to properly generate "-" for theme related settings (to get the ↵Thomas Martitz
default values/no file for filename settings). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24813 a1c6a512-1295-4272-9138-f99709370657
2010-01-05Fix wpsbuild.pl so that rockbox_default wps is builtMichael Chicoine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24187 a1c6a512-1295-4272-9138-f99709370657
2009-10-19Initial custom statusbar commit.Thomas Martitz
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-16Revert r23212, I committed it accidentally.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23214 a1c6a512-1295-4272-9138-f99709370657
2009-10-16initial custom statusbar commitThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23212 a1c6a512-1295-4272-9138-f99709370657
2009-08-16User definable UI viewport, to be able to restrict the UI into a viewport ↵Thomas Martitz
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-07-12Fix the shipped themes statusbar config line Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21825 a1c6a512-1295-4272-9138-f99709370657
2009-01-31FS#9763 - Sansa Clip modified WPS. This modified wps avoids wps elements ↵Bertrik Sikken
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-23Don't copy too many files either. Wait with the copying until the WPS in ↵Jens Arnold
question is known to be included. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19829 a1c6a512-1295-4272-9138-f99709370657
2009-01-23Fix wpsbuild.pl not installing all required fontsThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19826 a1c6a512-1295-4272-9138-f99709370657
2008-11-26Accept FS#9579 by Bartosz Fabianowski, fixing make zip when your build dir ↵Nils Wallménius
is not inside the source tree git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19223 a1c6a512-1295-4272-9138-f99709370657
2008-11-24Added support for configurable rockbox directory. FS#9567 by Alex Bennee.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19208 a1c6a512-1295-4272-9138-f99709370657
2008-03-10ignore carriage returns in WPS files to avoid problems with cygwin/tortoisesvnRobert Kukla
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16610 a1c6a512-1295-4272-9138-f99709370657
2008-02-23Turned out that setting the viewer iconset to empty properly chooses the ↵Jens Arnold
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"viewers iconset:" must not be empty, so revert that change to wpsbuild.pl ↵Dave Chapman
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-23Add empty strings for "backdrop:", "iconset:" and "viewers iconset:" for ↵Dave Chapman
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-23TAB/whitespace policing - no functional changesDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16383 a1c6a512-1295-4272-9138-f99709370657
2008-02-23Fix a bug introduced r16373 - the .cfg files for the bundled themes no ↵Dave Chapman
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-22Make the build script ignore color-only options on grayscale targets. Also, ↵Michael Giacomelli
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-01-21Set different icons for each resolution in the build script.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16131 a1c6a512-1295-4272-9138-f99709370657
2008-01-21Fix Cabbie on non-color targets by not including the gradient selection bar. ↵Michael Giacomelli
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-21Make the build script also install any needed icons.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16129 a1c6a512-1295-4272-9138-f99709370657
2008-01-21Change build script to copy any fonts needed for build in themes in ↵Michael Giacomelli
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-18Update the WPS build script so that included builds can have various ↵Michael Giacomelli
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
2007-04-04Enable building WPSs and themes for charcell targets, and add an example WPS ↵Jens Arnold
using special charcell progress and text alignment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13015 a1c6a512-1295-4272-9138-f99709370657
2007-03-12fix warningsDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12737 a1c6a512-1295-4272-9138-f99709370657
2007-02-11add support for foreground and background colorsMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12272 a1c6a512-1295-4272-9138-f99709370657
2006-10-26hush the "skips due to size restraints" text as you normally don't careDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11352 a1c6a512-1295-4272-9138-f99709370657
2006-06-15Added support for multiple rwps for same theme for different devices. ↵Hardeep Sidhu
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-14Added iCatcher and UniCatcher themes by Ioannis Koutoulakis. Also updated ↵Hardeep Sidhu
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-05-15Look for dedicated bitmaps for the LCD dimensions when building the WPS (in ↵Linus Nielsen Feltzing
a subdir, for example iCatcher/160x128x16/) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9938 a1c6a512-1295-4272-9138-f99709370657
2006-05-11Fixes sundry problems with the WPS bundling script. For best results, ↵Christi Scarborough
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-03-18only use the LCD size for bitmap LCDs so that we don't get the WPSesDaniel Stenberg
for recorder included for the player builds git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9102 a1c6a512-1295-4272-9138-f99709370657
2005-11-18When fixing things is it better to do it in a way that causes them to ↵Christi Scarborough
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-18Add the 'rwps' field for <wps> sections with a RWPS: field, but not for ↵Daniel Stenberg
<rwps> ones. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7958 a1c6a512-1295-4272-9138-f99709370657
2005-11-18Initial stab at theme support.Christi Scarborough
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7952 a1c6a512-1295-4272-9138-f99709370657
2005-11-17Added tiny docs, only make .cfg files for <wps> sections and shut up a fewDaniel Stenberg
outputs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7948 a1c6a512-1295-4272-9138-f99709370657
2005-11-17added copying of RWPS files (if exist)Anton Oleynikov
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7945 a1c6a512-1295-4272-9138-f99709370657
2005-11-17.rwps support and support for a rwps: field within the WPSLIST file, whichDaniel Stenberg
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-16Adds support for reverting to the Rockbox default WPS. Note that the ↵Christi Scarborough
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-14Burelli Luca found my typo!Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7870 a1c6a512-1295-4272-9138-f99709370657
2005-11-14fixed the size check logicDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7865 a1c6a512-1295-4272-9138-f99709370657
2005-11-14figure out the size of the target LCD and more fiddling to work properlyDaniel Stenberg
when invoked by the buildzip script git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7863 a1c6a512-1295-4272-9138-f99709370657
2005-11-14we start the WPS collection in this new moduleDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7858 a1c6a512-1295-4272-9138-f99709370657