From 6a5cc0bd25bd468c79e453fa49f353edd824141a Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 16 Apr 2007 09:14:36 +0000 Subject: 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 --- apps/tagtree.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'apps/tagtree.c') diff --git a/apps/tagtree.c b/apps/tagtree.c index 56e8740ac8..41db17b31a 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c @@ -1686,20 +1686,12 @@ int tagtree_get_attr(struct tree_context* c) return attr; } -#ifdef HAVE_LCD_BITMAP -const unsigned char* tagtree_get_icon(struct tree_context* c) -#else -int tagtree_get_icon(struct tree_context* c) -#endif +int tagtree_get_icon(struct tree_context* c) { int icon = Icon_Folder; if (tagtree_get_attr(c) == TREE_ATTR_MPA) icon = Icon_Audio; -#ifdef HAVE_LCD_BITMAP - return bitmap_icons_6x8[icon]; -#else return icon; -#endif } -- cgit v1.2.3