rockbox/apps/plugins/shortcuts
Aidan MacDonald d5a081cbd1 gui: Remove "enum list_wrap" from list action functions
Removing the "list_wrap" argument is actually pretty easy.
In practice, almost all lists are using LIST_WRAP_UNLESS_HELD
behavior so we can make that the default. A couple of lists
disable wraparound with LIST_WRAP_OFF; this is now achieved
by setting the list "wraparound" flag to false when setting
up the list. LIST_WRAP_ON was unused and is of questionable
value, so it has been removed entirely.

This makes list wraparound behavior a property of the list,
controlled solely by the "wraparound" flag. The result is a
simpler list API and implementation, without changing the
behavior of any lists.

Change-Id: Ib55d17519e6d92fc95ae17b84ab0aaf4233bcb5a
2022-10-05 11:22:55 -04:00
..
shortcuts.h Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
shortcuts.make Added 'keywords' and 'eol-style' properties. 2008-11-25 19:54:23 +00:00
shortcuts_append.c plugins: another round of making local functions static 2011-10-15 20:38:08 +00:00
shortcuts_common.c Revert accidental commit of "%z" support in r26071 (the implementation assumed size_t==long, which is not always the case in hosted environments) 2010-07-18 12:42:47 +00:00
shortcuts_view.c gui: Remove "enum list_wrap" from list action functions 2022-10-05 11:22:55 -04:00