diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-11-16 21:09:23 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-11-16 21:09:23 +0000 |
commit | 5b2cba17aa95ececfdb6a498540de4dfa215e920 (patch) | |
tree | 3574eab7dc84f588268b72f6db56744fcc4d0e64 /apps/screen_access.h | |
parent | 15046f99b3840c07bdd9d52e7014c6e775267c55 (diff) | |
download | rockbox-5b2cba17aa95ececfdb6a498540de4dfa215e920.tar.gz rockbox-5b2cba17aa95ececfdb6a498540de4dfa215e920.zip |
Changed the LCD_COLOR pixel value format to packed RGB (unsigned int). Now all LCDs with depth > 1 use the same datatype. Added macros for easy pixel value definition.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7912 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.h')
-rw-r--r-- | apps/screen_access.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/screen_access.h b/apps/screen_access.h index c167708fbf..6111de9de4 100644 --- a/apps/screen_access.h +++ b/apps/screen_access.h | |||
@@ -76,11 +76,7 @@ struct screen | |||
76 | int x, int y, int width, int height); | 76 | int x, int y, int width, int height); |
77 | void (*set_drawmode)(int mode); | 77 | void (*set_drawmode)(int mode); |
78 | #if LCD_DEPTH > 1 | 78 | #if LCD_DEPTH > 1 |
79 | #if HAVE_LCD_COLOR | 79 | void (*set_background)(unsigned background); |
80 | void (*set_background)(struct rgb color); | ||
81 | #else | ||
82 | void (*set_background)(int brightness); | ||
83 | #endif | ||
84 | #endif /* LCD_DEPTH > 1 */ | 80 | #endif /* LCD_DEPTH > 1 */ |
85 | void (*update_rect)(int x, int y, int width, int height); | 81 | void (*update_rect)(int x, int y, int width, int height); |
86 | void (*fillrect)(int x, int y, int width, int height); | 82 | void (*fillrect)(int x, int y, int width, int height); |