Rockbox mail archiveSubject: Re: Screwed up scrolling? and Q about srolling
Re: Screwed up scrolling? and Q about srolling
From: George Styles <george_at_ripnet.co.uk>
Date: Wed, 21 Aug 2002 17:00:57 +0100
Yeah, i am using proportinal fonts... funny i never noticed it before...
sorry, very sorry... i dont have time to do a patch at the mo, im off to the
Reading festival to get muddy tonight, so dont have much 'quality geek time'
I have however attached my code for scrollboxes, along with an old tree.c
which uses it, so people can have a peek at my code... in fact, most of what
I have done is in new units scrollbox.c/h (which lives in apps/recorder,
like the widgets.c), so a diff is not needed.
note that the copying routine is v. inefficient at the moment :)
let me know what u think,
----- Original Message -----
From: "Björn Stenberg" <bjorn_at_haxx.se>
Sent: Wednesday, August 21, 2002 4:40 PM
Subject: Re: Screwed up scrolling? and Q about srolling
> George Styles wrote:
> > Using the latest Rockbox from CVS, the scrolling line at the top
> > on WPS seems to be slightly screwed at the right hand side. It seems to
> > flicker, and display the wrong character... i assume thisis somethign to
> > with the updateRect patch?
> No, actually it has done that for quite some time. You're using
proportional fonts, right? The scroll code is not written to handle
proportional fonts, it works somewhat ok using something of a kludge. The
scroll code will be rewritten as we progress towards unifying the font code.
> > In fact, by having one of these structures pointing at the real screen,
> > could do away with the 'old' versions of these routines altogether.
> Except we will always need a one-line scroll, for those really long
strings such as pathnames.
> > Is anyone else interested in this? is it worth me continueing work on
> It is quite interesting, and I think many here would like to take a peek
at your code. Can you produce a patch of what you have and post it here?