[openbeos] Re: Links port

> > > 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.
> 
> 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.

Right, CopyBits(), I knew it was there, just didn't search for that 
name :)
Works perfectly now.
Removed debugging output and it's now blazing fast.
I added some handling for dragging a file to it and pasting text/plain.
Works even with utf-8.
Added some defaults.

I'll try rebuilding with libjpeg...

Sorry Michael Lotz for not even noticing your patch on bebits... :p

The bin:
http://revolf.free.fr/beos/links-beos-bin.zip

Patch (oh, it misses the .rsrc, I'll make an rdef):
http://revolf.free.fr/beos/patches/links-2.1pre31.beos.003.diff.txt

François.

Other related posts: