forked from len0rd/rockbox
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
This commit is contained in:
parent
b57b779fbc
commit
adf2e4c9a0
15 changed files with 90 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ void* plugin_get_buffer(size_t *buffer_size);
|
|||
#define PLUGIN_MAGIC 0x526F634B /* RocK */
|
||||
|
||||
/* increase this every time the api struct changes */
|
||||
#define PLUGIN_API_VERSION 115
|
||||
#define PLUGIN_API_VERSION 116
|
||||
|
||||
/* update this to latest version if a change to the api struct breaks
|
||||
backwards compatibility (and please take the opportunity to sort in any
|
||||
|
|
@ -752,6 +752,10 @@ struct plugin_api {
|
|||
int count, void* data);
|
||||
bool (*simplelist_show_list)(struct simplelist_info *info);
|
||||
|
||||
#ifdef HAVE_LCD_ENABLE
|
||||
void (*lcd_set_enable_hook)(void (*enable_hook)(void));
|
||||
struct event_queue *button_queue;
|
||||
#endif
|
||||
};
|
||||
|
||||
/* plugin header */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue