diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-05-28 10:17:16 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-05-28 10:17:16 +0000 |
commit | adf2e4c9a012fda200431c92cb2c1707dbe2f0a3 (patch) | |
tree | 3a2755b05f9e2092d5bff458929b825c955c66f1 /apps/plugin.c | |
parent | b57b779fbced4a3fc1ecd0799a7666c2f1645f17 (diff) |
Targets with HAVE_LCD_ENABLE: Provide a means to receive notifications when the lcd is enabled and the image is refreshed so overlayed drawing can also be refreshed. Chiefly mpegplayer needs this so it can redraw the YUV data after the backlight is turned on while paused or when using 'Set Start Time'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17640 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index e7b66a1cb2..9a435b24bc 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -601,6 +601,10 @@ static const struct plugin_api rockbox_api = { simplelist_info_init, simplelist_show_list, +#ifdef HAVE_LCD_ENABLE + lcd_set_enable_hook, + &button_queue, +#endif }; int plugin_load(const char* plugin, const void* parameter) |