X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/22a86e1af594d77fde7f056cf5152478f14dafbf..5e2815af6cd3f5dffaca2e8d1876c0a355209859:/ITCoreGraphicsHacks.h?ds=inline diff --git a/ITCoreGraphicsHacks.h b/ITCoreGraphicsHacks.h index c9041c9..a07942b 100755 --- a/ITCoreGraphicsHacks.h +++ b/ITCoreGraphicsHacks.h @@ -1,7 +1,20 @@ +/* + * ITKit + * ITCoreGraphicsHacks + * Header to import to work with private CoreGraphics API + * + * Original Author : Matthew Judy + * Responsibility : Matthew Judy + * + * Copyright (c) 2002 - 2003 iThink Software. + * All Rights Reserved + * + */ + /*************************************************************************/ #pragma mark - -#pragma mark CoreGraphics HACKS +#pragma mark CoreGraphics HACK HACK HACK /*************************************************************************/ typedef void * CGSGenericObj; @@ -31,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 + +