Rasmus Lindén wrote:
> the prebuilt binaries in the test folder looks like this:
> http://img186.imageshack.us/img186/3373/testbuttons.png
>
> but when I compile my own applications, it looks like this:
> http://img232.imageshack.us/img232/2629/73491787.png

        I think the 'windows look' comes from:

                win->show(argc,argv);

        ..whereas you might have:

                win->show();

        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.

        Or, if you don't want command line flags to be parsed by
        fltk, I like doing just this at the top of my 1.3.x apps:

                Fl::scheme("gtk+");

        I don't think that affects the colormap, but it does affect
        the button look. I think this can also be user-controlled
        via a command line flag for -scheme or -theme or something
        like that, I believe that's what the 'demo' program does
        (its little radio button at the bottom to turn on different
        schemes for all the demo programs)
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to