Commit graph

345 commits

Author SHA1 Message Date
Jonathan Gordon
969903b5fe Change the way the %Tl() (touch region) tag is done to remove dodgey 1-char settings.
check the manual...
%Tl(..., &action) -> %Tl(..., action, repeat_press)
%Tl(..., *action) -> %Tl(..., action, long_press)
%Tl(..., !action) -> %Tl(..., action, reverse_bar)
and a new allow_while_lock to make the region fire when softlocked

these options must all be after the action name, but otherwise the order doesnt matter. And for the setting_inc/dec/set action the setting name must follow the action name, *then* the options

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30219 a1c6a512-1295-4272-9138-f99709370657
2011-07-28 12:53:22 +00:00
Dominik Riebeling
f56e453f60 Remove all themes but Cabbiev2.
As discussed remove all other themes from svn since they are available through
the theme website so there is no need to ship them with every Rockbox download
/ installation.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30158 a1c6a512-1295-4272-9138-f99709370657
2011-07-18 19:25:34 +00:00
Alex Parker
b1424fc257 Touchscreen WPS changes:
* Change play/pause button so that it shows the click action and not the current state. During ffwd/rew the ffwd/rew status is still shown.
 * Make ffwd/rew buttons always be shown on 480x800 and 320x480 targets. 240x400 needs further clean up first.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29398 a1c6a512-1295-4272-9138-f99709370657
2011-02-25 20:14:56 +00:00
Thomas Jarosch
7d4f3a7861 Add cabbie theme for 800x480
Theme was quickly ported by kugel from 480x800 theme.

Still has viewport bugs: Brings up the context menu
every time one touches the rew/ff buttons.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29253 a1c6a512-1295-4272-9138-f99709370657
2011-02-08 21:13:57 +00:00
Robert Menes
fedd1f3bc1 Add progress bar graphic for CabbieV2 for 128x160x16 LCDs.
Part of FS#10937 by Michael Carr and Stephen Carroll.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29019 a1c6a512-1295-4272-9138-f99709370657
2011-01-10 02:53:36 +00:00
Robert Menes
8b59b03404 Commit part of FS#10937: CabbieV2 port for the Philips GoGear
SA9200 (128x160x16 LCD). Ported by Michael Carr with cleanup
by Stephen Carroll.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29018 a1c6a512-1295-4272-9138-f99709370657
2011-01-09 22:10:29 +00:00
Jonathan Gordon
52b17b1553 fix FS#11784 - classic_statusbar.sbs needed alignemtn fixing to show the whole time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28863 a1c6a512-1295-4272-9138-f99709370657
2010-12-20 10:58:03 +00:00
Thomas Martitz
4523db1333 Small improvements for the on screen popup on 320x480 cabbiev2 wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28599 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 19:20:25 +00:00
Thomas Martitz
61a8d50c13 Add a few cabbiev2 source images in the biggest scale I've found. I've used them for the 320x480 and 480x800 ports. Hopefully makes porting cabbiev2 easier.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28598 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 18:58:54 +00:00
Thomas Martitz
997316e213 Make the grey background of the images brighter to better match existing cabbiev2 WPSes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28596 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 17:31:39 +00:00
Thomas Martitz
5e81da60fb Better quality images for the 320x480x16 cabbiev2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28595 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 17:03:32 +00:00
Jonathan Gordon
e1c9eb31f7 FS#11669 - extra > in the skin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28246 a1c6a512-1295-4272-9138-f99709370657
2010-10-12 09:45:11 +00:00
Jonathan Gordon
a5ba1bf4fb cabbie 320x480 WIP sbs:
Add a playlist viewer, AA and a resumeplayback touch region. (resumeplayback is the bottom right corner, even when AA isnt present or no music is playing)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28225 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 05:30:41 +00:00
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
Jonathan Gordon
1a92ff0994 3rd time lucky
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28008 a1c6a512-1295-4272-9138-f99709370657
2010-09-06 12:30:56 +00:00
Jonathan Gordon
e7c1598d13 woops, wrong dimensions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28007 a1c6a512-1295-4272-9138-f99709370657
2010-09-06 12:30:03 +00:00
Jonathan Gordon
1ab74404e6 Add a work-in-progress 320x400 touch enabled sbs.
Very basic, please help!
top left corner is menu, top right is context menu, otherwise use the UI viewport to move around. bottom area is eventually going to be a touch panel region (and track display if music is playing).
99% sure you cant do a popup region above the UI viewport which is why I've stolen the bottom region

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28006 a1c6a512-1295-4272-9138-f99709370657
2010-09-06 12:27:38 +00:00
Jonathan Gordon
2e1988b263 Small cabbie update by Hayden Pearce for cabbiev2.176x220x16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27984 a1c6a512-1295-4272-9138-f99709370657
2010-09-02 11:43:40 +00:00
Michael Chicoine
1eb3970d05 Further upgrades of Cabbiev2 wps files to viewports - FS#11490 by HAyden Pearce and me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27856 a1c6a512-1295-4272-9138-f99709370657
2010-08-21 23:39:19 +00:00
Marianne Arnold
56229d5866 The 128x96x2 cabbiev2.wps (Iaudio remote and M3) used more than one viewport but drew the progressbar in the default one where it wouldn't be updated with the new parser anymore. Put it into a viewport too and rearrange the rest of the code to the same order as displayed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27806 a1c6a512-1295-4272-9138-f99709370657
2010-08-14 07:27:59 +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
11b95cd423 Fix conditiona viewports logic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27732 a1c6a512-1295-4272-9138-f99709370657
2010-08-06 00:39:38 +00:00
Thomas Martitz
814d06b59c Cabbiev2 320x480 touchscreen support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27731 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 23:43:05 +00:00
Thomas Martitz
e4dc4f8913 Revert accidental change to cabbiev2.176x220x16.wps and apply it to cabbiev2.320x480x16.wps as intended.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27725 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 18:53:56 +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
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
Jonathan Gordon
3f8e7fc26f New feature for the %xd() (display a preloaded image) skin tag.
It can now automatically load the correct subimage from a strip (assuming the strip is in the correct order)  by giving a tag for the 2nd param.
example: %xd(F, %mp) which is equivilant to %?mp<%xd(Fa)|%xd(Fb)|%xd(Fc)|%xd(Fd)|%xd(Fe)>
You can also set the subimage offset.. i.e %xd(E, %mm, -1) which means "show nothing for the first value of %mm and use the bitmap strip for the remaining values"

