diff options
author | Thomas Martitz <kugel@rockbox.org> | 2013-01-31 07:24:19 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2013-12-14 23:11:31 +0100 |
commit | 50eb528bc1f9d2f7b7260eff8b85a5ed5b96e679 (patch) | |
tree | 47b53d62c0880a3ea6b9e761efdf0628855d13e0 /utils | |
parent | 26801b3bd8f11fe680146086aa0a2fd12e7de289 (diff) | |
download | rockbox-50eb528bc1f9d2f7b7260eff8b85a5ed5b96e679.tar.gz rockbox-50eb528bc1f9d2f7b7260eff8b85a5ed5b96e679.zip |
scroll_engine: Major rework to support pixel-based scrolling and scroll callbacks.
Much of the scrolling work is moved from lcd-bitmap-common to lcd-scroll.c,
a small scroll callback routine remains. This callback can potentially be
overridden by more extensive scrollers.
The callback also gets fed with pixel-based scrolling information, which
finally removes the strict line-based nature of the scroll engine. Along with
this is the change from scroll_stop_viewport_line() to scroll_stop_viewport_rect()
which works on a pixel-based rectangle instead of lines.
The ultimate goal is to move most of the scroll work to apps, which can
much better decide which line decorations to apply etc. This work is laying
the ground work.
Change-Id: I3b2885cf7d8696ddd9253d5a9a73318d3d42831a
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions