diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-09-24 13:19:34 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-09-24 13:19:34 +0000 |
| commit | aa0f4a4bbe370032d8166628f456709be1330118 (patch) | |
| tree | 597c91fb16493881d7a281ef3c28e274a899022b /apps/plugin.c | |
| parent | f323300b82aa945dd4cadb20d8d7e23a6602ef49 (diff) | |
| download | rockbox-aa0f4a4bbe370032d8166628f456709be1330118.zip rockbox-aa0f4a4bbe370032d8166628f456709be1330118.tar.gz rockbox-aa0f4a4bbe370032d8166628f456709be1330118.tar.bz2 rockbox-aa0f4a4bbe370032d8166628f456709be1330118.tar.xz | |
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
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 5 |
1 files changed, 3 insertions, 2 deletions
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, |