On Mon, 04 Aug 2008 00:03:52 +0200 CEST, François Revol wrote:

> > Do I need to call some function in my platform-specific code to tell
> > NetSurf to draw the display?
> > 
> > My debug code in plotters isn't being called at all, although bitmaps
> > are created and the gui_window_redraw_window function (which doesn't
> > do anything) is called.
> 
> No, you must call some core function when you get an expose-type event 
> from the GUI, which in turn will call you back.

Thanks, that seems to work (it's calling clg plotter function at
least, I would expect more though).

I can monitor for window refresh events and call it then, but won't
this miss drawing the page when it is first loaded?  I've added
content_redraw() to the gui_window_refresh_window() function for now.

Chris

Reply via email to