summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-07-25 19:56:35 +0000
committerJens Arnold <amiconn@rockbox.org>2005-07-25 19:56:35 +0000
commit12a4ed383f21b65a5a244f47fe1bc9f13d4f63bb (patch)
tree7770fa6256d205676df61f86c709145cbdf73405 /apps/plugin.c
parent210ce6a766325508442fd81094a0aa57057294a2 (diff)
downloadrockbox-12a4ed383f21b65a5a244f47fe1bc9f13d4f63bb.zip
rockbox-12a4ed383f21b65a5a244f47fe1bc9f13d4f63bb.tar.gz
rockbox-12a4ed383f21b65a5a244f47fe1bc9f13d4f63bb.tar.bz2
rockbox-12a4ed383f21b65a5a244f47fe1bc9f13d4f63bb.tar.xz
Added font_getstringsize to the plugin api, needed for the reworked grayscale library.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7240 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 6df7621..7bfa0e2 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -341,6 +341,9 @@ static const struct plugin_api rockbox_api = {
lcd_bitmap_part,
lcd_bitmap,
#endif
+#ifdef HAVE_LCD_BITMAP
+ font_getstringsize,
+#endif
};
int plugin_load(const char* plugin, void* parameter)