diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-05-04 10:58:05 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-05-04 10:58:05 +0000 |
commit | daa8341a13ddc93981d2c2178b183a13b5e08950 (patch) | |
tree | 3a4946cb4b66d0e475aa04bdd8fafc5bd4a5b3e5 /apps/gui/charcell/list.c | |
parent | 977ad4b5a185cede164cfab9b52ba808bd7ed560 (diff) |
a bit of code cleanup.. use a single function to get the statusbar height (or lack of if its enabled), and remove some gui_textarea stuff which could be done using the splash. (gui_textarea is on the way out)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17350 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/charcell/list.c')
-rw-r--r-- | apps/gui/charcell/list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/charcell/list.c b/apps/gui/charcell/list.c index 64f2fecbbd..bba688d698 100644 --- a/apps/gui/charcell/list.c +++ b/apps/gui/charcell/list.c @@ -54,7 +54,7 @@ void list_draw(struct screen *display, struct viewport *parent, display->set_viewport(NULL); lines = display->nb_lines; - gui_textarea_clear(display); + display->clear_display(); start = 0; end = display->nb_lines; gui_list->last_displayed_start_item[display->screen_type] = @@ -126,5 +126,5 @@ void list_draw(struct screen *display, struct viewport *parent, } display->update_viewport(); - gui_textarea_update(display); + display->update(); } |