diff options
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 801c49e..f504bac 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -87,7 +87,7 @@ #endif /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 45 +#define PLUGIN_API_VERSION 46 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -419,6 +419,10 @@ struct plugin_api { void (*lcd_bitmap)(const unsigned char *src, int x, int y, int width, int height); #endif +#ifdef HAVE_LCD_BITMAP + int (*font_getstringsize)(const unsigned char *str, int *w, int *h, + int fontnumber); +#endif }; int plugin_load(const char* plugin, void* parameter); |