2 /*************************************************************************/
4 #pragma mark CoreGraphics HACKS
5 /*************************************************************************/
7 typedef void * CGSGenericObj;
8 typedef CGSGenericObj CGSValueObj;
9 typedef void * CGSConnectionID;
10 typedef void * CGSWindowID;
11 typedef struct CGStyle *CGStyleRef;
12 typedef struct CGShadowStyle {
21 typedef unsigned char CGSBoolean;
27 extern void CGStyleRelease(CGStyleRef style);
28 extern void CGSReleaseObj(void *obj);
29 extern void CGContextSetStyle(CGContextRef c, CGStyleRef style);
30 extern void CGStyleRelease(CGStyleRef style);
31 extern CGStyleRef CGStyleCreateShadow(const CGShadowStyle *shadow);
32 extern CGSValueObj CGSCreateCString(const char *string);
33 extern CGSValueObj CGSCreateBoolean(CGSBoolean boolean);
34 extern CGError CGSSetWindowProperty(const CGSConnectionID cid,
35 CGSWindowID wid, const CGSValueObj key, const CGSValueObj value);