On 12 Sep 2009, at 22:54, Greg Ercolano wrote:
>
>       I forget why, but that argc/argv thing 'turns on' some
>       options that are different from the default battleship behavior.
>       It also gives the app command line control for initial position/size,
>       and other stuff; see the docs for more.

It triggers arg parsing, which also happens to load the systems  
default settings - this causes the default widget colours to be  
tweaked to better match the currently set system defaults.  
Fl::get_system_colors(); does more or less the same, so if you don't  
call show(argc,argv); on the initial window, calling  
Fl::get_system_colors() instead is usually a Good Idea.






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

Reply via email to