Commit graph

243 commits

Author SHA1 Message Date
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
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
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