From adf2e4c9a012fda200431c92cb2c1707dbe2f0a3 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 28 May 2008 10:17:16 +0000 Subject: 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 --- apps/plugins/mpegplayer/mpegplayer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/plugins/mpegplayer/mpegplayer.h') diff --git a/apps/plugins/mpegplayer/mpegplayer.h b/apps/plugins/mpegplayer/mpegplayer.h index fa13a1e378..571c28883d 100644 --- a/apps/plugins/mpegplayer/mpegplayer.h +++ b/apps/plugins/mpegplayer/mpegplayer.h @@ -104,4 +104,7 @@ enum mpeg_malloc_reason_t #include "disk_buf.h" #include "stream_mgr.h" +#define LCD_ENABLE_EVENT_0 MAKE_SYS_EVENT(SYS_EVENT_CLS_PRIVATE, 0) +#define LCD_ENABLE_EVENT_1 MAKE_SYS_EVENT(SYS_EVENT_CLS_PRIVATE, 1) + #endif /* MPEGPLAYER_H */ -- cgit v1.2.3