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



Rockbox mail archive

Subject: Re: Cleaning up duplicate scrolling code.

Re: Cleaning up duplicate scrolling code.

From: bk <mutualaid_at_gmail.com>
Date: Sat, 11 Mar 2006 13:08:09 -0500

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 2006-03-11

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy