summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-04-29 15:31:43 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-04-29 15:31:43 +0000
commit39a6b5d643a71dd9681dd1ef2fcf97caa907cd04 (patch)
tree2586fa17a6e91ad14368c58456b7321ba527edfd /apps/gui
parent4eaddc3f85357020addcfa2ef27ef488b9542154 (diff)
downloadrockbox-39a6b5d643a71dd9681dd1ef2fcf97caa907cd04.zip
rockbox-39a6b5d643a71dd9681dd1ef2fcf97caa907cd04.tar.gz
rockbox-39a6b5d643a71dd9681dd1ef2fcf97caa907cd04.tar.bz2
rockbox-39a6b5d643a71dd9681dd1ef2fcf97caa907cd04.tar.xz
Stop using the old menu API in the debug menu (using the new api causes massive bin increase, so fake the old api with existing code instead) (onplay.c and plugins are the only parts using th eold api now)
Fix a bug where the menu title was sometimes shown in the system font git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13286 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/list.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index 1a5ae97..7e9f7bb 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -242,6 +242,9 @@ static void gui_list_draw_smart(struct gui_list *gui_list)
int start, end;
bool partial_draw = false;
+#ifdef HAVE_LCD_BITMAP
+ display->setfont(FONT_UI);
+#endif
/* Speed up UI by drawing the changed contents only. */
if (gui_list == last_list_displayed[gui_list->display->screen_type]
&& gui_list->last_displayed_start_item == gui_list->start_item
@@ -313,7 +316,6 @@ static void gui_list_draw_smart(struct gui_list *gui_list)
/* Adjust the position of icon, cursor, text for the list */
#ifdef HAVE_LCD_BITMAP
- display->setfont(FONT_UI);
gui_textarea_update_nblines(display);
bool draw_scrollbar;