]> git.saurik.com Git - cydia.git/commitdiff
Rename CGColor to CYColor: this mechanism should probably just be removed.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 7 Oct 2010 03:40:57 +0000 (20:40 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 7 Oct 2010 03:40:57 +0000 (20:40 -0700)
.gitignore
Cydia.mm

index a4a6c1c74bb5ea29ed0c8a9911a913750c2fb99b..31dc3c16f69b08e1a331bf8db902e1c6c8005b2b 100644 (file)
@@ -2,3 +2,4 @@ sysroot
 Cydia
 _
 *.deb
+.DS_Store
index 090823dd804a217a205b8cd67ec8e80adaecd916..080eb1cacdbd094b3891a77aa6a97c9703f52994 100644 (file)
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -969,17 +969,17 @@ class Pcre {
 @end
 /* }}} */
 /* CoreGraphics Primitives {{{ */
-class CGColor {
+class CYColor {
   private:
     CGColorRef color_;
 
   public:
-    CGColor() :
+    CYColor() :
         color_(NULL)
     {
     }
 
-    CGColor(CGColorSpaceRef space, float red, float green, float blue, float alpha) :
+    CYColor(CGColorSpaceRef space, float red, float green, float blue, float alpha) :
         color_(NULL)
     {
         Set(space, red, green, blue, alpha);
@@ -990,7 +990,7 @@ class CGColor {
             CGColorRelease(color_);
     }
 
-    ~CGColor() {
+    ~CYColor() {
         Clear();
     }
 
@@ -1020,15 +1020,15 @@ static NSArray *Finishes_;
 
 static bool Queuing_;
 
-static CGColor Blue_;
-static CGColor Blueish_;
-static CGColor Black_;
-static CGColor Off_;
-static CGColor White_;
-static CGColor Gray_;
-static CGColor Green_;
-static CGColor Purple_;
-static CGColor Purplish_;
+static CYColor Blue_;
+static CYColor Blueish_;
+static CYColor Black_;
+static CYColor Off_;
+static CYColor White_;
+static CYColor Gray_;
+static CYColor Green_;
+static CYColor Purple_;
+static CYColor Purplish_;
 
 static UIColor *InstallingColor_;
 static UIColor *RemovingColor_;