Commit graph

14 commits

Author SHA1 Message Date
Jonathan Gordon
d336eb30f8 skin_engine: Automatically create touch regions for skin bars
skin bars now automatically create the touch region the same size
as the bar on touchscreen targets. This means touches will
magically "just work" for reveresed bars (rtl or otherwise).

~5% padding is added on all 4 sides of the region rectangle but
this may need to be tweaked.

Please consider the 'progressbar' and 'volume' touchregion actions
to be deprecated.

Kudos to my new wife for figuring out the bleedingly obvious way to
do this!

Change-Id: I997a7bcaa70fce9885808aae27953c7676e9c2ff
2012-07-05 11:15:16 +10:00
Jonathan Gordon
a7d8dd41b5 Fix mistaken changes in r30219
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30298 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 13:14:58 +00:00
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
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
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
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
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
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
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
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
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