From 1f2df74079ecb399d33069a6f6ba9eb1744b0e8a Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sun, 18 May 2008 00:14:34 +0000 Subject: MPEGPlayer quickie: add an option to set the backlight brightness to a plugin-specified value when playing video or interacting. Nice when one likes a dim backlight normally but that isn't sufficient when viewing video for instance. Suggested in FS#8417 in addition to my own desire for this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17563 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lib/helper.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'apps/plugins/lib/helper.h') diff --git a/apps/plugins/lib/helper.h b/apps/plugins/lib/helper.h index d34e6334f0..eb52a8bfdc 100644 --- a/apps/plugins/lib/helper.h +++ b/apps/plugins/lib/helper.h @@ -34,4 +34,15 @@ void remote_backlight_use_settings(const struct plugin_api* rb); void buttonlight_force_on(const struct plugin_api* rb); void buttonlight_use_settings(const struct plugin_api* rb); #endif + +/** + * Backlight brightness adjustment settings + */ +#ifdef HAVE_BACKLIGHT_BRIGHTNESS +void backlight_brightness_set(const struct plugin_api *rb, + int brightness); +void backlight_brightness_use_setting(const struct plugin_api *rb); #endif + + +#endif /* _LIB_HELPER_H_ */ -- cgit v1.2.3