On Sat, 09 Aug 2008 18:22:26 +0200 CEST, François Revol wrote:

> > However, I'm not sure how I'm supposed to update the window contents
> > when the scrollbar is used, or an anchor point half-way down the page
> > is visited.
> > 
> > I thought about plugging my scroller values into content_redraw, but
> > if they differ from 0,0,w,h I end up with a blank window.  What is 
> > the
> > correct way to do this?
> 
> Took me some time to get it right for BeOS, can't really remember what 
> the problem was, but if you dig the BeOS code use caution, I'm not sure 
> it's entirely correct.

I'm struggling to find any code at all that relates to the scroll
position/redraw in any of the platform directories, so any pointers
would be useful here.

btw there's a bug (copy'n'paste error) in your forward button code, at
one point it checks history_back_available() before calling
history_forward().

Thanks
Chris

Reply via email to