diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2012-03-20 21:27:33 +1100 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2012-03-20 22:10:19 +1100 |
commit | 94139ac0bd3e1ca5d384ac8ac5ad2a915d633a82 (patch) | |
tree | 46d24ce01ca9a04dbacb08fa090ba4705c3040f0 /apps/appevents.h | |
parent | 287bf712474494590013b4055cb1e8b6cd45e661 (diff) |
Fix FS#12606 - next track can cause the screen to be cleared
This is a bit of a hack. We now trigger an event when the skin engine
is doing a full redraw (which means fullscreen clear) before the
lcd_update() to give the current screen a chance to redraw to avoid the
screen flicker.
This commit fixes the issue for screens which are entirely the list
widget (i.e browser and menus), other screens will need aditional fixes
(i.e quickscreen, time&date screen)
Change-Id: I3725c51518be724ce7aacee9877663c2de6866fa
Diffstat (limited to 'apps/appevents.h')
-rw-r--r-- | apps/appevents.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/appevents.h b/apps/appevents.h index 36e19b0df7..5cb0ee57b2 100644 --- a/apps/appevents.h +++ b/apps/appevents.h @@ -61,6 +61,9 @@ enum { GUI_EVENT_STATUSBAR_TOGGLE = (EVENT_CLASS_GUI|1), GUI_EVENT_ACTIONUPDATE, GUI_EVENT_THEME_CHANGED, + /* Called when the UI viewport is cleared in the skin engine to + * notify the current screen that it needs to do an update */ + GUI_EVENT_NEED_UI_UPDATE, }; /** Recording events **/ |