diff options
| author | Ben Basha <benbasha@rockbox.org> | 2006-02-01 20:06:25 +0000 |
|---|---|---|
| committer | Ben Basha <benbasha@rockbox.org> | 2006-02-01 20:06:25 +0000 |
| commit | b42ef68a83ad817bd05fa65da0d290835e1f999b (patch) | |
| tree | 42ba95675a60f5556ad770c501ca3c31b5c9c08a /apps/plugin.h | |
| parent | db83601b3cab310b9fdcdb3d56bd37e800f824d5 (diff) | |
| download | rockbox-b42ef68a83ad817bd05fa65da0d290835e1f999b.zip rockbox-b42ef68a83ad817bd05fa65da0d290835e1f999b.tar.gz rockbox-b42ef68a83ad817bd05fa65da0d290835e1f999b.tar.bz2 rockbox-b42ef68a83ad817bd05fa65da0d290835e1f999b.tar.xz | |
Fix warnings at h1xx.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8527 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 61a3219..1998bcf 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -97,7 +97,7 @@ #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 4 +#define PLUGIN_API_VERSION 5 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -161,10 +161,6 @@ struct plugin_api { int stride, int x, int y, int width, int height); void (*lcd_bitmap)(const fb_data *src, int x, int y, int width, int height); - void (*lcd_bitmap_transparent_part)(const fb_data *src, int src_x, int src_y, - int stride, int x, int y, int width, int height); - void (*lcd_bitmap_transparent)(const fb_data *src, int x, int y, - int width, int height); #endif void (*lcd_putsxy)(int x, int y, const unsigned char *string); void (*lcd_puts_style)(int x, int y, const unsigned char *str, int style); @@ -449,6 +445,12 @@ struct plugin_api { void (*queue_post)(struct event_queue *q, long id, void *data); void (*queue_wait_w_tmo)(struct event_queue *q, struct event *ev, int ticks); void (*usb_acknowledge)(long id); +#if LCD_DEPTH == 16 + void (*lcd_bitmap_transparent_part)(const fb_data *src, int src_x, int src_y, + int stride, int x, int y, int width, int height); + void (*lcd_bitmap_transparent)(const fb_data *src, int x, int y, + int width, int height); +#endif }; /* plugin header */ |