diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-06-25 00:28:09 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-06-25 00:28:09 +0000 |
commit | 934941294b27b3e9a9012be1abe86f4e05db2204 (patch) | |
tree | b704b66f0c8936ba78bdc6a69c2126cf0dba3314 /firmware/export | |
parent | 24a1f94cd7cc50fbda6689d33c5d2dbcf123dab5 (diff) | |
download | rockbox-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.h | 4 |
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 | |||
129 | typedef void lcd_pixelfunc_type(int x, int y); /* for b&w */ | 125 | typedef void lcd_pixelfunc_type(int x, int y); /* for b&w */ |
130 | typedef void lcd_blockfunc_type(unsigned char *address, unsigned mask, unsigned bits); | 126 | typedef void lcd_blockfunc_type(unsigned char *address, unsigned mask, unsigned bits); |
131 | 127 | ||