if a tag+offset is <0 or greater than the number of subimages in a strip he image is cleared (I'm open to changing this if someone has a better idea)

cabbiev2.176x220x16.wps is an example of how to use this

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27717 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 11:28:48 +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
Marianne Arnold
341fae73ca Fix broken cabbiev2 for the c200 screen (in r27574) as pointed out by Sascha Wilde in IRC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27592 a1c6a512-1295-4272-9138-f99709370657
2010-07-28 12:58:15 +00:00
Thomas Martitz
767c4effc1 FS#11490 by Hayden Pearce
Fix cabbiev2.320x240x16.wps Hold

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27577 a1c6a512-1295-4272-9138-f99709370657
2010-07-26 16:57:38 +00:00
Thomas Martitz
7a835975e4 Fix cabbiev2.220x176x16.wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27576 a1c6a512-1295-4272-9138-f99709370657
2010-07-26 15:20:22 +00:00
Jonathan Gordon
bd77d021f0 FS#11490 - Viewportify most of the shipped cabbiev2 wps' By Hayden Pearce. Spot a mistake? mention in the tracker page
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27574 a1c6a512-1295-4272-9138-f99709370657
2010-07-26 12:07:48 +00:00
Jonathan Gordon
c1a42ff44d update classic_statusbar to the new syntax
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26826 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 13:16:41 +00:00
Jonathan Gordon
9ac4b44610 SKIN BREAK: %pb, %bl and %pv (bar types) changed so the image is the last param instead of the first. skin updater, skins and manual all updated.
NEW PARSER: add an 'N' param type which will accept any number of strings, will cause very big problems if this isnt the last param for a tag.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26727 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 16:15:01 +00:00
Jonathan Gordon
2d62a570e3 Fix yellow and all the shipped themes that show AA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26697 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 15:17:39 +00:00
Jonathan Gordon
1956c72b62 the updater uncondiotnally changed ; to %; which meant alternating lines stopped working.. hopefully this fixes them
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26648 a1c6a512-1295-4272-9138-f99709370657
2010-06-07 07:00:10 +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é
aeb5618ae4 cabbiev2 128x64x1 (r)wps:
integrate back modifications made by bertrik for clipv1 into iriver remote wps
don't show decibel value when changing volume (too complex for me)
delete 'sansaclip' specific version so the wps is used on all clips

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26586 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 16:01:46 +00:00
Rafaël Carré
f04c742f40 cabbiev2 128x64x1 wps (iriver remote wps): add more info to the screen
With the change to 8 pixels font we can add "Next song" info (%It/%Fn)
Also move the tag info 2 pixels down

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26508 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 09:22:00 +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
5359d240e3 Cabbiev2: make the playlist position and playing time info actually show up as planned in the 128x128 colour port.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25745 a1c6a512-1295-4272-9138-f99709370657
2010-04-27 23:02:00 +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
Jonathan Gordon
29a51621d3 basic touchscreen support in the mini2440's cabbie file. play/repmode/shuffle buttons do their thing, battery goes to the menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24282 a1c6a512-1295-4272-9138-f99709370657
2010-01-19 07:26:20 +00:00
Tomer Shalev
2f2213d63e WPS: Revert some of r24193 as decided in FS#10882.
This commit reverts having the track progress bar mirrored horizontally. This
is done because the code that makes the progress bar sensitive to language
direction conflicts with direction of buttons used to control playback, i.e.
progress bar fills to the left, but pressing long left makes it move to the
right, towards the beginning of the track.
The code that swap the progress bar direction was not (and will not be)
committed.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24196 a1c6a512-1295-4272-9138-f99709370657
2010-01-07 17:16:33 +00:00
Jonathan Gordon
91e6b06be9 RTL language enhancements by Tomers Shalev and I.
3 new tokens:
%ax - the next token should follow the language direction (what that means is defined by the individual tokens)
%aL - align left on LTR language (same as %al), right on RTL languages
%aR - align right on LTR language (same as %ar), left on RTL languages

This commit adds %ax support to the %V and %Cl tokens. 


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24193 a1c6a512-1295-4272-9138-f99709370657
2010-01-07 07:34:15 +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
Tomer Shalev
98676a9107 FS#10879 - Cabbie: Fix usage of spaces to position strings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24120 a1c6a512-1295-4272-9138-f99709370657
2009-12-28 20:10:24 +00:00
Bertrik Sikken
9879cc6523 Rename wps/cabbiev2.128x64x1.clip.wps to wps/cabbiev2.128x64x1.sansaclip.wps to match recent target renames.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24118 a1c6a512-1295-4272-9138-f99709370657
2009-12-27 16:57:47 +00:00
Tomer Shalev
5210cdc2e3 Cabbie 320x240: Fix usage of spaces to position strings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24117 a1c6a512-1295-4272-9138-f99709370657
2009-12-26 20:53:12 +00:00
Marianne Arnold
c074c76211 Make the classic_statusbar.sbs more classic. Icons, position of numbers, charging animation (only tested on a colour display so far), volume as before but gets a 'clipping' icon on targets that allow more than 0dB, add channels indicator in the rec screen. The only difference on swcodec should be the disk activity indicator on flash targets (for now). On hwcodec there are small differences in the recording screen - quality display is simply using the system font (no wasting another bitmap on a slightly less taller Q), frequency uses icons now (keeping the differences between the sbs files smaller and with the small 'k' it's easier to understand, but debateable). Since the animation makes use of the viewport colour (shades) parameters, a classic_statusbar.grey.sbs was needed - reusing the colour one didn't work correctly anyways. The difference between Recorders (RTC) and Ondios (disk activity) is achieved through the 112x64x1.sbs file itself.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23775 a1c6a512-1295-4272-9138-f99709370657
2009-11-28 16:37:33 +00:00
Jonathan Gordon
9b3619c1e6 remove the %Rh token which doesnt exist anymore (was "is target hwcodec" which we dont need)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23691 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 04:24:16 +00:00
Jonathan Gordon
6ec176cc8e fix mono and hwcodec classic_statusbar so they actually load
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23673 a1c6a512-1295-4272-9138-f99709370657
2009-11-20 07:05:22 +00:00
Jonathan Gordon
9848d4beec initial hwcodec/112x64x1 sbs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23657 a1c6a512-1295-4272-9138-f99709370657
2009-11-17 19:27:32 +00:00
Marianne Arnold
3f6f60afd7 Classic_statusbar.sbs images: make them proper 1-bit bitmaps, so that they work as expected with foreground and background colour and backdrops. I'd like to see the result being closer to the original too which also means small fixes to these images too but first things first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23656 a1c6a512-1295-4272-9138-f99709370657
2009-11-17 19:10:38 +00:00
Jonathan Gordon
3fe99aa9bf add some bmp strips needed for the rec screen which wernt already added...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23647 a1c6a512-1295-4272-9138-f99709370657
2009-11-16 03:51:41 +00:00
Tomer Shalev
ec0f4b4044 FS#10783 - WPS translation
- Use the %Sx skin tag in WPS to translate 'Next Track', 'Next', and 'of' (X of Y tracks)
- New conditional skin token 'Sr' which checks whether the currently loaded language is an RTL language (Hebrew/Arabic). It uses lang_is_rtl().
- Added Hebrew translation


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23638 a1c6a512-1295-4272-9138-f99709370657
2009-11-15 21:39:39 +00:00
Tomer Shalev
b7ff814dd3 FS#10782 - WPS: Rename 'Next Song' to 'Next Track'
All Cabbie themes use to convention 'Next Track', except cabbiev2.176x220x16,
which uses 'Next Song'. DancePuffDuo.176x220x1 also uses this unconventional
phrase. This patch rename these terms in order to achieve a better consistency.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23626 a1c6a512-1295-4272-9138-f99709370657
2009-11-14 20:17:02 +00:00
Jonathan Gordon
ad72fce1a5 fix the icons so the correct ones are shown
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23585 a1c6a512-1295-4272-9138-f99709370657
2009-11-09 07:57:51 +00:00
Jonathan Gordon
2f3868b87d very initial recording sbs support... also remote sbs using the same skin code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23584 a1c6a512-1295-4272-9138-f99709370657
2009-11-09 07:10:39 +00:00
Jonathan Gordon
6b31dc4337 redo these bitmaps as 1bit bmp's so they show correclty on all displays
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23583 a1c6a512-1295-4272-9138-f99709370657
2009-11-09 07:08:25 +00:00
Jonathan Gordon
451f9d58f3 more minor classic_statusbar.sbs changes... display the rec/fm mode correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23482 a1c6a512-1295-4272-9138-f99709370657
2009-11-02 01:14:16 +00:00
Rafaël Carré
6cdb80d7df Revert r23474 "new skin token: %cx - 24 hour time format enabled in the setting.. e.g %?cx<24 hour|12 hour>"
Committed accidentally with a svn/git desynch

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23475 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 22:51:26 +00:00
Rafaël Carré
9cd15dad9d new skin token: %cx - 24 hour time format enabled in the setting.. e.g %?cx<24 hour|12 hour>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23474 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 22:48:46 +00:00
Jonathan Gordon
e702e5dbf8 revert that last checkin... something better is coming
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23473 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 21:45:01 +00:00
Jonathan Gordon
cb8527d073 new skin token: %cx - 24 hour time format enabled in the setting.. e.g %?cx<24 hour|12 hour>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23472 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 21:35:35 +00:00
Michael Chicoine
a521c5fc67 Revert battery conditional change in r23415, duplicated graphic was for unknown battery level
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23416 a1c6a512-1295-4272-9138-f99709370657
2009-10-30 03:01:33 +00:00
Michael Chicoine
536ae24791 Correct battery conditional and disk access icon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23415 a1c6a512-1295-4272-9138-f99709370657
2009-10-30 00:47:25 +00:00
Michael Chicoine
f31c1ffd8c Remove svn:executable from wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23401 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 12:33:33 +00:00
Jonathan Gordon
9f0cbb5a36 minor changes...
* demonstrate how to give options using conditional viewports (some people like text battery and volume!?)
* specify the UI area viewport


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23396 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 07:33:09 +00:00
Jonathan Gordon
bee5900032 Allow the x and y pixel values of viewports to be a negative number..
%V|-50|0|-|..... will position that viewport 50 pixels from the right of the display at the top.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23378 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 06:44:37 +00:00
Jonathan Gordon
a30f25ddd4 fix the charging icon so it will actually display correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23377 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 05:39:04 +00:00
Jonathan Gordon
f0acf02be7 First go at converting the inbuilt statusbar into a skin, right now its only perfect for 176pixel wide displays (and not liked to the build system so you have to copy things yourself if you want it) and needs RTC build.
Whats the easiest way to get this going for all displays/targets without doing 28+ .sbs files?


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23376 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 05:07:49 +00:00
Michael Chicoine
dd0afc5aa2 remove svn:executable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23352 a1c6a512-1295-4272-9138-f99709370657
2009-10-25 23:34:41 +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
301f845473 Move to only CC-BY-SA 3.0 for future changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23133 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 16:43:27 +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
Rob Purchase
df32d85f31 Allow seeking using the progress bar on the touch-enabled Cabbiev2 (currently only used by m:robe500 320x240).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22779 a1c6a512-1295-4272-9138-f99709370657
2009-09-21 21:30:23 +00:00
Maurus Cuelenaere
16f8224269 * Onda VX747: add browse screen, pitchscreen, context menu, quickscreen, rewind, fast forward, previous song & next song actions to cabbiev2
* Make those images' backgrounds transparent instead of black


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22378 a1c6a512-1295-4272-9138-f99709370657
2009-08-17 13:08:14 +00:00
Maurus Cuelenaere
2e484104f1 Enable the pitch action in the M:Robe 500 Cabbiev2 WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22376 a1c6a512-1295-4272-9138-f99709370657
2009-08-17 12:48:47 +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
Maurus Cuelenaere
95c25d6d27 Touchscreen targets: add basic progress bar & volume handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22068 a1c6a512-1295-4272-9138-f99709370657
2009-07-27 13:27:38 +00:00
Thomas Martitz
5c9fe52629 Commit part of FS#9873 - Utilise buttons for playlisting
It adds a shortcut (combo or button) to directly go from the wps to the playlist viewer. The combos could possibly be improved on some targets, but I tried to keep a tad bit of consistency (was hardly possible).
I also added a corresponding touchscreen region and adapted cabbiev2.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22003 a1c6a512-1295-4272-9138-f99709370657
2009-07-22 22:10:25 +00:00
Maurus Cuelenaere
88ebd050a1 Onda VX747 WPS: add touchscreen areas for shuffle & repeat mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21965 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 14:02:21 +00:00
Jonathan Gordon
fb63808c55 display the volume as a number when its changing in the cabbie theme on the clip
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21877 a1c6a512-1295-4272-9138-f99709370657
2009-07-15 04:20:17 +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
c412f784b2 Onda VX747: 'touchscreenize' the play button on the cabbiev2 theme
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21203 a1c6a512-1295-4272-9138-f99709370657
2009-06-07 20:29:48 +00:00
Jonathan Gordon
2172c91473 get repeat/hold actions working on the touchscreen WPS. prepending an action with & means that this will only get triggered if you hold down the area. cabbie WPS updated so the fwd/rwd icons will do that when held or skip fwd/back if just pressed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20974 a1c6a512-1295-4272-9138-f99709370657
2009-05-17 06:25:18 +00:00
Jonathan Gordon
13cc654cea More touchscreen additions, quickscreen, browser, context menu, skip fwd/back buttons in the mr500 wps (a "button bar" will pop up for 2.5s when the screen is touched.)
icons by Johannes Voggenthaler
pitch screen icon is there but not used because that screen isnt fixed for the touhscreen yet


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20939 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 06:02:50 +00:00
Jonathan Gordon
c1267dc700 allow the user to change the shuffle and repeat modes from the touchscreen, update the mr500 default wps to show how to do it (hint, press the shuffle/rep icon)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20937 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 05:36:16 +00:00
Jonathan Gordon
0eb5dc649f beginings of a working touchscreen interface for the WPS. 2 new tags:
%T|x|y|width|height|action| <- setup a region (relative to the current viewport) where if pressed the "action" will be done (currently play/stop/prev/next/menu/browse work, suggestions for others to add and better names welcome)
%Tl<timeout> <- used as a conditional to say if the touchscreen was touched in the last <timeout>, use this to enable/disable button viewports or something... same syntax as other timeout tags

cabbiev2 for the mr500 has been modified to demonstrate the new tags. press the pause/play button to pause playback. press the rockbox logo to get back to the menu. pretty icons needed to make this more usable :)



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20753 a1c6a512-1295-4272-9138-f99709370657
2009-04-20 01:41:56 +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
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
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
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
c29bbc1387 DancePuffDuo version for 176x220x1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19827 a1c6a512-1295-4272-9138-f99709370657
2009-01-23 18:46:51 +00:00