On Tuesday 20 March 2007 17:01, matthiasm wrote:
> Call "redraw()" on you widget before you call "unlock()"

Unfortunately, there's one little problem left. It seems like
the redrawing of the widget needs a 'trigger'. That means,
when I start my application, the animation does not start.
Or better: does not show up because the widget is not
redrawn every few miliseconds. 

But when I resize the window, the animation starts and
continues, even when I dont resize anything. The updating
(or redrawing) is triggered from the thread then.

But I have to do something to trigger it once. I tried using
a button that just calls  redraw() on the widget. Works!
After I pressed that button, the animation starts and never
ends.

What could this be?


Martin

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to