From eb6d9c9353a73514eb431d55965b821f3aa802e0 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 6 Oct 2010 20:40:57 -0700 Subject: [PATCH] Rename CGColor to CYColor: this mechanism should probably just be removed. --- .gitignore | 1 + Cydia.mm | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index a4a6c1c7..31dc3c16 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ sysroot Cydia _ *.deb +.DS_Store diff --git a/Cydia.mm b/Cydia.mm index 090823dd..080eb1ca 100644 --- 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_; -- 2.47.2