summaryrefslogtreecommitdiff
path: root/apps/gui/list.c (follow)
Commit message (Collapse)AuthorAge
...
* Optimized the gui list code performance, including automatic frame dropping ↵Miika Pekkarinen2007-03-11
| | | | | | and cpu boosting when button events are getting queued. Improved scrollwheel acceleration code is needed to notice a real change. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12721 a1c6a512-1295-4272-9138-f99709370657
* revert FS#6747 — y-margin reset in gui_list_draw, it introduced a nasty Jonathan Gordon2007-03-11
| | | | | | | scroll bug which isnt so simple to fix. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12719 a1c6a512-1295-4272-9138-f99709370657
* only call display->setmargins() onceJonathan Gordon2007-03-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12706 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#6747 by Timo HorstschäferJonathan Gordon2007-03-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12704 a1c6a512-1295-4272-9138-f99709370657
* Allow dynamic menu items to be spoken, especially the resume/now playing itemLinus Nielsen Feltzing2007-03-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12614 a1c6a512-1295-4272-9138-f99709370657
* thats what happens when you commit between dinner courses :pJonathan Gordon2007-03-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12582 a1c6a512-1295-4272-9138-f99709370657
* Fix red builds.Jonathan Gordon2007-03-04
| | | | | | | (Previous commit was for FS#6713 btw) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12581 a1c6a512-1295-4272-9138-f99709370657
* Add a function to get the actual button that was pressed (and some Jonathan Gordon2007-03-04
| | | | | | | | status codes) instead of the action. Use this to figure out which screen to do prev/next page on in the lists git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12580 a1c6a512-1295-4272-9138-f99709370657
* The list should reset the x margin when it finishes drawing. Not leave Jonathan Gordon2007-03-03
| | | | | | | it up to the next screen git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12570 a1c6a512-1295-4272-9138-f99709370657
* Centralise icon enabling to hopefully save a few bytesSteve Bavin2007-03-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12540 a1c6a512-1295-4272-9138-f99709370657
* Make private functions static. Remove some functions from the plugin api as ↵Nils Wallménius2007-02-23
| | | | | | they weren't used in any plugins and could then be declared static. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12462 a1c6a512-1295-4272-9138-f99709370657
* Allow the list to display a title icon even if no other icons will be Jonathan Gordon2007-02-18
| | | | | | | displayed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12375 a1c6a512-1295-4272-9138-f99709370657
* build with -Wundef to make sure we have spelled the defines right in #if linesDaniel Stenberg2007-02-17
| | | | | | | and have the proper includes included etc git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12360 a1c6a512-1295-4272-9138-f99709370657
* Next round of static'ing and related fixes.Jens Arnold2006-12-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11836 a1c6a512-1295-4272-9138-f99709370657
* Turned function back into define as that uses less bytes because gcc inlined ↵Peter D'Hoye2006-12-09
| | | | | | the function. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11699 a1c6a512-1295-4272-9138-f99709370657
* Fix crash in browser when using very big fonts and show path option ↵Peter D'Hoye2006-12-09
| | | | | | together. Solves FS#6397. Patch created by Mark Arigo and modified by me. Minor code ploicing while in there. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11696 a1c6a512-1295-4272-9138-f99709370657
* dont allow the volume setting to wrapJonathan Gordon2006-11-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11445 a1c6a512-1295-4272-9138-f99709370657
* fixes fs# 5938 - scrollbar with title enabled shows one less than it shouldJonathan Gordon2006-11-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11412 a1c6a512-1295-4272-9138-f99709370657
* fix warningMartin Scarratt2006-09-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11043 a1c6a512-1295-4272-9138-f99709370657
* fix the bug where when scrolling text left in the filebrowser you could ↵Martin Scarratt2006-09-25
| | | | | | suddenly find yourself in the root directory. A long press on the left scrolling button will still take you to the root quickly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11042 a1c6a512-1295-4272-9138-f99709370657
* holding left in the tree will quickly get back to root, as long as the text ↵Jonathan Gordon2006-09-17
| | | | | | is in the left-most position (like before) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10965 a1c6a512-1295-4272-9138-f99709370657
* Add optional icon to list title, current path display shows a dir icon, and ↵Mark Arigo2006-08-23
| | | | | | list titles now left-justified. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10726 a1c6a512-1295-4272-9138-f99709370657
* Stop lists wrapping when using page up/downJonathan Gordon2006-08-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10712 a1c6a512-1295-4272-9138-f99709370657
* Clear file view title if the user turns it off.Dan Everton2006-08-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10596 a1c6a512-1295-4272-9138-f99709370657
* fix "off-by-one" bug in paginated scrolling with the titleJonathan Gordon2006-08-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10589 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
* A few changes and fixes for the title in the file view: disable title string ↵Dan Everton2006-08-15
| | | | | | in tagcache view, strip leading / from current directory title, center title properly, scroll title if it's too long. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10581 a1c6a512-1295-4272-9138-f99709370657
* Patch #5795 from Jonathan Gordon - change the settings display for ↵Dave Chapman2006-08-15
| | | | | | enumerations and integers to use the list widget. Patch also adds an optional title to the list widget which is used in the settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10576 a1c6a512-1295-4272-9138-f99709370657
* Committing FS#5182 - One button hold for Horizontal screen scrolling.Shachar Liberman2006-08-12
| | | | | | | =>hold RIGHT or LEFT button on a GUI based list to scroll horizontally. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10545 a1c6a512-1295-4272-9138-f99709370657
* OOPS Forgot remote keys bindings for the ID3 info screenKevin Ferrare2006-07-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10176 a1c6a512-1295-4272-9138-f99709370657
* added support remote support for the id3 infos screen (had to slightly ↵Kevin Ferrare2006-07-02
| | | | | | change the list engine to use it here as well), corrected a mistake in the french translation git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10175 a1c6a512-1295-4272-9138-f99709370657
* Added a yield() after each pgup/pgdn similar to what is done for prev/next. ↵Hardeep Sidhu2006-06-04
| | | | | | Fixes B#5354. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10054 a1c6a512-1295-4272-9138-f99709370657
* Patch #4864 by Jonathan Gordon: text editor plugin, with some changes by me.Hristo Kovachev2006-04-03
| | | | | | | Also correct a var clash between the rockbox's gui api and doom plugin git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9451 a1c6a512-1295-4272-9138-f99709370657
* Fix player target and sim.Dan Everton2006-03-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8984 a1c6a512-1295-4272-9138-f99709370657
* Reset font before calculating number of lines to display in the list. Fixes ↵Dan Everton2006-03-09
| | | | | | returning to a list display from a plugin that changes the display font. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8982 a1c6a512-1295-4272-9138-f99709370657
* Adaptive button repeat: adapts repeat rate depending on the ability of the ↵Jens Arnold2006-02-19
| | | | | | application to cope. Avoids afterscroll and similar effects. * Yield while scrolling through lists. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8738 a1c6a512-1295-4272-9138-f99709370657
* Don't leave whitespace on last screen when in paged scrolling mode.Dan Everton2006-02-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8685 a1c6a512-1295-4272-9138-f99709370657
* Add paged scrolling option. Really helps when scrolling through large lists ↵Dan Everton2006-02-13
| | | | | | on targets with slow LCDs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8682 a1c6a512-1295-4272-9138-f99709370657
* Horizontal screen scrolling part 3 (by Shachar Liberman)Brandon Low2006-01-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8414 a1c6a512-1295-4272-9138-f99709370657
* Horizontal scrolling patch by Shachar LibermanTomas Salfischberger2006-01-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8412 a1c6a512-1295-4272-9138-f99709370657
* Patch #1387569 by Stephan Wezel - page-down doesn't select the element ↵Linus Nielsen Feltzing2005-12-29
| | | | | | before the last element git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8294 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
* show/hide icons now works properly in playlist viewerKevin Ferrare2005-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7911 a1c6a512-1295-4272-9138-f99709370657
* Multi screen support for playlist viewer, some fixes in other gui filesKevin Ferrare2005-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7901 a1c6a512-1295-4272-9138-f99709370657
* Replaced the common for(i = 0; i < NB_SCREENS; i++) loop with a macro that ↵Jens Arnold2005-11-09
| | | | | | just expands to i = 0; instead of the for() loop if NB_SCREENS == 1. Reduces binary size on platforms with only one screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7805 a1c6a512-1295-4272-9138-f99709370657
* Fixed the icon for unknown file types on the archos Player, and the bug when ↵Kevin Ferrare2005-11-09
| | | | | | removing the last file on the screen in filetree, added some code for playlists integration with multi-screen git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7800 a1c6a512-1295-4272-9138-f99709370657
* Changed back the copyright's name in onplay.c (silly UTF-8, sorry Björn ! ↵Kevin Ferrare2005-11-01
| | | | | | ), changed the internal multi-screen API a little bit, in a cleaner way git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7716 a1c6a512-1295-4272-9138-f99709370657
* Partial menus support on remote (only browsing is working, changing option ↵Kevin Ferrare2005-10-30
| | | | | | isn't), corrected a bug in gui_list about scrollbar beeing displayed sometimes when it musn't git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7693 a1c6a512-1295-4272-9138-f99709370657
* Corrected a bug on archos with buttonbar which was erased when filetree ↵Kevin Ferrare2005-10-30
| | | | | | refreshed (mistake introduced in 2005/10/29 commit; Changed some copyrights in the files (I hope this time will be the good one and the last one ! ) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7684 a1c6a512-1295-4272-9138-f99709370657
* Some changes to the remote code : some one lines function turned into macros ↵Kevin Ferrare2005-10-29
| | | | | | ; changed pre-increment to post-increment since it's clearer that way ; added a data pointer to the list callback (global variables are baaaad) ; some more documentation of the API and minor cleanups git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7681 a1c6a512-1295-4272-9138-f99709370657