octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [changeset] Missing ScreenSize & ScreenPixelsPerInch properties


From: John W. Eaton
Subject: Re: [changeset] Missing ScreenSize & ScreenPixelsPerInch properties
Date: Thu, 22 Jan 2009 15:11:11 -0500

On 22-Jan-2009, Thomas Treichl wrote:

| They suggest to always use both macros with an && combination on modern 
systems 
| (that's also the same that I somewhere read in the GNU GCC documentation but 
| currently cannot find it anymore).

OK, I can add "&& defined (__MACH__)" to the test.

| 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). Here is my 
output 
| from a quick search:
| 
| bash /Developer/SDKs $ find MacOSX10.3.9.sdk -iname CGDirectDisplay.h
|    MacOSX10.3.9.sdk/Developer/Headers/CFMCarbon/CGDirectDisplay.h
|    MacOSX10.3.9.sdk/Developer/Headers/CFMCarbon/CoreGraphics/CGDirectDisplay.h

OK.

| The other thing is that, John, you've written Carbon, not Cocoa. Cocoa is the 
| ObjC way for accessing the Apple user interface, whereas Carbon is the C-API. 
In 
| the changeset earlier you wrote
| 
|    #elif defined (OCTAVE_USE_COCOA_API)  // FIXME -- what should this be 
called?
| 
| which better should be changed to
| 
|    #elif defined (OCTAVE_USE_CARBON_API)

I changed it to OCTAVE_USE_OS_X_API.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]