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.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/gui/list.h b/apps/gui/list.h
index bd43edf7ef..283676d631 100644
--- a/apps/gui/list.h
+++ b/apps/gui/list.h
@@ -49,9 +49,7 @@ enum list_wrap {
49 * the icon after the function returns. 49 * the icon after the function returns.
50 * Note : we use the ICON type because the real type depends of the plateform 50 * Note : we use the ICON type because the real type depends of the plateform
51 */ 51 */
52typedef void list_get_icon(int selected_item, 52typedef enum themable_icons list_get_icon(int selected_item, void * data);
53 void * data,
54 ICON * icon);
55/* 53/*
56 * Text callback 54 * Text callback
57 * - selected_item : an integer that tells the number of the item to display 55 * - selected_item : an integer that tells the number of the item to display
@@ -101,7 +99,7 @@ struct gui_list
101 /* The optional title, set to NULL for none */ 99 /* The optional title, set to NULL for none */
102 char * title; 100 char * title;
103 /* Optional title icon */ 101 /* Optional title icon */
104 ICON title_icon; 102 enum themable_icons title_icon;
105}; 103};
106 104
107/* 105/*
@@ -190,7 +188,7 @@ extern void gui_synclist_del_item(struct gui_synclist * lists);
190extern void gui_synclist_limit_scroll(struct gui_synclist * lists, bool scroll); 188extern void gui_synclist_limit_scroll(struct gui_synclist * lists, bool scroll);
191extern void gui_synclist_flash(struct gui_synclist * lists); 189extern void gui_synclist_flash(struct gui_synclist * lists);
192extern void gui_synclist_set_title(struct gui_synclist * lists, char * title, 190extern void gui_synclist_set_title(struct gui_synclist * lists, char * title,
193 ICON icon); 191 int icon);
194 192
195/* 193/*
196 * Do the action implied by the given button, 194 * Do the action implied by the given button,