From bd3d297b3186185d43dff5924f80545f736db446 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 28 Apr 2004 22:20:27 +0000 Subject: A checkbox widget git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4559 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index e017247e77..720e4b20f3 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -50,7 +50,7 @@ /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any new function which are "waiting" at the end of the function table) */ -#define PLUGIN_MIN_API_VERSION 9 +#define PLUGIN_MIN_API_VERSION 10 /* plugin return codes */ enum plugin_status { @@ -207,6 +207,9 @@ struct plugin_api { #ifndef SIMULATOR int (*ata_sleep)(void); #endif +#ifdef HAVE_LCD_BITMAP + void (*checkbox)(int x, int y, int width, int height, bool checked); +#endif }; /* defined by the plugin loader (plugin.c) */ -- cgit v1.2.3