summaryrefslogtreecommitdiff
path: root/apps/gui/list.h (follow)
Commit message (Collapse)AuthorAge
* Pass the buffer length to the list_get_name callback functions instead of ↵Nils Wallménius2008-04-09
| | | | | | using hardcoded MAX_PATH git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17049 a1c6a512-1295-4272-9138-f99709370657
* fix the buttonbar in the browser and menus. Jonathan Gordon2008-03-26
| | | | | | | fix a problem where the menus wouldnt redraw when they should have when settings change git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16816 a1c6a512-1295-4272-9138-f99709370657
* the menu and list now accepts a parent viewport to draw in (and the menu can ↵Jonathan Gordon2008-03-26
| | | | | | be told to not show status/button bars). This lays the groundwork to fix colour problems with plugin menus (see star.c for an example.) This hopefully fixes some button bar issues as well as theme problems. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16812 a1c6a512-1295-4272-9138-f99709370657
* FS#8457 - convert the list drawing code to use viewports. This does not ↵Jonathan Gordon2008-03-05
| | | | | | include any of the customizability which was in the patch, so unless any bugs show up users should not notice any difference. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16527 a1c6a512-1295-4272-9138-f99709370657
* remove the duplicated gui_list struct and only duplicate the members which ↵Jonathan Gordon2007-12-17
| | | | | | are actually different on each screen. should translate to a smaller bin and easier code (users shouldnt notice any difference) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15947 a1c6a512-1295-4272-9138-f99709370657
* allow simplelists to set the timeout and the start selection.Jonathan Gordon2007-10-21
| | | | | | | | set a slightly saner default timeout talk the selected item when the list is first displayed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15247 a1c6a512-1295-4272-9138-f99709370657
* remove the seelection_size param from the info init call to hopefully ↵Jonathan Gordon2007-10-21
| | | | | | decrease the bin size a bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15237 a1c6a512-1295-4272-9138-f99709370657
* simplify the simpelist api slightly so not every struct member needs to be ↵Jonathan Gordon2007-10-21
| | | | | | init manually. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15236 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#7774: Voice callback for gui_synclist.Stéphane Doyon2007-10-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15231 a1c6a512-1295-4272-9138-f99709370657
* add a list API for simple lists which dont need lots of code to run.Jonathan Gordon2007-10-20
| | | | | | | | | | Example uses in debug_menu.c This API works best if most of the text is static, or not many actions need to acted on. (of course, any list could use this) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15221 a1c6a512-1295-4272-9138-f99709370657
* Remove the "invert scroll" code since it's not used anywhere anymore (and it ↵Antoine Cellerier2007-10-15
| | | | | | was broken on color targets with gradients anyway). Closes FS #7875. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15125 a1c6a512-1295-4272-9138-f99709370657
* minor update to gui_synclist_do_button() which will hopefully simplify ↵Jonathan Gordon2007-09-17
| | | | | | | | | things later. Now returns true if the action was handled in that function instead of returning the handled action. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14733 a1c6a512-1295-4272-9138-f99709370657
* Give color targets the ability to display each LCD line a different color ↵Brandon Low2007-06-17
| | | | | | and use this newfangled ability to provide themable colored file types. See the comments on read_color_theme_file and the sample.colors file provided for how to use this. .colors files go in themes directory for now. This separate line color function should be trivial to add to menus and wpss. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13656 a1c6a512-1295-4272-9138-f99709370657
* Add a mode the lists which doesnt show the selection marker.Jonathan Gordon2007-06-07
| | | | | | | | Useful for the debug menus where users shouldn't think pressing select would do anything. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13588 a1c6a512-1295-4272-9138-f99709370657
* Customizable icons for all bitmap targets. (FS#7013)Jonathan Gordon2007-04-16
| | | | | | | http://www.rockbox.org/twiki/bin/view/Main/CustomIcons for info on format and how to load them git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13177 a1c6a512-1295-4272-9138-f99709370657
* Removed unused struct member from gui_synclist, and reordered struct members ↵Jens Arnold2007-04-12
| | | | | | of gui_list for optimal packing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13139 a1c6a512-1295-4272-9138-f99709370657
* 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
* 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
* 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
* 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
* 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
* Barry Wardell's keymappings for H10Daniel Stenberg2006-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 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
* Recorder, Player: * Fix remote up/down in lists (browser, menu). * Add ↵Jens Arnold2006-06-22
| | | | | | remote butons for settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10146 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
* first gigabeat commitMarcoen Hirschberg2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
* Use the iPod 4G button mappings for the iPod 3G as well (at least for now)Dave Chapman2006-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8591 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
* Matt v.d. Westhuizen's iAudio X5 keypad adjustmentsDaniel Stenberg2006-01-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
* Work-in-progress iriver iFP-7xx port by Tomasz MalesinskiDave Chapman2006-01-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
* Remove IPOD_NANO_PAD definition - the Nano's keypad has turned out to be ↵Dave Chapman2005-12-19
| | | | | | identical to the other 4G models git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8262 a1c6a512-1295-4272-9138-f99709370657
* iPod: First attempt to implement sensible button mappings. Changes to all ↵Dave Chapman2005-11-19
| | | | | | targets to replace a small number of references to raw button codes (BUTTON_???) with their abstract equivalents. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7983 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
* iPod: Add placeholder button definitions - these need reviewing when the ↵Dave Chapman2005-11-12
| | | | | | button usage for the iPod is decided git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7830 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
* 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
* Changed some fn names, also corrected a bug with fonts and made the filetree ↵Kevin Ferrare2005-10-28
| | | | | | work like the original one (stop on reaching list limits when pressing button) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7679 a1c6a512-1295-4272-9138-f99709370657
* Initial multi screen support by Kévin Ferrare (Patch #1318081)Linus Nielsen Feltzing2005-10-28
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7666 a1c6a512-1295-4272-9138-f99709370657