From: Jay Freeman (saurik) Date: Sun, 12 Jan 2014 12:20:52 +0000 (-0800) Subject: Here we go again: this time with SBIcon setAlpha. X-Git-Tag: v0.9.3912~5 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/93c020d28c44ca973b6e391b6e294e5c08647999 Here we go again: this time with SBIcon setAlpha. --- diff --git a/Library.mm b/Library.mm index 6c90b72..36cca9e 100644 --- a/Library.mm +++ b/Library.mm @@ -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); diff --git a/iphone-api b/iphone-api index b5070ab..a8b4187 160000 --- a/iphone-api +++ b/iphone-api @@ -1 +1 @@ -Subproject commit b5070abea0450ffff6301cb682a3a2f4fbc2e630 +Subproject commit a8b418761c0dae5b28f2d5081d988577f958cb89