summaryrefslogtreecommitdiff
path: root/apps/screen_access.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-04-02 22:16:14 +0000
committerJens Arnold <amiconn@rockbox.org>2008-04-02 22:16:14 +0000
commit5c87a98b97b9ab6bd9647bb0bb8d00f58d5f179b (patch)
treeb61feaa66d26f63df09f03d0cb6921ac80edf560 /apps/screen_access.h
parentcdae493f96150808007883a7fb0b582d46af4a1a (diff)
downloadrockbox-5c87a98b97b9ab6bd9647bb0bb8d00f58d5f179b.tar.gz
rockbox-5c87a98b97b9ab6bd9647bb0bb8d00f58d5f179b.zip
Greyscale library: * Implement linearisation curve flipping for 1st/2nd Gen iPods (LCD is inverted when backlight is on, so the curve is also inverted). This needs a slight extension of is_backlight_on() functionality in the core. * Thorough recalibration of all reachable greyscale targets, and #ifdef cleanup. * Reduce on-target gamma a bit, because the displayable contrast range of a monochrome/greyscale isn't that high.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16936 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.h')
-rw-r--r--apps/screen_access.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/screen_access.h b/apps/screen_access.h
index 7efa48c423..883e1528dd 100644
--- a/apps/screen_access.h
+++ b/apps/screen_access.h
@@ -151,7 +151,7 @@ struct screen
151 void (*update_viewport)(void); 151 void (*update_viewport)(void);
152 void (*backlight_on)(void); 152 void (*backlight_on)(void);
153 void (*backlight_off)(void); 153 void (*backlight_off)(void);
154 bool (*is_backlight_on)(void); 154 bool (*is_backlight_on)(bool ignore_always_off);
155 void (*backlight_set_timeout)(int index); 155 void (*backlight_set_timeout)(int index);
156}; 156};
157 157