From f19f3efb078b2947638f6f7a7f209de44daf78b3 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Tue, 8 Nov 2011 10:09:33 +0000 Subject: Redo r30826 (and hopefully not reintroduce font issues) which cleans up the font API. FONT_UI is deprecated, use screens[screen].getuifont() instead (and .setuifont() to set it after a font has been loaded) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30932 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/bubbles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins') diff --git a/apps/plugins/bubbles.c b/apps/plugins/bubbles.c index d9f76f7f72..1c4bbca788 100644 --- a/apps/plugins/bubbles.c +++ b/apps/plugins/bubbles.c @@ -1435,7 +1435,7 @@ static void bubbles_drawboard(struct game_context* bb) { /* clear screen */ rb->lcd_clear_display(); - int font = rb->screens[SCREEN_MAIN]->getfont(); + int font = rb->screens[SCREEN_MAIN]->getuifont(); h = rb->font_get(font)->height + 1; /* draw background */ #ifdef HAVE_LCD_COLOR -- cgit v1.2.3