[changeset] Missing ScreenSize & ScreenPixelsPerInch properties
Thomas Treichl
Thomas.Treichl at gmx.net
Fri Jan 23 15:29:45 CST 2009
Ben Abbott schrieb:
> On Thursday, January 22, 2009, at 03:07PM, "Thomas Treichl" <Thomas.Treichl at gmx.net> wrote:
>
>> John, you were asking for CGDirectDisplay.h and CGDisplayConfiguration.h on all
>> systems? Generally yes, since MacOSX 10.3.9 and until at least 10.4.11 which is
>> my system (Ben can you please verify on your 10.5.x system).
>
> Yes they also exist for Leopard. I wrote the short script below to do the job.
>
> #!/bin/sh -ev
> export INC="/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Headers"
> g++ try.cc -Wl,-framework,ApplicationServices -I$INC -o try
Hi Ben,
I had some problems with the example program that John wrote for us (also means
that I cannot compile the current Octave src/display.cc file). Can you please
verify my modified version that I attached to this email if this also works on
your 10.5 system (comments about what has been changed and what should be done
are included)... Does it compile and produce the same output?
Another thing is that on Mac we might have Carbon && X11. If this is the case
then should we still use Carbon or should we use the traditional Unix way, cf.
src/display.cc line 31ff ?
Thomas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: foo-osx.cc
Url: https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090123/7e805af7/attachment-0001.ksh
More information about the Octave-maintainers
mailing list