From 93c020d28c44ca973b6e391b6e294e5c08647999 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 12 Jan 2014 04:20:52 -0800 Subject: [PATCH] Here we go again: this time with SBIcon setAlpha. --- Library.mm | 6 +++--- iphone-api | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.45.2