|
From: Sean M. <se...@ro...> - 2008-09-04 16:32:50
|
On 8/27/08 10:18 PM, James W. Walker said: >I've just checked in changes to 19 files, based on Sean McBride's >patch and a few tweaks of my own, to make Quesa compile in 64 bit mode >on the Mac. > >Most of the changes involve a new macro QUESA_SUPPORT_HITOOLBOX, which >Quesa defines by default to be 0 in Mac 64 bit and 1 in Mac 32 bit. >You could choose to define it to be 0 in 32 bit mode too. > >When QUESA_SUPPORT_HITOOLBOX is 0, you cannot create Mac draw >contexts, hence if you want to draw anything on the screen you must >use Cocoa. You also cannot use FSSpec storage objects. > >A side effect of disabling Mac draw contexts is that currently pixmap >draw contexts will not work on the Mac when QUESA_SUPPORT_HITOOLBOX is >0. If anyone cares, I'd guess it wouldn't be too hard to reimplement >pixmap draw contexts using Cocoa or CGL. James, Attached is another small simple patch that fixes a compiler warning. Also, I notice Quesa uses a mix of xcconfig files and directly setting options in the project/target. Would you accept a patch that moves all settings into xcconfig files? This would be useful to us since we are constantly having the change the project to customise build options. Cheers, -- ____________________________________________________________ Sean McBride, B. Eng se...@ro... Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada |