summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MobileCydia.app/Purposes/commercial.pngbin789 -> 2379 bytes
-rw-r--r--MobileCydia.app/Purposes/console.pngbin3264 -> 1225 bytes
-rw-r--r--MobileCydia.app/Purposes/daemon.pngbin3467 -> 2133 bytes
-rw-r--r--MobileCydia.app/Purposes/extension.pngbin3423 -> 1596 bytes
-rw-r--r--MobileCydia.app/Purposes/library.pngbin3580 -> 2277 bytes
-rw-r--r--MobileCydia.app/Purposes/uikit.pngbin880 -> 2214 bytes
-rw-r--r--MobileCydia.app/Purposes/x.pngbin3425 -> 1846 bytes
-rw-r--r--MobileCydia.mm14
8 files changed, 9 insertions, 5 deletions
diff --git a/MobileCydia.app/Purposes/commercial.png b/MobileCydia.app/Purposes/commercial.png
index ba66d4b..9c411cc 100644
--- a/MobileCydia.app/Purposes/commercial.png
+++ b/MobileCydia.app/Purposes/commercial.png
Binary files differ
diff --git a/MobileCydia.app/Purposes/console.png b/MobileCydia.app/Purposes/console.png
index 48f7e88..08d1869 100644
--- a/MobileCydia.app/Purposes/console.png
+++ b/MobileCydia.app/Purposes/console.png
Binary files differ
diff --git a/MobileCydia.app/Purposes/daemon.png b/MobileCydia.app/Purposes/daemon.png
index 4593ee8..896c9be 100644
--- a/MobileCydia.app/Purposes/daemon.png
+++ b/MobileCydia.app/Purposes/daemon.png
Binary files differ
diff --git a/MobileCydia.app/Purposes/extension.png b/MobileCydia.app/Purposes/extension.png
index e7025b4..59e051b 100644
--- a/MobileCydia.app/Purposes/extension.png
+++ b/MobileCydia.app/Purposes/extension.png
Binary files differ
diff --git a/MobileCydia.app/Purposes/library.png b/MobileCydia.app/Purposes/library.png
index 3bcbc04..e275e06 100644
--- a/MobileCydia.app/Purposes/library.png
+++ b/MobileCydia.app/Purposes/library.png
Binary files differ
diff --git a/MobileCydia.app/Purposes/uikit.png b/MobileCydia.app/Purposes/uikit.png
index 2141d72..694107f 100644
--- a/MobileCydia.app/Purposes/uikit.png
+++ b/MobileCydia.app/Purposes/uikit.png
Binary files differ
diff --git a/MobileCydia.app/Purposes/x.png b/MobileCydia.app/Purposes/x.png
index 0b24b74..2feac90 100644
--- a/MobileCydia.app/Purposes/x.png
+++ b/MobileCydia.app/Purposes/x.png
Binary files differ
diff --git a/MobileCydia.mm b/MobileCydia.mm
index f113a80..7b4b70f 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -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)