summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2008-04-24 00:06:45 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2008-04-24 00:06:45 +0000
commit8efd5d3fdf8833e8b8dfa87d10a5d97f8388c0b8 (patch)
tree225d9140ea72250052bc8b9c183c1caa27562d4a /apps/plugin.h
parentbcb442d0a28dd0053ba62d88a31159d9c9b25b2c (diff)
downloadrockbox-8efd5d3fdf8833e8b8dfa87d10a5d97f8388c0b8.zip
rockbox-8efd5d3fdf8833e8b8dfa87d10a5d97f8388c0b8.tar.gz
rockbox-8efd5d3fdf8833e8b8dfa87d10a5d97f8388c0b8.tar.bz2
rockbox-8efd5d3fdf8833e8b8dfa87d10a5d97f8388c0b8.tar.xz
Flashlight plugin: support inverted LCD (somebody with a target please test), replace the ugly floats with a much simpler color set. For now white and red are defined.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17230 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 9ca1473..461966e 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -728,7 +728,9 @@ struct plugin_api {
#ifdef HAVE_BACKLIGHT_BRIGHTNESS
void (*backlight_set_brightness)(int val);
#endif /* HAVE_BACKLIGHT_BRIGHTNESS */
-
+#ifdef HAVE_LCD_INVERT
+ void (*lcd_set_invert_display)(bool yesno);
+#endif /* HAVE_LCD_INVERT */
};
/* plugin header */