summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-07-08 19:09:17 +0000
committerJens Arnold <amiconn@rockbox.org>2005-07-08 19:09:17 +0000
commitb5fc2530a796d4414f0dbe8f7b8c4e768cc1aeca (patch)
treead81ed70c30f527cec224e829d4c26541c0c5a79 /firmware/drivers
parenta39026ac5e6e9e5abeda32c1f98fa832ac0e7814 (diff)
downloadrockbox-b5fc2530a796d4414f0dbe8f7b8c4e768cc1aeca.tar.gz
rockbox-b5fc2530a796d4414f0dbe8f7b8c4e768cc1aeca.zip
Removed the XYZ_PIXEL() macros. They are no longer needed, and they did only work correctly for b&w.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7074 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/lcd-h100-remote.c6
-rw-r--r--firmware/drivers/lcd-recorder.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/firmware/drivers/lcd-h100-remote.c b/firmware/drivers/lcd-h100-remote.c
index c78382d9e3..868350d308 100644
--- a/firmware/drivers/lcd-h100-remote.c
+++ b/firmware/drivers/lcd-h100-remote.c
@@ -481,17 +481,17 @@ int lcd_remote_getstringsize(const unsigned char *str, int *w, int *h)
481 481
482static void setpixel(int x, int y) 482static void setpixel(int x, int y)
483{ 483{
484 REMOTE_DRAW_PIXEL(x, y); 484 lcd_remote_framebuffer[y>>3][x] |= 1 << (y & 7);
485} 485}
486 486
487static void clearpixel(int x, int y) 487static void clearpixel(int x, int y)
488{ 488{
489 REMOTE_CLEAR_PIXEL(x, y); 489 lcd_remote_framebuffer[y>>3][x] &= ~(1 << (y & 7));
490} 490}
491 491
492static void flippixel(int x, int y) 492static void flippixel(int x, int y)
493{ 493{
494 REMOTE_INVERT_PIXEL(x, y); 494 lcd_remote_framebuffer[y>>3][x] ^= 1 << (y & 7);
495} 495}
496 496
497static void nopixel(int x, int y) 497static void nopixel(int x, int y)
diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c
index b3696d7db5..702456e42e 100644
--- a/firmware/drivers/lcd-recorder.c
+++ b/firmware/drivers/lcd-recorder.c
@@ -371,17 +371,17 @@ int lcd_getstringsize(const unsigned char *str, int *w, int *h)
371 371
372static void setpixel(int x, int y) 372static void setpixel(int x, int y)
373{ 373{
374 DRAW_PIXEL(x, y); 374 lcd_framebuffer[y>>3][x] |= 1 << (y & 7);
375} 375}
376 376
377static void clearpixel(int x, int y) 377static void clearpixel(int x, int y)
378{ 378{
379 CLEAR_PIXEL(x, y); 379 lcd_framebuffer[y>>3][x] &= ~(1 << (y & 7));
380} 380}
381 381
382static void flippixel(int x, int y) 382static void flippixel(int x, int y)
383{ 383{
384 INVERT_PIXEL(x, y); 384 lcd_framebuffer[y>>3][x] ^= 1 << (y & 7);
385} 385}
386 386
387static void nopixel(int x, int y) 387static void nopixel(int x, int y)