X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/7106f544a7a228700310708fdb1af8cb67359185..8ae300a55b40e1d20cb094b5b19a76b90ee0a63e:/ITCoreGraphicsHacks.h diff --git a/ITCoreGraphicsHacks.h b/ITCoreGraphicsHacks.h index a6ac460..31bc676 100755 --- a/ITCoreGraphicsHacks.h +++ b/ITCoreGraphicsHacks.h @@ -11,9 +11,10 @@ * */ + /*************************************************************************/ #pragma mark - -#pragma mark CoreGraphics HACKS +#pragma mark CoreGraphics HACK HACK HACK /*************************************************************************/ typedef void * CGSGenericObj; @@ -43,5 +44,19 @@ extern void CGStyleRelease(CGStyleRef style); extern CGStyleRef CGStyleCreateShadow(const CGShadowStyle *shadow); extern CGSValueObj CGSCreateCString(const char *string); extern CGSValueObj CGSCreateBoolean(CGSBoolean boolean); -extern CGError CGSSetWindowProperty(const CGSConnectionID cid, - CGSWindowID wid, const CGSValueObj key, const CGSValueObj value); +extern CGError CGSSetWindowProperty(const CGSConnectionID cid, CGSWindowID wid, const CGSValueObj key, const CGSValueObj value); + +extern CGError CGSSetWindowWarp(const CGSConnectionID cid, CGSWindowID wid, int w,int h, float *mesh); +extern CGError CGSSetWindowTransform(const CGSConnectionID cid, CGSWindowID wid, CGAffineTransform transform); + + +/*************************************************************************/ +#pragma mark - +#pragma mark NSApplication HACK HACK HACK +/*************************************************************************/ + +@interface NSApplication (HACKHACKHACKHACK) +- (CGSConnectionID)contextID; +@end + +