summaryrefslogtreecommitdiff
path: root/apps/gui (follow)
Commit message (Collapse)AuthorAge
...
* Fix a typoAlexander Levin2009-07-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21741 a1c6a512-1295-4272-9138-f99709370657
* Fix a few comments in gwps.c.Thomas Martitz2009-07-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21740 a1c6a512-1295-4272-9138-f99709370657
* cleanup the remote+main statusbar handling a bit, and fix the bug where the ↵Jonathan Gordon2009-07-08
| | | | | | remote wps might reserve the space for the statusbar even if its disabled git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21709 a1c6a512-1295-4272-9138-f99709370657
* fix yellowJonathan Gordon2009-07-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21668 a1c6a512-1295-4272-9138-f99709370657
* FS#10406 - split the statusbar setting into one for each display, and allow ↵Jonathan Gordon2009-07-05
| | | | | | the bar to be at the top or bottom of the display git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21665 a1c6a512-1295-4272-9138-f99709370657
* Fix the bug where the short-long fwd/back action would ffwd/rewind the next ↵Jonathan Gordon2009-07-03
| | | | | | folder (consult the manual if that makes no sense) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21619 a1c6a512-1295-4272-9138-f99709370657
* Oops.Steve Bavin2009-06-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21470 a1c6a512-1295-4272-9138-f99709370657
* Allow use of timestretch with semitones in the pitchscreen. Rename variables ↵Steve Bavin2009-06-22
| | | | | | to clarify the meaning of 'speed'. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21468 a1c6a512-1295-4272-9138-f99709370657
* Merge the "Replaygain Off" option into the replaygain type; eliminate the ↵Alexander Levin2009-06-20
| | | | | | "On/Off" setting (FS#10356). All WPS tags should work as before. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21414 a1c6a512-1295-4272-9138-f99709370657
* Display speed as relative to real-time, not timestretch amount.Steve Bavin2009-06-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21375 a1c6a512-1295-4272-9138-f99709370657
* Slightly rearrange statements. No functional change but RAM and binary are ↵Alexander Levin2009-06-19
| | | | | | reduced. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21350 a1c6a512-1295-4272-9138-f99709370657
* Restore the ACTION_REDRAW case as it was before r20661 (with a slight change ↵Marianne Arnold2009-06-18
| | | | | | as suggested by Thomas Martitz). Without it you could get trapped in the WPS on targets with software hold as disabling hold again did not work correctly. Also fix(ed) typos... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21325 a1c6a512-1295-4272-9138-f99709370657
* Renamed routines and changed comments for clarity.Steve Bavin2009-06-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21309 a1c6a512-1295-4272-9138-f99709370657
* Fix the charcell viewport defaults. The statusbar is offscreen on charcell. ↵Jens Arnold2009-06-12
| | | | | | This fixes e.g. the yesno screen when deleting files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21267 a1c6a512-1295-4272-9138-f99709370657
* FS#8894 - Add time stretching feature to all SWCODEC targets - the current ↵Steve Bavin2009-06-12
| | | | | | algorithm is best for spoken word. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21258 a1c6a512-1295-4272-9138-f99709370657
* Fix a problem that the statusbar was redrawn to late and not really in sync ↵Thomas Martitz2009-06-08
| | | | | | with the lists when changing loading a (theme) .cfg or changing the colors witht the color picker. Now both, the statusbar and the tree lists are redrawn instantly after settings_apply() (even before the "Theme loaded" splash). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21222 a1c6a512-1295-4272-9138-f99709370657
* Convert a number of places in core and plugins to use the BIT_N() macro ↵Jens Arnold2009-06-07
| | | | | | instead of 1<<n. Speeds up things on SH1, and also reduces core binsize. Most notable speedups: 1 bit lcd driver: drawpixel +20%, drawline + 27%, hline +5%; jpeg viewer: +8% for 1/8 scaling. Other targets are unaffected. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21205 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#10231. The gwps_leave_wps() call at powering down is completely ↵Thomas Martitz2009-05-24
| | | | | | unnecessary anyway as it's meant to prepare the displaying of the next screen, which isn't needed when there's no next screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21067 a1c6a512-1295-4272-9138-f99709370657
* Simplify some redundant boolean expressionsBertrik Sikken2009-05-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21013 a1c6a512-1295-4272-9138-f99709370657
* Remove some unused declarationsBertrik Sikken2009-05-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21010 a1c6a512-1295-4272-9138-f99709370657
* Fix duplicate #includesBertrik Sikken2009-05-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20977 a1c6a512-1295-4272-9138-f99709370657
* Clean up some unused #includesBertrik Sikken2009-05-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20975 a1c6a512-1295-4272-9138-f99709370657
* get repeat/hold actions working on the touchscreen WPS. prepending an action ↵Jonathan Gordon2009-05-17
| | | | | | 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
* New 'clock present' WPS tag: The tag checks for the presence of the clock ↵Marianne Arnold2009-05-16
| | | | | | hardware and can be used unconditionally (returning a 'c') or in a conditional. You can specify what to display if a target has the clock (the true case) and an alternative for targets without. This can be useful for e.g. the greyscale 160x128 WPSs or the Archos ones which work on players with and without the hardware. - Add the new tag to the WPS tag description in the manual. Change the headline to the less technical 'Time and Date' as per the discussion in IRC. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20961 a1c6a512-1295-4272-9138-f99709370657
* Fix splash on greyscale (was showing only a black or grey box, no text) by ↵Thomas Martitz2009-05-15
| | | | | | | | reverting to lcd_set_foreground(). That does a bit more on greyscale than just setting the current's viewports fg_pattern :/ It will still only apply to the viewport used for splash, so no need to restore the old foreground. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20944 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#10197 by setting the viewport before calculating the string size.Thomas Martitz2009-05-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20943 a1c6a512-1295-4272-9138-f99709370657
* More touchscreen additions, quickscreen, browser, context menu, skip ↵Jonathan Gordon2009-05-15
| | | | | | | | | | 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
* allow the user to change the shuffle and repeat modes from the touchscreen, ↵Jonathan Gordon2009-05-15
| | | | | | 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
* get the quickscreen working on the mr500. hold "mode" on the remote to get ↵Jonathan Gordon2009-05-15
| | | | | | to it, then you can use the 4 directions on the remote, or the touchscreen to change the values. "mode" will exit, as will pressing in the top or middle of the main screen git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20935 a1c6a512-1295-4272-9138-f99709370657
* Remove unneeded #include "backdrop.h"Bertrik Sikken2009-05-09
| | | | | | | Remove unneeded #include "statusbar.h" git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20891 a1c6a512-1295-4272-9138-f99709370657
* Convert splashes to viewports for bitmap targets and only draw/update the ↵Thomas Martitz2009-05-08
| | | | | | viewport that is needed instead of the whole screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20870 a1c6a512-1295-4272-9138-f99709370657
* Keep the quickscreen from crashing the player with a divide by 0Karl Kurbjun2009-05-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20854 a1c6a512-1295-4272-9138-f99709370657
* Revert r20786 as it caused problems with alternating sublines (they need to ↵Thomas Martitz2009-04-27
| | | | | | be reset if gui_wps_refresh() wasn't called for some time, since the subline timeout gets confused). Also, it needs to be set to get the update, since do_full_update will be set to false after track change no matter if an update happened. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20812 a1c6a512-1295-4272-9138-f99709370657
* Setting do_full_update isn't actually needed, since the track changed event ↵Thomas Martitz2009-04-25
| | | | | | will set it if needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20786 a1c6a512-1295-4272-9138-f99709370657
* beginings of a working touchscreen interface for the WPS. 2 new tags:Jonathan Gordon2009-04-20
| | | | | | | | | | | %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
* Fix caption backlight.Thomas Martitz2009-04-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20708 a1c6a512-1295-4272-9138-f99709370657
* Fix remote wps updating (again, FS#10121).Thomas Martitz2009-04-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20693 a1c6a512-1295-4272-9138-f99709370657
* Slightly more compact boundary check.Jens Arnold2009-04-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20691 a1c6a512-1295-4272-9138-f99709370657
* Fix the scrollbar boundary checking to prevent the player from freezing on ↵Karl Kurbjun2009-04-11
| | | | | | screens that are too small to show the list with the font selected. Correct the M:Robe remote screen height. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20690 a1c6a512-1295-4272-9138-f99709370657
* FS#8523 - Disable WPS updating when the backlight is off.Thomas Martitz2009-04-09
| | | | | | | Disables WPS updating when the lcd is inactive (sleep or disabled, backlight doesn't count in), which prevents a good deal of code from running uselessly. According to tests, it can yield up to 1h more battery life in cases of heavy WPSes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20666 a1c6a512-1295-4272-9138-f99709370657
* Forgot to add the call too gwps_fix_statusbars(), fixes yellow too.Thomas Martitz2009-04-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20662 a1c6a512-1295-4272-9138-f99709370657
* WPS update optimizations:Thomas Martitz2009-04-08
| | | | | | | | *) always initialize restore with true, and make the get_action timeout 1 tick if restore is true (which only happens at initially showing the wps), which makes the wps show up way faster (nearly instantly) *) reduce the number of full updates by removing update_track (full updates are initiated by the event now), rename partial_update to update. Now, full updates should really happen only on (re-)entering the wps or track change now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20661 a1c6a512-1295-4272-9138-f99709370657
* FS9795 - some playback cleanup. Jonathan Gordon2009-04-06
| | | | | | | | | | | * Use events to notify things when the track has changed instead of the nasty has_track_changed() * Event for when the mp3entry for the next track is avilable (which allows alot more tags to be static which means less redrawing in the WPS) * virtually guarentee that the mp3entry sturct returned by audio_current/next_track() is going to be valid for the duration of the current track. The only time it wont be now is during the time between the codec finishing the previous track and the next track actually starting (~2s), but this is not an issue as long as it is called again when the TRACK_CHANGED event happens (or just use the pointer that gives) It is still possible to confuse the WPS with the next tracks id3 info being displayed but this should fix itself up faster than it used to (and be harder to do) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20633 a1c6a512-1295-4272-9138-f99709370657
* Drop the unnecessary checks since they are made by the callerAlexander Levin2009-04-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20632 a1c6a512-1295-4272-9138-f99709370657
* Fix hopping backwards if skip length is > 0 and we're near the end of the ↵Alexander Levin2009-04-05
| | | | | | track (less than skip length) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20631 a1c6a512-1295-4272-9138-f99709370657
* A few skip length and dir change fixes.Thomas Martitz2009-04-04
| | | | | | | | *) Fix 64bit sim for playhop. *) Revert to pre-skip length behavor for dir skipping (always have dirskipping, no matter of skip length), only prevent dir skipping if "prevent track skipping" is enabled *) small code unification with regards to track and dir skipping git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20618 a1c6a512-1295-4272-9138-f99709370657
* Fix the resume problems on hwcodec which were uncovered by r20483+r20485. ↵Jens Arnold2009-03-29
| | | | | | The timing problem was there before; checking for id3 availability as a criterion whether to exit the wps was plain wrong. Now it exits only if playback actually finished. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20568 a1c6a512-1295-4272-9138-f99709370657
* Fix potential NULL pointer access.Jens Arnold2009-03-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20566 a1c6a512-1295-4272-9138-f99709370657
* Fix typos in commentsAlexander Levin2009-03-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20560 a1c6a512-1295-4272-9138-f99709370657
* Fix hwcodec to actually check for prevent_skipThomas Martitz2009-03-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20554 a1c6a512-1295-4272-9138-f99709370657