summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-05-23 16:23:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-05-23 16:23:25 +0000
commitac31e6af875eed8dce724604cff94da107a4700b (patch)
tree9f2e3cc33933ae69753314ffea509741b35ed45b /firmware/export
parented42300bff0d7e5d6f6af3a41fd5d0249830bdfa (diff)
downloadrockbox-ac31e6af875eed8dce724604cff94da107a4700b.zip
rockbox-ac31e6af875eed8dce724604cff94da107a4700b.tar.gz
rockbox-ac31e6af875eed8dce724604cff94da107a4700b.tar.bz2
rockbox-ac31e6af875eed8dce724604cff94da107a4700b.tar.xz
Remote LCD support added to the x11 simulator, take 1. The win32 simulator
still builds, but shows no remote LCD yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6510 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config-h100.h6
-rw-r--r--firmware/export/lcd.h7
2 files changed, 10 insertions, 3 deletions
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h
index 9ffdf5e..0044e28 100644
--- a/firmware/export/config-h100.h
+++ b/firmware/export/config-h100.h
@@ -17,6 +17,9 @@
/* Define this if you do software codec */
#define CONFIG_HWCODEC MASNONE
+/* Define this if you have an remote lcd */
+#define HAVE_REMOTE_LCD
+
#ifndef SIMULATOR
/* Define this if you have a Motorola SCF5249 */
@@ -66,7 +69,4 @@
/* Define this if you can control the S/PDIF power */
#define HAVE_SPDIF_POWER
-/* Define this if you have an remote lcd */
-#define HAVE_REMOTE_LCD
-
#endif
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index c5dd4f7..08a02a8 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -60,6 +60,13 @@ extern void lcd_blit (const unsigned char* p_data, int x, int y, int width,
/* update a fraction of the screen */
extern void lcd_update_rect(int x, int y, int width, int height);
+
+#ifdef HAVE_REMOTE_LCD
+extern void lcd_remote_update(void);
+/* update a fraction of the screen */
+extern void lcd_remote_update_rect(int x, int y, int width, int height);
+#endif
+
#else
#define lcd_update()
#define lcd_update_rect(x,y,w,h)