summaryrefslogtreecommitdiff
path: root/apps/gui/quickscreen.c (follow)
Commit message (Collapse)AuthorAge
* Fix build reds caused by typos.Thomas Martitz2014-03-18
| | | | Change-Id: I71cdca3b6e73e29d487e0c6d02a69a31dcf3e6bf
* quickscreen: return true on USB connection.Thomas Martitz2014-03-18
| | | | | | | This is consistent with other screens (pitch, id3) on the WPS and in other places. Change-Id: Iafae52507867ff9815a60cf44faaf09a29c55091
* scroll_engine: Rename scroll_stop* functions to be more consistent with the ↵Thomas Martitz2013-12-14
| | | | | | lcd api. Change-Id: I8ada10b96bfb628cca0331689e8b936ae47c7e1c
* Make the recorder build with HAVE_LCD_FLIP disabled.Frank Gevaerts2012-08-28
| | | | Change-Id: I5875dc5c59606867299cc0e30d869b817e879ade
* Make DSP's replaygain independent of global_settings.Michael Sevakis2012-04-30
| | | | | | | | | | Moves replaygain definitions to lib/rbcodec/dsp/dsp_misc.h. Intermediate functions in misc.c handle any adjustment and calling the rbcodec APIs. Change-Id: I9f03561bca9aedd13760cf19c4e19aa3c68e7024 Reviewed-on: http://gerrit.rockbox.org/140 Reviewed-by: Michael Sevakis <jethead71@rockbox.org>
* Make rbcodec/dsp includes more specific.Michael Sevakis2012-04-29
| | | | Change-Id: Idb6af40df26f5b8499a40e8b98602261ef227044
* quickscreen: optionally display the shortcuts menu instead of the QSJonathan Gordon2012-03-28
| | | | | | | | | | | Adds an option under settings > general settings > system to allow the user to have the shortcuts menu displayed instead of the quick screen. (option is "shortcuts instead of quickscreen" in the .cfg) Change-Id: Id679b461c40ac617629422736d1509384364084d Reviewed-on: http://gerrit.rockbox.org/199 Reviewed-by: Marek Salaba <marek.salaba@gmail.com> Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
* Changed the FOR_NB_SCREENS macro to always be a for loop that declares its ↵Björn Stenberg2011-10-15
| | | | | | own loop variable. This removes the need to declare this variable in the outer scope. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30756 a1c6a512-1295-4272-9138-f99709370657
* Remove to top/bottom quickscreen defaults.Jonathan Gordon2011-07-20
| | | | | | | As constantly discussed in IRC, it is insane that dirfilter and party mode are defaults on the quickscreen, both have caused countless problems for users accidentaly enabling them. This wont change anything for users who have changed their setting, only for people who left it default git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30176 a1c6a512-1295-4272-9138-f99709370657
* FS#11925 - Add a proper system to keep track of the current screen/activity ↵Jonathan Gordon2011-06-01
| | | | | | to make %cs far more useful git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29944 a1c6a512-1295-4272-9138-f99709370657
* Fix several 'variable set but not used' warnings reported from GCC 4.6.0.Andree Buschmann2011-05-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29805 a1c6a512-1295-4272-9138-f99709370657
* invert the quickscreen setting direction on wheel targets for settings which ↵Jonathan Gordon2011-04-24
| | | | | | are number lists so pressing up makes it bigger (i.e contrast). fixes http://forums.rockbox.org/index.php/topic,27778.0.html git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29772 a1c6a512-1295-4272-9138-f99709370657
* Restore the 'read_disk' flag for settings_apply that was removed in r24922. ↵Magnus Holmgren2010-03-06
| | | | | | It is still needed to prevent uncessary disk I/O for fonts etc. Should fix FS#11071 (I haven't tested it on a HD-based player). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25042 a1c6a512-1295-4272-9138-f99709370657
* split the theme settings apply() sutff out of settings_apply(). this should ↵Jonathan Gordon2010-02-26
| | | | | | | | | fix splashes not being loc'ed, statusbar over the splash (fixed in sim, not on my mini2g though), and the supposed boot time slowdown. What this also does is remove a bunch of unnecessary settings_Apply()'s from the ipod accessory code, and causes all non-skin settings to get applied each time (this includes font and langs which we wernt doing to stop disk access) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24922 a1c6a512-1295-4272-9138-f99709370657
* small change to how the quickscreen fixes its viewportsJonathan Gordon2010-02-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24918 a1c6a512-1295-4272-9138-f99709370657
* Quickscreen: add more check for case that qs item is not set.Teruaki Kawashima2010-02-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24901 a1c6a512-1295-4272-9138-f99709370657
* Quickscreen: Hande case where not all quick settings are definesTomer Shalev2010-02-23
| | | | | | | | | | This happens in Archos Recorder, see quick_screen_f3(), which caused crash (FS#11037), due to top item not defined. The commit explicitly sets items[QUICKSCREEN_TOP] to NULL, and also draws an arrow only if the item is defined. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24871 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
* Use array for quickscreen item settings to simplify some logicNils Wallménius2009-10-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23380 a1c6a512-1295-4272-9138-f99709370657
* Cleanup quickscreen text drawing by using text alignment flags for viewports.Thomas Martitz2009-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23283 a1c6a512-1295-4272-9138-f99709370657
* Deinline fuction and some whitespace tweaksNils Wallménius2009-10-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23062 a1c6a512-1295-4272-9138-f99709370657
* Factor out/generalise the function that checks whether a point is within a ↵Thomas Martitz2009-09-05
| | | | | | viewport to, and use it in the wps' touchregion code. This corrects the check that was done there. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22638 a1c6a512-1295-4272-9138-f99709370657
* Improve and simplify touchscreen handling of the quickscreen in absolut mode ↵Thomas Martitz2009-09-05
| | | | | | - and implement handling for the top item. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22637 a1c6a512-1295-4272-9138-f99709370657
* Don't forget the touchscreen targets!Thomas Martitz2009-09-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22636 a1c6a512-1295-4272-9138-f99709370657
* Put the quickscreen viewports onto the stack (saving a tiny bit of ram), and ↵Thomas Martitz2009-09-05
| | | | | | simplify the preparing and drawing functions a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22634 a1c6a512-1295-4272-9138-f99709370657
* Fix bug in viewports preparation (screen.lcdwidth() isn't really proper for ↵Thomas Martitz2009-09-05
| | | | | | this in times of custom ui vp), and stop all scrolling before exiting (fixes FS#10584). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22631 a1c6a512-1295-4272-9138-f99709370657
* Added a missing line for spoken QUICKSCREEN_TOP item in Quick Screen.Alessio Lenzi2009-09-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22591 a1c6a512-1295-4272-9138-f99709370657
* Quickscreen: 4th itemThomas Martitz2009-08-29
| | | | | | | | | | | This adds a 4th top item to the quickscreen. It's as configurable as the existing three items. This patch goes along with optimisations for small screens for better displaying of all four items. 14px font is very usable on a 64px height display for example. Left and Top items go through the items in the opposite direction, so that you can mirror a setting and toggle through it in both directions. Default item is party mode, as it's target independant. Flyspray: FS#9706 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22532 a1c6a512-1295-4272-9138-f99709370657
* Make the formatter functions used by the settings return a pointer to avoid ↵Nils Wallménius2009-08-20
| | | | | | usless copying of lang strings, this brought with it a long chain of const correctness and a few random cleanups git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22440 a1c6a512-1295-4272-9138-f99709370657
* Make quickscreen items enum name lower-case, as per docs/CONTRIBUTING.Thomas Martitz2009-08-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22291 a1c6a512-1295-4272-9138-f99709370657
* Make gui_syncquickscreen_run() static as it's not used anywhere.Thomas Martitz2009-08-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22290 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
* 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
* Fix typos in commentsAlexander Levin2009-03-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20560 a1c6a512-1295-4272-9138-f99709370657
* Clean up some more #includesBertrik Sikken2009-03-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20243 a1c6a512-1295-4272-9138-f99709370657
* Minor quickscreen and pitchscreen fixesThomas Martitz2009-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19924 a1c6a512-1295-4272-9138-f99709370657
* Fix Quickscreen ACTION_QS_DOWNINV button to reverse direction of down entry ↵Dominik Riebeling2009-01-09
| | | | | | which was broken with r17315. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19733 a1c6a512-1295-4272-9138-f99709370657
* Decouple the statusbar drawing from the rest of the screen drawing. it is ↵Jonathan Gordon2008-12-31
| | | | | | | | | | | | not drawn roughly 4x per second automatically. viewport_Set_defaults() will setup the given viewport with the correct "full screen" dimensions (so start at 0,0 if statusbars are disabled or 0,8 if they are enabled.) All screens should keep the statusbar enabled, but if you really want to ignore the user setting you can disbaled it with viewportmanager_set_statusbar(false). This commit also includes some menu/list viewport cleanups from kugel in FS#9603 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19622 a1c6a512-1295-4272-9138-f99709370657
* FS#9525 - The list for the quickscreen items chooser turned out to not ↵Jonathan Gordon2008-11-05
| | | | | | | | | | | really be usable so try this instead. Settings in the menus will now have a context menu where you can reset the setting and if its OK to put it on the quickscreen there will be options there to put it on it. Also, ban last.fm and cuesheet support settings from the QS git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19013 a1c6a512-1295-4272-9138-f99709370657
* Make local functions staticBertrik Sikken2008-11-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18995 a1c6a512-1295-4272-9138-f99709370657
* FS#9515 - customisable quickscreen. Allows you to choose which setting you ↵Jonathan Gordon2008-11-03
| | | | | | | | | | want displayed on the quickscreen. Allows almost every available setting. (change the options in settings > general settings > quickscreen items) Not every setting will work perfectly, some might need aditional handling if the change doesnt take effect straight away (let us know which are problematic so they can be fixed) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18984 a1c6a512-1295-4272-9138-f99709370657
* rearrange the order that the quickscreen wiewports are allocated.Jonathan Gordon2008-10-31
| | | | | | | | | The Icon viewport in the center will use as much width as there is room, and should never shrink so that there isnt room for the 2 arrows. Doing it this way makes sure the arrows stay with the text instead of being stuck in the middle of the screen (which seems to happen mostly on portrait LCD's with the old version) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18943 a1c6a512-1295-4272-9138-f99709370657
* Change screens memebers char_width, char_height and nb_lines to functions ↵Peter D'Hoye2008-09-07
| | | | | | returning a calculated value. Fixes FS #9361 because the values were calculated based on sysfont, not the user selected font. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18441 a1c6a512-1295-4272-9138-f99709370657
* The second part of this expression always becomes true before the first ↵Jens Arnold2008-07-01
| | | | | | part, so the first part is unnecessary. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17907 a1c6a512-1295-4272-9138-f99709370657
* Fix the bug where the german language would crash the quickscreen on the nano. Jonathan Gordon2008-06-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17889 a1c6a512-1295-4272-9138-f99709370657
* Remove a viewport ambiguity by changing the screens width/heigth members ↵Peter D'Hoye2008-06-28
| | | | | | into lcdwidth/lcdheight. Normal usercode should always use getwidth()/getheigth() as that returns the viewport width/height. Fixes issues that would have appeared in many places when introducing viewports with sizes != lcd sizes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17857 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* Updated recording trigger screen (seems to be a feature almost noone uses?)Jonathan Gordon2008-05-28
| | | | | | | | problems/complaints in http://forums.rockbox.org/index.php?topic=16837.0 there is a known issue that on this screen the stop icon wont update, I dont know why and noone else wants to look at it, so hopefully this will force another set of eyes on it.. this is only a graphical issue... recordings still work fine git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17643 a1c6a512-1295-4272-9138-f99709370657
* Fix FS #9022: space reserved for the icons in the quickscreen used the ↵Peter D'Hoye2008-05-23
| | | | | | incorrect constant git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17616 a1c6a512-1295-4272-9138-f99709370657