On 06/09/12 16:44, Greg Ercolano wrote:
>       Are there any examples of e.g. gradient filled rects and circs
>       in fltk2/3 that can be backported to 1.3.x?

        I just took a quick look the fltk3, and a quick case insensitive
        grep for 'gradient' didn't seem to show any drawing functions
        that would draw gradients.

        If that's the case..

        ..perhaps a good place to start would be Dmitri's code
        which I think includes gradient functions for his gradX
        theme, as this is work is already done, and porting in
        his functions could help get that theme into the lib.

        Matt, perhaps as you say there's native gradient functions
        on each platform we could later adapt our code to use,
        and use our own code to fall back to on limited platforms
        (such as embedded platforms with limited graphics).

        I'm not familiar with the native gradient functions
        provided by the OS's, but I'm kinda motivated to do
        the footwork to look into it vis a vis the native file chooser.

        Anyone have any pointers to WIN32/OSX/X11 functions appropriate
        for FLTK's use to do low level gradient drawing? Knowing what
        exists might help us design our API to make wrapperizing
        such functions easier.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to