Fix FS#12606 - next track can cause the screen to be cleared
commit94139ac0bd3e1ca5d384ac8ac5ad2a915d633a82
authorJonathan Gordon <rockbox@jdgordon.info>
Tue, 20 Mar 2012 10:27:33 +0000 (20 21:27 +1100)
committerJonathan Gordon <rockbox@jdgordon.info>
Tue, 20 Mar 2012 11:10:19 +0000 (20 22:10 +1100)
tree46d24ce01ca9a04dbacb08fa090ba4705c3040f0
parent287bf712474494590013b4055cb1e8b6cd45e661
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
apps/appevents.h
apps/gui/list.c
apps/gui/skin_engine/skin_render.c