summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2005-04-15 13:39:13 +0000
committerChristian Gmeiner <christian.gmeiner@gmail.com>2005-04-15 13:39:13 +0000
commit4dabec4df763e3af175de3b4b370c0582e08a776 (patch)
tree3d7e9ea22a30db01e7056aefbf52d1f74e5ac20b /apps
parentd0a94912bdee8ddb76816de0f51baf677721d53a (diff)
downloadrockbox-4dabec4df763e3af175de3b4b370c0582e08a776.tar.gz
rockbox-4dabec4df763e3af175de3b4b370c0582e08a776.tar.bz2
rockbox-4dabec4df763e3af175de3b4b370c0582e08a776.zip
plugin to test remote lcd
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6297 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c1
-rw-r--r--apps/plugin.h2
-rw-r--r--apps/plugins/SOURCES4
3 files changed, 7 insertions, 0 deletions
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