summaryrefslogtreecommitdiff
path: root/apps/gui/list.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-04-16 09:14:36 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-04-16 09:14:36 +0000
commit6a5cc0bd25bd468c79e453fa49f353edd824141a (patch)
tree8b406e8390550ff8b87eae3214309867574657f0 /apps/gui/list.h
parent7afe2e86931313653d4dedb6d5167c79c2822aba (diff)
downloadrockbox-6a5cc0bd25bd468c79e453fa49f353edd824141a.tar.gz
rockbox-6a5cc0bd25bd468c79e453fa49f353edd824141a.zip
Customizable icons for all bitmap targets. (FS#7013)
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
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,