diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-04-02 22:16:14 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-04-02 22:16:14 +0000 |
commit | 5c87a98b97b9ab6bd9647bb0bb8d00f58d5f179b (patch) | |
tree | b61feaa66d26f63df09f03d0cb6921ac80edf560 /firmware/export | |
parent | cdae493f96150808007883a7fb0b582d46af4a1a (diff) | |
download | rockbox-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 'firmware/export')
-rw-r--r-- | firmware/export/backlight.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/backlight.h b/firmware/export/backlight.h index 3ee46c1485..35c0f86178 100644 --- a/firmware/export/backlight.h +++ b/firmware/export/backlight.h | |||
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | #include "config.h" | 22 | #include "config.h" |
23 | 23 | ||
24 | bool is_backlight_on(void); | 24 | bool is_backlight_on(bool ignore_always_off); |
25 | void backlight_on(void); | 25 | void backlight_on(void); |
26 | void backlight_off(void); | 26 | void backlight_off(void); |
27 | void backlight_set_timeout(int value); | 27 | void backlight_set_timeout(int value); |
@@ -57,7 +57,7 @@ void remote_backlight_on(void); | |||
57 | void remote_backlight_off(void); | 57 | void remote_backlight_off(void); |
58 | void remote_backlight_set_timeout(int value); | 58 | void remote_backlight_set_timeout(int value); |
59 | void remote_backlight_set_timeout_plugged(int value); | 59 | void remote_backlight_set_timeout_plugged(int value); |
60 | bool is_remote_backlight_on(void); | 60 | bool is_remote_backlight_on(bool ignore_always_off); |
61 | 61 | ||
62 | #ifdef HAS_REMOTE_BUTTON_HOLD | 62 | #ifdef HAS_REMOTE_BUTTON_HOLD |
63 | void remote_backlight_hold_changed(bool rc_hold_button); | 63 | void remote_backlight_hold_changed(bool rc_hold_button); |