]> git.saurik.com Git - cydia.git/commitdiff
Use high-resolution icons for purpose badges.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 2 Dec 2010 09:56:59 +0000 (01:56 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 2 Dec 2010 11:48:54 +0000 (03:48 -0800)
MobileCydia.app/Purposes/commercial.png
MobileCydia.app/Purposes/console.png
MobileCydia.app/Purposes/daemon.png
MobileCydia.app/Purposes/extension.png
MobileCydia.app/Purposes/library.png
MobileCydia.app/Purposes/uikit.png
MobileCydia.app/Purposes/x.png
MobileCydia.mm

index ba66d4bf90338a33d0487a2f4302b890fb9700a7..9c411ccf35417eb9d232292fc6aaafba0991c4d8 100644 (file)
Binary files a/MobileCydia.app/Purposes/commercial.png and b/MobileCydia.app/Purposes/commercial.png differ
index 48f7e8807b2ba0f16a4e457ae9027baf8a1d4677..08d186924b16be71ab62e9b48c7d649249493b9a 100644 (file)
Binary files a/MobileCydia.app/Purposes/console.png and b/MobileCydia.app/Purposes/console.png differ
index 4593ee8da522707085843ee2340ed80f90565116..896c9be304c64297486d32c8df770d3472db4ecb 100644 (file)
Binary files a/MobileCydia.app/Purposes/daemon.png and b/MobileCydia.app/Purposes/daemon.png differ
index e7025b4dadbba39234653afcbc2f3660e0db1728..59e051b52004ff14d6382b5f3379a0b0a773a67e 100644 (file)
Binary files a/MobileCydia.app/Purposes/extension.png and b/MobileCydia.app/Purposes/extension.png differ
index 3bcbc04f6a8f5ab9d153bb721ed4c19cb1ed5221..e275e06e16b76198a750c1064d5d9a40b359918c 100644 (file)
Binary files a/MobileCydia.app/Purposes/library.png and b/MobileCydia.app/Purposes/library.png differ
index 2141d7203cf076689219a0c29b2b73dd6dbb23b1..694107f8e7ab1989e7e550acec3f01afa9edf4da 100644 (file)
Binary files a/MobileCydia.app/Purposes/uikit.png and b/MobileCydia.app/Purposes/uikit.png differ
index 0b24b741e5999ac940efbd474c41c59c7829b65b..2feac906af75968c15d0cdfb4051fb158855046e 100644 (file)
Binary files a/MobileCydia.app/Purposes/x.png and b/MobileCydia.app/Purposes/x.png differ
index f113a80c84cc488c3cac89412492615cb71fb67f..7b4b70fe983a98c381a483ab37c5a5c551b224af 100644 (file)
@@ -4912,12 +4912,16 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
     }
 
     if (badge_ != nil) {
-        CGSize size = [badge_ size];
+        CGRect rect;
+        rect.size = [badge_ size];
+
+        rect.size.width /= 2;
+        rect.size.height /= 2;
+
+        rect.origin.x = 36 - rect.size.width / 2;
+        rect.origin.y = 36 - rect.size.height / 2;
 
-        [badge_ drawAtPoint:CGPointMake(
-            36 - size.width / 2,
-            36 - size.height / 2
-        )];
+        [badge_ drawInRect:rect];
     }
 
     if (highlighted)