MSHookMetaClass(SBIconModel)
-MSMessageHook1(float, SBButtonBar, leftMarginForIconRowArray, NSArray *row) {
- return [row indexOfObject:[NSNull null]] == NSNotFound ? 4 : MSCall1(SBButtonBar, leftMarginForIconRowArray, row);
+MSMessageHook1(float, SBButtonBar, leftMarginForIconRowArray, NSArray *, row) {
+ return [row indexOfObject:[NSNull null]] == NSNotFound ? 4 : MSOldCall(row);
}
MSMessageHook0(int, SBButtonBar, maxIconColumns) {
return 313370 + $SBButtonBar$count(self);
}
-MSMessageHook1(void, SBIcon, setOrigin, CGPoint origin) {
+MSMessageHook1(void, SBIcon, setOrigin, CGPoint, origin) {
unsigned count(origin.y);
if (count < 313370)
goto set;
origin.y = 11;
set:
- MSCall1(SBIcon, setOrigin, origin);
+ MSOldCall(origin);
}
-MSMessageHook2(CGPoint, SBButtonBar, originForIconAtX,Y, int x, int y) {
- CGPoint origin;//(_SBButtonBar$originForIconAtX$Y$(self, _cmd, x, y));
+MSMessageHook2(CGPoint, SBButtonBar, originForIconAtX,Y, int, x, int, y) {
+ CGPoint origin;//(MSOldCall(x, y, ));
//NSLog(@"f:%u,%u=(%f,%f)", x, y, origin.x, origin.y);
origin.y = 11;