summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-06-25 00:28:09 +0000
committerJens Arnold <amiconn@rockbox.org>2005-06-25 00:28:09 +0000
commit934941294b27b3e9a9012be1abe86f4e05db2204 (patch)
treeb704b66f0c8936ba78bdc6a69c2126cf0dba3314 /firmware/export
parent24a1f94cd7cc50fbda6689d33c5d2dbcf123dab5 (diff)
downloadrockbox-934941294b27b3e9a9012be1abe86f4e05db2204.tar.gz
rockbox-934941294b27b3e9a9012be1abe86f4e05db2204.zip
Core functions taking advantage of the new, optimised lcd_hline() and lcd_vline() functions. Some cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6859 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/lcd.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index c6e0fe0f0e..3824096aba 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -122,10 +122,6 @@ extern void lcd_jump_scroll_delay(int ms);
122#define DRMODE_SOLID 3 122#define DRMODE_SOLID 3
123#define DRMODE_INVERSEVID 4 /* used as bit modifier for basic modes */ 123#define DRMODE_INVERSEVID 4 /* used as bit modifier for basic modes */
124 124
125#define DRAW_PIXEL(x,y) lcd_framebuffer[(y)/8][(x)] |= (1<<((y)&7))
126#define CLEAR_PIXEL(x,y) lcd_framebuffer[(y)/8][(x)] &= ~(1<<((y)&7))
127#define INVERT_PIXEL(x,y) lcd_framebuffer[(y)/8][(x)] ^= (1<<((y)&7))
128
129typedef void lcd_pixelfunc_type(int x, int y); /* for b&w */ 125typedef void lcd_pixelfunc_type(int x, int y); /* for b&w */
130typedef void lcd_blockfunc_type(unsigned char *address, unsigned mask, unsigned bits); 126typedef void lcd_blockfunc_type(unsigned char *address, unsigned mask, unsigned bits);
131 127