summaryrefslogtreecommitdiff
path: root/apps/plugin.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/plugin.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/plugin.h')
-rw-r--r--apps/plugin.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 1753272952..cfbd3e72af 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -120,7 +120,7 @@
120#define PLUGIN_MAGIC 0x526F634B /* RocK */ 120#define PLUGIN_MAGIC 0x526F634B /* RocK */
121 121
122/* increase this every time the api struct changes */ 122/* increase this every time the api struct changes */
123#define PLUGIN_API_VERSION 105 123#define PLUGIN_API_VERSION 106
124 124
125/* update this to latest version if a change to the api struct breaks 125/* update this to latest version if a change to the api struct breaks
126 backwards compatibility (and please take the opportunity to sort in any 126 backwards compatibility (and please take the opportunity to sort in any
@@ -721,7 +721,8 @@ struct plugin_api {
721 721
722 /* new stuff at the end, sort into place next time 722 /* new stuff at the end, sort into place next time
723 the API gets incompatible */ 723 the API gets incompatible */
724 724
725 bool (*is_backlight_on)(bool ignore_always_off);
725}; 726};
726 727
727/* plugin header */ 728/* plugin header */