dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Trimming the lcd api

Re: Trimming the lcd api

From: Dave Hooper <>
Date: Wed, 12 Oct 2011 08:34:25 -0400

There would need to be more arguments, if everything was unified into one
function. In particular: for scrolling lines you need to know both the 'line
number' and the coordinates (the scroll tracking doesn't work off
coordinates along, it's a list currently indexed by line number measured in
chars not pixels). Additionally, at least one of the puts variants appears
to specify width+height limits (clipping maybe).

Then there's the issue of converting char xy to pixel xy - currently handled
by the puts fns - it seems like changing the puts fns to take pixel xy args
would require each caller to dp that transformation. Suspect that would
bloat binsize.
Received on 2011-10-12

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