From 4dabec4df763e3af175de3b4b370c0582e08a776 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Fri, 15 Apr 2005 13:39:13 +0000 Subject: [PATCH] plugin to test remote lcd git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6297 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 1 + apps/plugin.h | 2 ++ apps/plugins/SOURCES | 4 ++++ 3 files changed, 7 insertions(+) diff --git a/apps/plugin.c b/apps/plugin.c index e9274add1a..0bcf17ccd7 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -138,6 +138,7 @@ static const struct plugin_api rockbox_api = { lcd_remote_backlight_off, lcd_remote_set_contrast, lcd_remote_update, + lcd_remote_bitmap, &lcd_remote_framebuffer[0][0], #endif /* button */ diff --git a/apps/plugin.h b/apps/plugin.h index 36804de020..bc779957a0 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -180,6 +180,8 @@ struct plugin_api { void (*remote_backlight_off)(void); void (*remote_set_contrast)(int val); void (*remote_update)(void); + void (*remote_bitmap) (const unsigned char *src, int x, int y, + int nx, int ny, bool clear); unsigned char* lcd_remote_framebuffer; #endif diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index 50b523576f..cb7a450407 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES @@ -77,3 +77,7 @@ mpc2wav.c midi2wav.c iriverify.c #endif + +#ifdef HAVE_REMOTE_LCD +remotelcd.c +#endif \ No newline at end of file