summaryrefslogtreecommitdiff
path: root/apps/gui (follow)
Commit message (Collapse)AuthorAge
...
* Remove a left-over check for metadata info being ready that delayed the ↵Thomas Martitz2009-11-16
| | | | | | initial draw of the wps quite a bit (most notably on slowish hwcodec). The skin engine is safe against that, so draw it instantly and make another redraw once the metadata info is ready. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23646 a1c6a512-1295-4272-9138-f99709370657
* Avoid two subsequent full update.Thomas Martitz2009-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23645 a1c6a512-1295-4272-9138-f99709370657
* Fix some drawing problems when displaying the WPS initially with sbs ↵Thomas Martitz2009-11-16
| | | | | | | | enabled. Move initial display of the wps to wps.c too. Should fix bug 3 of FS#10771. Also change GUI_EVENT_REFRESH event handling so that the passed drawing function is always called, not only when sbs or custom ui vp are used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23644 a1c6a512-1295-4272-9138-f99709370657
* FS#10783 - WPS translationTomer Shalev2009-11-15
| | | | | | | | | - 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
* Partly revert r23625 (the TIMEOUT_NOBLOCK change), and add a comment ↵Thomas Martitz2009-11-15
| | | | | | explaining why (or trying to, at least). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23637 a1c6a512-1295-4272-9138-f99709370657
* Consolidate some #ifdef code.Thomas Martitz2009-11-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23636 a1c6a512-1295-4272-9138-f99709370657
* Fix crash when selecting statusbar: custom in the menus without having a ↵Thomas Martitz2009-11-15
| | | | | | valid sbs loaded. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23635 a1c6a512-1295-4272-9138-f99709370657
* Fix peakmeter from delaying the initial display of the wps. Also change ↵Thomas Martitz2009-11-14
| | | | | | HZ/100 to TIMEOUT_NOBLOCK which is more appropriater in the get_action() call below. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23625 a1c6a512-1295-4272-9138-f99709370657
* Add crossfade feature tag, update manual, fix crossfade WPS tag behaviorJeffrey Goode2009-11-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23610 a1c6a512-1295-4272-9138-f99709370657
* fix build, ? buttonbar.... Jonathan Gordon2009-11-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23607 a1c6a512-1295-4272-9138-f99709370657
* remove 3 bad viewport functions:Jonathan Gordon2009-11-11
| | | | | | | | | * viewport_set_current_vp() because if a screen wants to not use the user setting it shouldn't be dealing with the viewport manager at all (other than to disable the bars) * viewport_ui_vp_get_state() is unused (and not needed) * viewport_get_current_vp() because you should be using set_defaults() instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23606 a1c6a512-1295-4272-9138-f99709370657
* Fall back to info vp from sbs when intersection fails (again, r23575 changed ↵Thomas Martitz2009-11-10
| | | | | | it despite it was agreed on info vp beforehand). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23604 a1c6a512-1295-4272-9138-f99709370657
* Revert r23599 and r23600 and fix the early usb problem at the root. The the ↵Thomas Martitz2009-11-10
| | | | | | | | viewportmanager and custom statusbar was initialized too late. Now, call it earlier and remove parts of it that caused the need to call it later. Removing that is OK since it's done again on settings loading. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23603 a1c6a512-1295-4272-9138-f99709370657
* usb screen: show logo at center of ui viewport and try to fit logo and title ↵Teruaki Kawashima2009-11-10
| | | | | | to the viewoprt to avoid possible redraw issue with sbs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23601 a1c6a512-1295-4272-9138-f99709370657
* really fix early usb this timeJonathan Gordon2009-11-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23600 a1c6a512-1295-4272-9138-f99709370657
* hopefully fix "early usb"Jonathan Gordon2009-11-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23599 a1c6a512-1295-4272-9138-f99709370657
* HAVE_CROSSFADE defs: fix yellow and redJeffrey Goode2009-11-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23598 a1c6a512-1295-4272-9138-f99709370657
* Implement %Ss for playback speedFrank Gevaerts2009-11-09
| | | | | | | | | | | | | | | | | This is similar to %Sp for pitch. The conditional form %?Ss<...> is also supported in the same way as FS#10680; you can use %?Ss<%xdAa|%xdAb|> to show an icon of a tortoise (subpicture 1 of image A) or a hare (subpicture 2 of image A) when not playing at the normal speed. Flyspray: FS#10681 Author: Junio C Hamano git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23591 a1c6a512-1295-4272-9138-f99709370657
* Don't define pitch_speed_enum() on MAS3507D. Fixes yellowFrank Gevaerts2009-11-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23590 a1c6a512-1295-4272-9138-f99709370657
* Allow %?Sp<...> to be used as a conditionalFrank Gevaerts2009-11-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When there are two choices (i.e. boolean), choose the first one if the pitch is different from the normal value, and choose the second one if the pitch is the same as the normal value. When there are more than two choices (i.e. enum), the left half of the choices are used to show 0..normal range, and the right half of the choices are used to show values over that range. The last entry is used when it is set to the normal setting, following the rockbox convention to use the last entry for special values. 2 items: %?Sp<0..99 or 101..infinity|100> 3 items: %?Sp<0..99|101..infinity|100> 4 items: %?Sp<0..49|50..99|101..infinity|100> 5 items: %?Sp<0..49|50..99|101..149|150..infinity|100> 6 items: %?Sp<0..33|34..66|67..99|101..133|134..infinity|100> 7 items: %?Sp<0..33|34..66|67..99|101..133|134..167|167..infinity|100> This will allow two expected use cases: (1) %?Sp<%Sp> to show the pitch only when playing at a modified pitch. (2) %?Sp<%xdAa|%xdAb|> to show an icon of Darth Vader (subpicture 1 of image A) when playing at a lower pitch than the original, and to show an icon of a chipmunk (subpicture 2 of image A) when playing at a higher pitch than the original. When playing at a normal pitch, nothing is shown. Flyspray: FS#10680 Author: Junio C Hamano git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23589 a1c6a512-1295-4272-9138-f99709370657
* try that previous commit again... Jonathan Gordon2009-11-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23581 a1c6a512-1295-4272-9138-f99709370657
* fix segfault on remote targets where no sbs is loaded for the remoteJonathan Gordon2009-11-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23580 a1c6a512-1295-4272-9138-f99709370657
* Fix the error condition to actually set the fullscreen viewport. Also remove ↵Jonathan Gordon2009-11-09
| | | | | | a comment which doesnt really add anything.. the comments 15lines above it explain whats happening git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23575 a1c6a512-1295-4272-9138-f99709370657
* fix red.. markers need to be outside #ifdefsJonathan Gordon2009-11-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23574 a1c6a512-1295-4272-9138-f99709370657
* Add a bunch of markers into the tokens enum to make figuring out which token ↵Jonathan Gordon2009-11-09
| | | | | | | | | isnt in the bugout output easier. ("FIXME code(80)" is alot worse than "FIXME: TOKEN_MARKER_SOUND+5") Also, slightly reorder the enum to group misc items together git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23573 a1c6a512-1295-4272-9138-f99709370657
* Get font and colors from UI viewport before intersecting, instead of leaving ↵Thomas Martitz2009-11-04
| | | | | | them empty. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23526 a1c6a512-1295-4272-9138-f99709370657
* Fix a possiblity where viewport_set_default left the viewport unchanged. ↵Thomas Martitz2009-11-04
| | | | | | Improve comments a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23521 a1c6a512-1295-4272-9138-f99709370657
* Fix volume change in wps. %mv tag keeped showing volume is changed if volume ↵Teruaki Kawashima2009-11-04
| | | | | | is changed in wps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23515 a1c6a512-1295-4272-9138-f99709370657
* Fix player yellows and reds. I'm not sure why viewport.c was never compiled ↵Thomas Martitz2009-11-04
| | | | | | for charcell. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23513 a1c6a512-1295-4272-9138-f99709370657
* Remove wps_data.remote_wps. It's redundant with the new global curr_screen.Thomas Martitz2009-11-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23512 a1c6a512-1295-4272-9138-f99709370657
* Reorder a bit in viewport.c so that we don't need stubs for checkwps.Thomas Martitz2009-11-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23511 a1c6a512-1295-4272-9138-f99709370657
* fix charcell yellowJonathan Gordon2009-11-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23509 a1c6a512-1295-4272-9138-f99709370657
* Fix the WPS to work properly with the statusbar for the previous change.. ↵Jonathan Gordon2009-11-04
| | | | | | Side effect is it fixes FS#10721 where %pb didnt work git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23508 a1c6a512-1295-4272-9138-f99709370657
* Fix viewport "UI area" to work based on what was agreed on last week in the ↵Jonathan Gordon2009-11-04
| | | | | | | | | | | | mailing lists and IRC: * viewport_set_defaults() will always set the viewport to the intersection of the user setting and any sbs set user viewport * viewport_set_fullscreen() will always set the viewport to the full display, take care to disable the statusbars if you use this! This patch is from FS#10709 and contains code which will be removed once the current inbuilt statusbar is finally removed. This *may* break themes which dont use the %we or %wd token.. follow up commit to fix this coming... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23507 a1c6a512-1295-4272-9138-f99709370657
* Initial recording screen skin support (usable in .sbs skins only for now)Jonathan Gordon2009-11-03
| | | | | | | | | | | | | | | new skin tokens: %Rp - does the target have recording? %Rf - samplerate %Re - encoder %Rb - bitrate %Rm - mono/stereo Please put all bugs from these (which very probably dont work 100%) into FS#10755. And someone who knows how the recoding capabilities work please look this over... ideally the same value should be returned for the middle three tags no matter what the capabilities of the target are. CustomWPS on the wiki for more details git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23491 a1c6a512-1295-4272-9138-f99709370657
* Add touchscreen WPS actions for volume up/down (using a button rather than ↵Rob Purchase2009-11-02
| | | | | | the slider). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23488 a1c6a512-1295-4272-9138-f99709370657
* Rework how feature skin tags work (%cc currently) when used conditionally ↵Thomas Martitz2009-11-01
| | | | | | | | | | (i.e. to detect a feature). If the feature is known to be unavailable at compile time or runtime detected, then let parsing skip over the true case. That enables parsing skins that properly put tags not available on a target within these tags. In the past the true case was parsed even if never could be true, which led to unexpected parsing failures. Parsing %cc<%St|time format|[..]|> is now possible on target where that setting doesn't exist (the %St parser wold fail). More of these tags are to be added, for example to indicate fm radio or recording capabilities. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23479 a1c6a512-1295-4272-9138-f99709370657
* Revert r23474 "new skin token: %cx - 24 hour time format enabled in the ↵Rafaël Carré2009-11-01
| | | | | | | | 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
* new skin token: %cx - 24 hour time format enabled in the setting.. e.g ↵Rafaël Carré2009-11-01
| | | | | | %?cx<24 hour|12 hour> git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23474 a1c6a512-1295-4272-9138-f99709370657
* revert that last checkin... something better is coming Jonathan Gordon2009-11-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23473 a1c6a512-1295-4272-9138-f99709370657
* new skin token: %cx - 24 hour time format enabled in the setting.. e.g ↵Jonathan Gordon2009-11-01
| | | | | | %?cx<24 hour|12 hour> git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23472 a1c6a512-1295-4272-9138-f99709370657
* Move find_viewport() and find_image() to skin_parser.c where the reset of ↵Thomas Martitz2009-11-01
| | | | | | the linked-list handling sits. That enables removing duplicated code from checkwps. Also remove a few stubs in favor having the restart playback mechanism on albumart change #ifdef __PCTOOL__ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23465 a1c6a512-1295-4272-9138-f99709370657
* Fix red - statusbar_position() is a macro.Thomas Martitz2009-11-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23462 a1c6a512-1295-4272-9138-f99709370657
* Remove a wps function call from skin engine, hopefully the last one.Thomas Martitz2009-11-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23461 a1c6a512-1295-4272-9138-f99709370657
* Cleanup includes a bit.Thomas Martitz2009-11-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23459 a1c6a512-1295-4272-9138-f99709370657
* YELLOW ZOMBIES!Jonathan Gordon2009-11-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23457 a1c6a512-1295-4272-9138-f99709370657
* haloween night is when red monsters are vanquished right? or is that green ↵Jonathan Gordon2009-11-01
| | | | | | monsters? git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23456 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#10745 - %mv not working in sbs...Jonathan Gordon2009-11-01
| | | | | | | This fix is as good as we can do, but not perfect. Because the sbs is only updated when a button is pressed it will stay in the "volume changing" state probalby longer than expected.. which isnt terrible, but useful to remember. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23455 a1c6a512-1295-4272-9138-f99709370657
* Consolidate code duplication in WPS volume changing handling.Thomas Martitz2009-10-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23436 a1c6a512-1295-4272-9138-f99709370657
* Const correctnessNils Wallménius2009-10-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23402 a1c6a512-1295-4272-9138-f99709370657