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.h | |
| 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.h')
| -rw-r--r-- | apps/plugin.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index a33089b..e0ee951 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -272,7 +272,8 @@ struct plugin_api { bool (*is_diacritic)(const unsigned short char_code, bool *is_rtl); #endif const unsigned char *(*font_get_bits)( struct font *pf, unsigned short char_code ); - int (*font_load)(struct font*, const char *path); + int (*font_load)(const char *path); + void (*font_unload)(int font_id); struct font* (*font_get)(int font); int (*font_getstringsize)(const unsigned char *str, int *w, int *h, int fontnumber); |