summaryrefslogtreecommitdiff
path: root/apps/gui/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/list.h')
-rw-r--r--apps/gui/list.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/apps/gui/list.h b/apps/gui/list.h
index 20410471a2..19f0ccbbff 100644
--- a/apps/gui/list.h
+++ b/apps/gui/list.h
@@ -30,12 +30,6 @@
30 30
31#define SCROLLBAR_WIDTH global_settings.scrollbar_width 31#define SCROLLBAR_WIDTH global_settings.scrollbar_width
32 32
33enum list_wrap {
34 LIST_WRAP_ON = 0,
35 LIST_WRAP_OFF,
36 LIST_WRAP_UNLESS_HELD,
37};
38
39enum synclist_cursor 33enum synclist_cursor
40{ 34{
41 SYNCLIST_CURSOR_NOSTYLE = 0, 35 SYNCLIST_CURSOR_NOSTYLE = 0,
@@ -238,9 +232,7 @@ extern bool gui_synclist_keyclick_callback(int action, void* data);
238 * returns true if the action was handled. 232 * returns true if the action was handled.
239 * NOTE: *action may be changed regardless of return value 233 * NOTE: *action may be changed regardless of return value
240 */ 234 */
241extern bool gui_synclist_do_button(struct gui_synclist * lists, 235extern bool gui_synclist_do_button(struct gui_synclist * lists, int *action);
242 int *action,
243 enum list_wrap);
244#if !defined(PLUGIN) 236#if !defined(PLUGIN)
245struct listitem_viewport_cfg { 237struct listitem_viewport_cfg {
246 struct wps_data *data; 238 struct wps_data *data;
@@ -283,8 +275,7 @@ extern int list_do_action_timeout(struct gui_synclist *lists, int timeout);
283 list_do_action_timeout) with the gui_synclist_do_button call, for 275 list_do_action_timeout) with the gui_synclist_do_button call, for
284 convenience. */ 276 convenience. */
285extern bool list_do_action(int context, int timeout, 277extern bool list_do_action(int context, int timeout,
286 struct gui_synclist *lists, int *action, 278 struct gui_synclist *lists, int *action);
287 enum list_wrap wrap);
288 279
289 280
290/** Simplelist implementation. 281/** Simplelist implementation.