summaryrefslogtreecommitdiffstats
path: root/firmware/export/lcd.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-08-12 09:27:26 +0000
committerDave Chapman <dave@dchapman.com>2006-08-12 09:27:26 +0000
commit7fe7427de8568f78acd447bd072377bdbf406127 (patch)
tree965268a575c7bc66a0620b61d25605c954400cb4 /firmware/export/lcd.h
parent2c002d894d00d405b3f08994a95c079d8d108a19 (diff)
downloadrockbox-7fe7427de8568f78acd447bd072377bdbf406127.tar.gz
rockbox-7fe7427de8568f78acd447bd072377bdbf406127.zip
Clean up the #ifdefs surrounding the definition of lcd_yuv_blit() and add an initial (untested) implementation for the Gigabeat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10541 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/lcd.h')
-rw-r--r--firmware/export/lcd.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index 147940fa4f..b74a9d30c7 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -71,12 +71,10 @@ extern void lcd_puts_scroll_style(int x, int y, const unsigned char* string,
int style);
extern void lcd_icon(int icon, bool enable);
-#if CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO \
- || CONFIG_LCD == LCD_H300 || CONFIG_LCD == LCD_IPODVIDEO \
- || CONFIG_LCD == LCD_X5
-void lcd_yuv_blit(unsigned char * const src[3],
- int src_x, int src_y, int stride,
- int x, int y, int width, int height);
+#if defined(HAVE_LCD_COLOR) && !defined(SIMULATOR)
+extern void lcd_yuv_blit(unsigned char * const src[3],
+ int src_x, int src_y, int stride,
+ int x, int y, int width, int height);
#endif
#if defined(SIMULATOR) || defined(HAVE_LCD_BITMAP)