summaryrefslogtreecommitdiff
path: root/apps/gui/quickscreen.c (follow)
Commit message (Collapse)AuthorAge
* 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
* more textarea to viewport conversion... yes/no screen...Jonathan Gordon2008-05-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17454 a1c6a512-1295-4272-9138-f99709370657
* Binsize optimization for targets without lcd remotes, whitespace/long lines ↵Nils Wallménius2008-05-11
| | | | | | police git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17453 a1c6a512-1295-4272-9138-f99709370657
* Prototype declaration strictness fixes.Bertrik Sikken2008-05-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17424 a1c6a512-1295-4272-9138-f99709370657
* Polish voicing of quickscreen: make it like in FS#6171: announceStéphane Doyon2008-05-04
| | | | | | | | | "quickscreen" on entering, announce when leaving, say option name when changing values in case the user isn't entirely familiar with the layout... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17358 a1c6a512-1295-4272-9138-f99709370657
* doh! those talk functions dont check the setting (which for some reason I ↵Jonathan Gordon2008-05-04
| | | | | | thought they did).. shut the quickscreen up if talk is disabled git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17354 a1c6a512-1295-4272-9138-f99709370657
* recommit the talking quickscreen... silly rename bug which I mised this morningJonathan Gordon2008-05-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17348 a1c6a512-1295-4272-9138-f99709370657
* Revert r17345 on jdgordon's request, until we figure out why it crashes my x5.Stéphane Doyon2008-05-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17346 a1c6a512-1295-4272-9138-f99709370657
* make the quickscreen talkJonathan Gordon2008-05-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17345 a1c6a512-1295-4272-9138-f99709370657
* make the quickscreen not block so the statusbar gets updatedJonathan Gordon2008-05-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17343 a1c6a512-1295-4272-9138-f99709370657
* Viewported quickscreen (take 2 :D) (FS#8553)Jonathan Gordon2008-05-03
| | | | | | | | | | - no customization support - no top item - much better use of the screen - deprecates 20 odd lang strings (the QS can now use the regular lang strings and user font) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17315 a1c6a512-1295-4272-9138-f99709370657
* (Hopefully) Revert the quickscreen changes. Many fixes need to be made, Paul Louden2008-02-05
| | | | | | | | | and the exact implementation needs discussion. We apologize for the inconvenience and hope to bring an improved quickscreen to you soon. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16224 a1c6a512-1295-4272-9138-f99709370657
* quiet the masses...Jonathan Gordon2008-02-05
| | | | | | | | | stop the wps scrolling happening in the quickscreen green delta for non quickscreen targets nfi why colours arnt working... hopefully bug in firmware/? git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16222 a1c6a512-1295-4272-9138-f99709370657
* updated the quickscreen's:Jonathan Gordon2008-02-05
| | | | | | | | | | | - use viewports - dont change to system font, fiddle with item positions to make them fit small screens - user customizable options (use the .cfg settings "quickscreen_left, quickscreen_right, quickscreen_top, quickscreen_bottom" for the name and the .cfg name for the setting you want to use. it can be any except the string settings... (e.g. quickscreen_left:talk menu) - a top item! if there is none set the up button will exit the screen git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16220 a1c6a512-1295-4272-9138-f99709370657
* Get rid of macros and do these calculations only once insteadNils Wallménius2007-09-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14770 a1c6a512-1295-4272-9138-f99709370657
* remove the need for action_signalscreenchange().Jonathan Gordon2007-07-22
| | | | | | | Fixes problems with targets where the ACTION_STD_CANCEL event is a combo git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13956 a1c6a512-1295-4272-9138-f99709370657
* Remove dead code.Nils Wallménius2007-05-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13488 a1c6a512-1295-4272-9138-f99709370657
* Make a couple of private functions 'static'Nils Wallménius2007-03-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12729 a1c6a512-1295-4272-9138-f99709370657
* Use the user font in the quickscreen if it fits. Still uses Jonathan Gordon2007-03-04
| | | | | | | LANG_SYSFONT_x... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12587 a1c6a512-1295-4272-9138-f99709370657
* Finally, the new button action system is here, thanks to Jonathan Gordon. ↵Linus Nielsen Feltzing2006-08-15
| | | | | | Some button mappings have changed and other things may break. Comments should go to the forum, http://forums.rockbox.org/index.php?topic=5829.0 or the mailing list. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10582 a1c6a512-1295-4272-9138-f99709370657
* Readjusted quickscreen code so that it now actually scales to larger LCDs. ↵Zakk Roberts2006-04-11
| | | | | | Get rid of 'left_right_text' argument - this also means that 'scroll bar' and 'status bar' look better in some languages. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9602 a1c6a512-1295-4272-9138-f99709370657
* Enabled the quickscreen for iAudio X5. Globally, REC enters the menu and ↵Zakk Roberts2006-04-10
| | | | | | holding REC enters the quickscreen. Also moved the quickscreen #define to model config files, which simplifies the checking for it and makes checking more consistent. Cleaned up keymappings in quickscreen.h. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9590 a1c6a512-1295-4272-9138-f99709370657
* Use the display->width property instead of the hardcoded LCD_WIDTH. Now the ↵Hristo Kovachev2006-04-04
| | | | | | quickscreen is displayed correctly on the LCD remotes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9482 a1c6a512-1295-4272-9138-f99709370657
* Updated quickscreens, now they look better than before while still retaining ↵Zakk Roberts2006-04-02
| | | | | | the ability to scroll - this is about as good as it gets until viewports are implemented. Also enabled the quickscreen for iPods. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9421 a1c6a512-1295-4272-9138-f99709370657
* Redesigned F2/F3 quick screens to put each option and its value on its own, ↵Zakk Roberts2006-03-12
| | | | | | scrolling line - fixes the problems with long strings the old design had. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9017 a1c6a512-1295-4272-9138-f99709370657
* AB-repeat mode for software codecs. Accessible through menu as a repeat ↵Brandon Low2006-01-21
| | | | | | mode, with buttom mappings much like those on other rockbox targets for now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8409 a1c6a512-1295-4272-9138-f99709370657
* waiting is over: initial unicode commitMarcoen Hirschberg2005-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8169 a1c6a512-1295-4272-9138-f99709370657
* Big Code Police raid. Pretty pretty please, we do no macrofy simpleDaniel Stenberg2005-12-05
| | | | | | | | assignments and things just to make them appear as function calls. That makes code harder to follow. Did some gcc4 warning fixes as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8163 a1c6a512-1295-4272-9138-f99709370657
* Quick screen patch by _firefly_Christi Scarborough2005-11-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8065 a1c6a512-1295-4272-9138-f99709370657
* fix for the quick screen, now remote is working properlyKevin Ferrare2005-11-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8061 a1c6a512-1295-4272-9138-f99709370657
* Adapted and commited Markus Kaufhold's remote hold icon on statusbar patch ↵Kevin Ferrare2005-11-22
| | | | | | for iriver ; generic logo handler (now it's possible to have a different USB logo on main screen and on remote), made the quickscreen behave as it was before git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8044 a1c6a512-1295-4272-9138-f99709370657
* Fixed truncated option strings for numeric settings.Jens Arnold2005-11-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8043 a1c6a512-1295-4272-9138-f99709370657
* Added multi-screen support for quickscreen (mostly rewritten from scratch) ↵Kevin Ferrare2005-11-22
and USB screen ; just looking at the hour makes me think it could be buggy git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8039 a1c6a512-1295-4272-9138-f99709370657