summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-10-06 20:40:57 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2010-10-06 20:40:57 -0700
commit02012733967832de2f331cd42d73f53724d66a69 (patch)
treeb18404ec7018707882140341428591c99e05f8f4
parent72ce053c295e275b8325ca236865002db6e1694d (diff)
Rename CGColor to CYColor: this mechanism should probably just be removed.
-rw-r--r--.gitignore1
-rw-r--r--Cydia.mm26
2 files changed, 14 insertions, 13 deletions
diff --git a/.gitignore b/.gitignore
index a4a6c1c..31dc3c1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ sysroot
Cydia
_
*.deb
+.DS_Store
diff --git a/Cydia.mm b/Cydia.mm
index 090823d..080eb1c 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_;