From 8efd5d3fdf8833e8b8dfa87d10a5d97f8388c0b8 Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Thu, 24 Apr 2008 00:06:45 +0000 Subject: 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 --- apps/plugin.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') 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 */ -- cgit v1.1