touchscreen: Rewrite kinetic scrolling using a state machine.
commit688302a3b3cee640c268ba767b469fec5bfa2ca8
authorThomas Martitz <kugel@rockbox.org>
Sun, 8 Apr 2012 11:15:39 +0000 (8 13:15 +0200)
committerThomas Martitz <kugel@rockbox.org>
Sun, 8 Apr 2012 11:16:54 +0000 (8 13:16 +0200)
tree33f8aecb42dc8e8adfa015f0e272faba344f2f96
parenta12b2a5df96233465a2811f9b056e15d7ff30ee2
touchscreen: Rewrite kinetic scrolling using a state machine.

The old code was very confusing. The scrolling modes need to be handled
differently, thus a state machine makes sense. Should fix numerious
glitches and be easier to maintain.

NOTE: Behavior is still a bit glitchy with an SBS in use, because the skin
engine sees the touch events earlier than the list code.

Change-Id: I4ccead359c81de0d0fc3dea636fe2cb3a28d1bc6
apps/gui/bitmap/list.c