From: Daniel A. S. <da...@us...> - 2009-03-01 09:47:38
|
On Sun, Mar 1, 2009 at 01:55, Kevin Walzer <kw...@co...> wrote: > I am getting hung up on header files, still. > > Refactoring the source code from critcl to a basic C file, I have attempted > to reference tkMacOSXInt.h as you suggested, and am getting these errors: you're probably not defining MAC_OSX_TK, you need that to indicate that you want TkAqua rather than TkX11 > It seems that trying to get at the TkMacOSXDrawingContext is the crux of the > issue; it drags a lot of other things in, as you can see above. If I remove > these includes, I'm able to get the extension to build, at least, but no > luck on getting the image to render. as I explained before, you cannot get at TkMacOSXDrawingContext, it is not available to extensions, the technique I mentioned uses the pixmap's context field directly. Cheers, Daniel |