[openbeos] Re: Links port

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 10 Dec 2007 18:13:25 +0100

Hi François,

> It uses png files as font, a bit strange but probably the most portable 
> way :D

:-S

> > used the OS provided textrendering and it would be more useful if 
> > scrolling 
> > worked smoothly. Anyways, nice work!
> 
> The scrolling hooks are noops for now, just need to add clipping as the 
> AtheOS code used a clipped scrolling call BeOS doesn't have.

Ah, can you elaborate on that? Is it meant to scroll only a portion of the 
view (perhaps because the other portion is invalidated anyways)? If so, 
this can be achieved on BeOS as well. First, if you invalidate parts of a 
view, those should be excluded from scrolling (maybe they aren't, but this 
could be added easily in Haiku). Second, using CopyBits() should definitely 
do the job, since that can be restricted to certain regions. You just need 
to maintain the scrolling offset yourself then, because it is fake 
scrolling and the bounds of the view don't change.

Best regards,
-Stephan



Other related posts: