]> git.saurik.com Git - winterboard.git/commitdiff
Here we go again: this time with SBIcon setAlpha.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 12 Jan 2014 12:20:52 +0000 (04:20 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 12 Jan 2014 12:20:52 +0000 (04:20 -0800)
Library.mm
iphone-api

index 6c90b72f31c6911380dad0ca475d9f2e63d40c9a..36cca9e1e6e3b51617378bcf099983d1ec595745 100644 (file)
@@ -1515,13 +1515,13 @@ WBDelegate(badge_)
 /* }}} */
 
 // IconAlpha {{{
-MSInstanceMessageHook1(void, SBIcon, setIconImageAlpha, float, alpha) {
+MSInstanceMessageHook1(void, SBIcon, setIconImageAlpha, CGFloat, alpha) {
     if (NSNumber *number = [Info_ objectForKey:@"IconAlpha"])
         alpha = [number floatValue];
     return MSOldCall(alpha);
 }
 
-MSInstanceMessageHook1(void, SBIcon, setIconLabelAlpha, float, alpha) {
+MSInstanceMessageHook1(void, SBIcon, setIconLabelAlpha, CGFloat, alpha) {
     if (NSNumber *number = [Info_ objectForKey:@"IconAlpha"])
         alpha = [number floatValue];
     return MSOldCall(alpha);
@@ -1542,7 +1542,7 @@ MSInstanceMessageHook0(id, SBIcon, initWithDefaultSize) {
     } return self;
 }
 
-MSInstanceMessageHook1(void, SBIcon, setAlpha, float, alpha) {
+MSInstanceMessageHook1(void, SBIcon, setAlpha, CGFloat, alpha) {
     if (NSNumber *number = [Info_ objectForKey:@"IconAlpha"])
         alpha = [number floatValue];
     return MSOldCall(alpha);
index b5070abea0450ffff6301cb682a3a2f4fbc2e630..a8b418761c0dae5b28f2d5081d988577f958cb89 160000 (submodule)
@@ -1 +1 @@
-Subproject commit b5070abea0450ffff6301cb682a3a2f4fbc2e630
+Subproject commit a8b418761c0dae5b28f2d5081d988577f958cb89