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