X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/94f93e907b2e3e32a2c23188dc8063f2a800e3e8..d89a0ca515b4db2cb0f4bbe6b7e4d709c5296eba:/ITCoreGraphicsHacks.h?ds=sidebyside diff --git a/ITCoreGraphicsHacks.h b/ITCoreGraphicsHacks.h index c77185d..40c18d0 100644 --- a/ITCoreGraphicsHacks.h +++ b/ITCoreGraphicsHacks.h @@ -31,6 +31,13 @@ enum { kCGSTrue = 1 }; +typedef enum { + CGSTagExposeFade = 0x0002, // Fade out when Expose activates. + CGSTagNoShadow = 0x0008, // No window shadow. + CGSTagTransparent = 0x0200, // Transparent to mouse clicks. + CGSTagSticky = 0x0800, // Appears on all workspaces. +} CGSWindowTag; + extern void CGStyleRelease(CGStyleRef style); extern void CGSReleaseObj(void *obj); extern void CGContextSetStyle(CGContextRef c, CGStyleRef style); @@ -43,6 +50,10 @@ extern CGError CGSSetWindowProperty(const CGSConnectionID cid, CGSWindowID wid, extern CGError CGSSetWindowWarp(const CGSConnectionID cid, CGSWindowID wid, int w,int h, float *mesh); extern CGError CGSSetWindowTransform(const CGSConnectionID cid, CGSWindowID wid, CGAffineTransform transform); +extern OSStatus CGSGetWindowTags(const CGSConnectionID cid, const CGSWindowID wid, CGSWindowTag *tags, int thirtyTwo); +extern OSStatus CGSSetWindowTags(const CGSConnectionID cid, const CGSWindowID wid, CGSWindowTag *tags, int thirtyTwo); +extern OSStatus CGSClearWindowTags(const CGSConnectionID cid, const CGSWindowID wid, CGSWindowTag *tags, int thirtyTwo); + @interface NSApplication (ITCoreGraphicsHacks) - (CGSConnectionID)contextID; @end \ No newline at end of file