|
Rockbox mail archiveSubject: Re: Screwed up scrolling? and Q about srollingRe: 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' available :) 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, cheers g ----- Original Message ----- From: "Björn Stenberg" <bjorn_at_haxx.se> To: <rockbox_at_cool.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 (filename) > > 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 do > > 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, we > > 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? > > 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? > > -- > Björn >
Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |