Just a sum up:

Thanks to the responses of Ian and Matthias I solved my problem now. 
As they suggested, I did the following: 

1. I removed all drawing code from the threads, putting it back
   to the main loop

2. I called 'redraw()' on my widget within my thread before 
   calling Fl::unlock() and called awake() after the unlock()

3. I enshured, that the widget did already show up before
   the thread starts.

The latest point was the reason because my animation needed
kind of a trigger before it started. Now, everything is fine. 

What a cool mailing list this is :-)



Martin

-- 
[EMAIL PROTECTED]
http://www.martinhenne.de

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

Reply via email to