Removing the use of private CoreGraphics APIs to draw shadows, and replacing with...
[ITKit.git] / ITCoreGraphicsHacks.h
index 40c18d0..51a8f33 100644 (file)
@@ -4,10 +4,7 @@
  *
  *     Header to import to work with private CoreGraphics API.
  *
- *     Copyright (c) 2005 by iThink Software.
- *     All Rights Reserved.
- *
- *     $Id$
+ *     Copyright (c) 2005 iThink Software
  *
  */
 
@@ -15,16 +12,6 @@ typedef void * CGSGenericObj;
 typedef CGSGenericObj CGSValueObj;
 typedef void * CGSConnectionID;
 typedef void * CGSWindowID;
-typedef struct CGStyle *CGStyleRef;
-typedef struct CGShadowStyle {
-       unsigned int version;
-       float elevation;
-       float azimuth;
-       float ambient;
-       float height;
-       float radius;
-       float saturation;
-} CGShadowStyle;
 typedef unsigned char CGSBoolean;
 enum {
        kCGSFalse = 0,
@@ -38,11 +25,7 @@ typedef enum {
         CGSTagSticky           = 0x0800,   // Appears on all workspaces.
 } CGSWindowTag;
 
-extern void CGStyleRelease(CGStyleRef style);
 extern void CGSReleaseObj(void *obj);
-extern void CGContextSetStyle(CGContextRef c, CGStyleRef style);
-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);