From aa0f4a4bbe370032d8166628f456709be1330118 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sat, 24 Sep 2011 13:19:34 +0000 Subject: FS#12273 - use buflib for font storage. thanks to the testers :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30589 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index 2517a71..7c75a43 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -174,7 +174,7 @@ static const struct plugin_api rockbox_api = { lcd_update_rect, lcd_set_drawmode, lcd_get_drawmode, - lcd_setfont, + screen_helper_setfont, lcd_drawpixel, lcd_drawline, lcd_hline, @@ -230,6 +230,7 @@ static const struct plugin_api rockbox_api = { #endif font_get_bits, font_load, + font_unload, font_get, font_getstringsize, font_get_width, @@ -905,7 +906,7 @@ int plugin_load(const char* plugin, const void* parameter) #endif #ifdef HAVE_LCD_BITMAP - lcd_setfont(FONT_UI); + screen_helper_setfont(FONT_UI); #if LCD_DEPTH > 1 #ifdef HAVE_LCD_COLOR lcd_set_drawinfo(DRMODE_SOLID, global_settings.fg_color, -- cgit v1.1