Ryan Lovelett wrote:

> I am not opposed to the worker thread not calling the redraw method.  Though 
> I guess I'm at a loss for how I could force it to call after updating the 
> pixel buffer without making a call to it from the worker thread.

Well, I think you're okay with calling redraw from the worker thread.

Ian wrote earlier in this thread:

 > Do not call redraw(); at all from the helper thread, as it won't
 > do what you want...

I don't know what Ian thought what you would want, but if
you know that redraw() doesn't draw immediately, but instead
marks the widget to be redrawn later, and if you wake the
FLTK main thread with Fl::awake() after redraw(), then I think
that that should work as expected.

Ian, any comments ?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to