Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Cleaning up duplicate scrolling code.

Re: Cleaning up duplicate scrolling code.

From: bk <mutualaid_at_gmail.com>
Date: 2006-03-11

On Sat, 2006-03-11 at 18:40 +0100, Fredrik Íhrn wrote:

> 3. Change the API and require all callers to pass in the screen struct.
> A big piece of surgery but probably the best option in the long run.
> This also allows the scrolling code to move into apps/gui where I think
> it better belongs.

I like this idea because it inches us closer to a possible viewport
implementation. I can imagine the screen struct being changed to
something like a viewport handle (or struct) at some point (with the
default being the 'root' viewport, the entire screen).

bk
Received on Sat Mar 11 19:07:38 2006


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa