On 2009-05-07, Greg Ercolano <[email protected]> wrote:
> Greg Ercolano wrote:
>>      If you DONT call Fl::args() or instead of
>>      win.show(argc,argv) use just win.show(), that will
>>      prevent the alternate colormap stuff I think.
>
>     ..and if you are/were using eg. win.show(argc,argv),
>     that might have been overriding your color settings.
>
>     I suppose you could put the color settings /later/
>     in your app, eg. just before invoking Fl::run(),
>     just be sure to do the Fl::reload_scheme(), so that
>     the current scheme, if any, knows about the color
>     changes. (eg. if you're using Fl::scheme("gtk+"),
>     which I do recommend, and does make things look 'nice')
>

worked, thank you.

well, i used show(argc, argv);
if i use just show() all colors are good.
if i just add the set_color() and reload_scheme() but keep 
show(argc,argv); only some colors look as i want them to 
look.
i can live with show() as i need the command line parser 
only for non-fltk options 
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to