[Mono-osx] How to call CGDisplayFade from monomac?

Phi Le iamphi at gmail.com
Thu Jun 16 13:44:34 EDT 2011


I don't see Quartz Display Services included in MonoMac.  You're going to
have setup interops.
You can see how it's done for CGContext here: 
https://github.com/mono/maccore/blob/master/src/CoreGraphics/CGContext.cs

The Constants are defined here:
https://github.com/mono/monomac/blob/master/src/Constants.cs

Quartz Display Services is in the ApplicationServices library:
/System/Library/Frameworks/ApplicationServices.framework/Version/A/ApplicationServices

Good luck!

--
View this message in context: http://mono.1490590.n4.nabble.com/How-to-call-CGDisplayFade-from-monomac-tp3598500p3603164.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list