On 06/09/12 15:38, Ian MacArthur wrote:
>> I think our cairo code depends on functions like GetWindowPort()
>> which are Carbon specific and have been removed from OSX.
>
> We still target older systems, and building for older systems
> with later releases seems to be deliberately hard.
> I also do not have Xcode-4 yet, for much the same reasons.
Since you're on 10.6 already but are still able to build,
I can only imagine the issue must be something you'd run
into if you upgraded to Xcode 4.
My gcc version is 4, and although I can change it to 3.x
I think, I prefer to move forward in this case.
> A trawl through the forums for the posts by J.Liles in the
> fairly recent past might find some good stuff in this regard;
> he was rendering various buttons and widgets with a Cairo+fltk
> combo and the screenshots etc. he posted looked pretty groovy...
Yes, his "ntk" code fork of fltk seems to have
more deeply implemented cairo into the core FLTK widgets.
I diffed it against 1.3.0, and see it has mods where
eg. fl_rectf() will use cairo instead of the fltk code.
In my case, I'm writing a very custom widget that would
benefit from vector shape drawing, though I can probably
emulate it by 'drawing' pixmaps around with alpha channels,
similar to what a circle brush does in e.g. GIMP..
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk