From afd704261e8189add57955c8bdc103d50c72ac0f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 24 Jul 2003 09:35:32 +0000 Subject: added three functions to the charcell version of the plugin struct, patch by delorepierre@free.fr git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3870 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 3 +++ apps/plugin.h | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/plugin.c b/apps/plugin.c index 08358aa576..2319c9defc 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -64,6 +64,9 @@ static struct plugin_api rockbox_api = { lcd_stop_scroll, #ifdef HAVE_LCD_CHARCELLS lcd_define_pattern, + lcd_get_locked_pattern, + lcd_unlock_pattern, + lcd_putc, #else lcd_putsxy, lcd_bitmap, diff --git a/apps/plugin.h b/apps/plugin.h index 8170a45bee..a9f551860a 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -41,8 +41,9 @@ #include "lcd.h" #include "id3.h" #include "mpeg.h" + /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 5 +#define PLUGIN_API_VERSION 6 /* plugin return codes */ enum plugin_status { @@ -87,6 +88,9 @@ struct plugin_api { void (*lcd_stop_scroll)(void); #ifdef HAVE_LCD_CHARCELLS void (*lcd_define_pattern)(int which,char *pattern); + unsigned char (*lcd_get_locked_pattern)(void); + void (*lcd_unlock_pattern)(unsigned char pat); + void (*lcd_putc)(int x, int y, unsigned short ch); #else void (*lcd_putsxy)(int x, int y, unsigned char *string); void (*lcd_bitmap)(unsigned char *src, int x, int y, -- cgit v1.2.3