diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-03-09 02:00:31 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-03-09 02:00:31 +0000 |
commit | 3f686d7034a1c18e1258b9433e5a69b8e95bc3cf (patch) | |
tree | 6dd99b53acc8481fdd0b32feb62ead3c78bf3669 /apps/gui/list.c | |
parent | e96f19c690947dafeabcd568b0e562e7dc200809 (diff) | |
download | rockbox-3f686d7034a1c18e1258b9433e5a69b8e95bc3cf.tar.gz rockbox-3f686d7034a1c18e1258b9433e5a69b8e95bc3cf.zip |
fix recorder, buttonbar caused list problems
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16584 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/list.c')
-rw-r--r-- | apps/gui/list.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c index 9aafece04e..9de705dcbc 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c | |||
@@ -197,6 +197,13 @@ void gui_synclist_draw(struct gui_synclist *gui_list) | |||
197 | FOR_NB_SCREENS(i) | 197 | FOR_NB_SCREENS(i) |
198 | { | 198 | { |
199 | last_list_displayed = NULL; | 199 | last_list_displayed = NULL; |
200 | /* quick hack to fix the recorder overwriting the button bar.. | ||
201 | TODO: fix properly */ | ||
202 | gui_list->parent[i]->height = screens[i].height - gui_list->parent[i]->y | ||
203 | #ifdef HAS_BUTTONBAR | ||
204 | - (screens[i].has_buttonbar?BUTTONBAR_HEIGHT:0) | ||
205 | #endif | ||
206 | ; | ||
200 | list_draw(&screens[i], gui_list->parent[i], gui_list); | 207 | list_draw(&screens[i], gui_list->parent[i], gui_list); |
201 | } | 208 | } |
202 | } | 209 | } |