On Tue, 15 May 2007 08:42:15 -0400
Joerg Desch <[EMAIL PROTECTED]> wrote:

> > The easiest way to do this is to call Fl::flush() or Fl::wait(0)  
> > after show(argc, argv), and then every time you finished part of you  
> > loading process (preferably every haldf second or so, better if every 
> > 
> > 10th of a second, for a splash screen).
> 
> I've done this in Show(). Show I really add a timer? Or would it be
> enough in Show() and in Message() -- the only two methods where things
> happen.

I've got it. ;-)

After your posting, I have removed the loop (and the call to readqueue())
and called wait() without any conditions -- but only once. This seems to
work. I call it in Show and Message (after changing the label).

Is it save to call wait()? Why is readqueue() used in fl_message()?


-- 
Email: Joerg Desch <jd DOT vvd AT web DOT de>
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to