diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-03-05 09:58:30 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-03-05 09:58:30 +0000 |
commit | 0e5cec2d187dbded9b3c36dbcfd1469d00fe47af (patch) | |
tree | ab02e321e04ebfb4fb2e0a5327b5443a10761176 /apps/tree.c | |
parent | 8232e1a7c8d7cfaa16e3c8283fdb6d5a46aaf577 (diff) | |
download | rockbox-0e5cec2d187dbded9b3c36dbcfd1469d00fe47af.tar.gz rockbox-0e5cec2d187dbded9b3c36dbcfd1469d00fe47af.zip |
FS#8457 - convert the list drawing code to use viewports. This does not include any of the customizability which was in the patch, so unless any bugs show up users should not notice any difference.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16527 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c index 0b4ea95c41..ec70cb3e2e 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -311,8 +311,7 @@ void tree_gui_init(void) | |||
311 | gui_synclist_set_voice_callback(&tree_lists, tree_voice_cb); | 311 | gui_synclist_set_voice_callback(&tree_lists, tree_voice_cb); |
312 | gui_synclist_set_icon_callback(&tree_lists, &tree_get_fileicon); | 312 | gui_synclist_set_icon_callback(&tree_lists, &tree_get_fileicon); |
313 | #ifdef HAVE_LCD_COLOR | 313 | #ifdef HAVE_LCD_COLOR |
314 | gui_list_set_color_callback(&tree_lists, | 314 | gui_synclist_set_color_callback(&tree_lists, &tree_get_filecolor); |
315 | &tree_get_filecolor); | ||
316 | #endif | 315 | #endif |
317 | } | 316 | } |
318 | 317 | ||