On Tue, 15 May 2007 08:37:09 -0400
matthiasm <[EMAIL PROTECTED]> wrote:

Hi.

> All GUI libraries are event driven. You have to give FLTK the  
> possibility to handle a few events every once in a while, or no  
> graphics (like splash screens) will become visible.

I know. ;-)

Thats why I had a look into fl_message() and added the while loop in my
Show() method.


> 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.

Bye
-- 
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