@@ -6,5 +6,5 @@ Description: A very noice tweak to configure the dock a bit more... | |||
Maintainer: burrit0z | |||
Author: burrit0z | |||
Section: Tweaks | |||
Version: 1.2-7+debug | |||
Version: 1.2-12+debug | |||
Installed-Size: 412 |
@@ -1 +1 @@ | |||
./packages/com.burritoz.testing_1.2-7+debug_iphoneos-arm.deb | |||
./packages/com.burritoz.testing_1.2-12+debug_iphoneos-arm.deb |
@@ -0,0 +1,23 @@ | |||
/Users/carsonzielinski/Documents/testingios13/.theos/obj/debug/arm64/Tweak.x.82bf85b6.o: \ | |||
/Users/carsonzielinski/Documents/testingios13/.theos/obj/debug/arm64/Tweak.x.m \ | |||
/Users/carsonzielinski/Documents/theos/Prefix.pch \ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h \ | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ | |||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h \ | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h | |||
/Users/carsonzielinski/Documents/theos/Prefix.pch: | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h: | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h: | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h: | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: | |||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h: | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h: |
@@ -5,10 +5,6 @@ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h \ | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h \ | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h \ | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockView.h \ | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \ | |||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h \ | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h | |||
@@ -22,14 +18,6 @@ | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h: | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h: | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockView.h: | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h: | |||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h: | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h: |
@@ -1,11 +1,20 @@ | |||
#line 1 "Tweak.x" | |||
#import <SpringBoard/SBDockIconListView.h> | |||
#import <SpringBoard/SBDockView.h> | |||
#import <SpringBoard/SBIconListView.h> | |||
#import <SpringBoard/SpringBoard.h> | |||
#import <Cephei/HBPreferences.h> | |||
@interface SBDockView | |||
@property (nonatomic, assign) double dockHeight; | |||
@end | |||
@interface SBDockIconListView | |||
@end | |||
@interface SBIconListView | |||
@end | |||
static BOOL transparent; | |||
static BOOL hidden; | |||
@@ -38,9 +47,9 @@ HBPreferences *preferences; | |||
#endif | |||
@class SBDockView; @class SBDockIconListView; | |||
static void (*_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static double (*_logos_orig$_ungrouped$SBDockView$dockHeight)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double (*_logos_meta_orig$_ungrouped$SBDockView$defaultHeight)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static double _logos_meta_method$_ungrouped$SBDockView$defaultHeight(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger (*_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger (*_logos_meta_orig$_ungrouped$SBDockIconListView$iconColumnsForCurrentOrientation)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$iconColumnsForCurrentOrientation(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); | |||
static void (*_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static double (*_logos_orig$_ungrouped$SBDockView$dockHeight)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double (*_logos_meta_orig$_ungrouped$SBDockView$defaultHeight)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static double _logos_meta_method$_ungrouped$SBDockView$defaultHeight(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger (*_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$_ungrouped$SBDockIconListView$allowsAddingIconCount$)(_LOGOS_SELF_TYPE_NORMAL SBDockIconListView* _LOGOS_SELF_CONST, SEL, unsigned long long); static BOOL _logos_method$_ungrouped$SBDockIconListView$allowsAddingIconCount$(_LOGOS_SELF_TYPE_NORMAL SBDockIconListView* _LOGOS_SELF_CONST, SEL, unsigned long long); | |||
#line 18 "Tweak.x" | |||
#line 27 "Tweak.x" | |||
@@ -67,6 +76,7 @@ static double _logos_meta_method$_ungrouped$SBDockView$defaultHeight(_LOGOS_SELF | |||
static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { | |||
if (hidden) { | |||
return (0); | |||
@@ -75,17 +85,19 @@ static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGO | |||
} | |||
} | |||
static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$iconColumnsForCurrentOrientation(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { | |||
static BOOL _logos_method$_ungrouped$SBDockIconListView$allowsAddingIconCount$(_LOGOS_SELF_TYPE_NORMAL SBDockIconListView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, unsigned long long arg1) { | |||
if (hidden) { | |||
return (0); | |||
_logos_orig$_ungrouped$SBDockIconListView$allowsAddingIconCount$(self, _cmd, NO); | |||
} else { | |||
_logos_orig$_ungrouped$SBDockIconListView$allowsAddingIconCount$(self, _cmd, YES); | |||
return (setIconNumber); | |||
} | |||
} | |||
static __attribute__((constructor)) void _logosLocalCtor_9f2e78ec(int __unused argc, char __unused **argv, char __unused **envp) { | |||
static __attribute__((constructor)) void _logosLocalCtor_4c282753(int __unused argc, char __unused **argv, char __unused **envp) { | |||
preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"]; | |||
[preferences registerDefaults:@{ | |||
@"setHeight": @1, | |||
@@ -100,5 +112,5 @@ static __attribute__((constructor)) void _logosLocalCtor_9f2e78ec(int __unused a | |||
[preferences registerInteger:(NSInteger *)&setIconNumber default:4 forKey:@"setIconNumber"]; | |||
} | |||
static __attribute__((constructor)) void _logosLocalInit() { | |||
{Class _logos_class$_ungrouped$SBDockView = objc_getClass("SBDockView"); Class _logos_metaclass$_ungrouped$SBDockView = object_getClass(_logos_class$_ungrouped$SBDockView); MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(setBackgroundAlpha:), (IMP)&_logos_method$_ungrouped$SBDockView$setBackgroundAlpha$, (IMP*)&_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$);MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(dockHeight), (IMP)&_logos_method$_ungrouped$SBDockView$dockHeight, (IMP*)&_logos_orig$_ungrouped$SBDockView$dockHeight);MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockView, @selector(defaultHeight), (IMP)&_logos_meta_method$_ungrouped$SBDockView$defaultHeight, (IMP*)&_logos_meta_orig$_ungrouped$SBDockView$defaultHeight);Class _logos_class$_ungrouped$SBDockIconListView = objc_getClass("SBDockIconListView"); Class _logos_metaclass$_ungrouped$SBDockIconListView = object_getClass(_logos_class$_ungrouped$SBDockIconListView); MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockIconListView, @selector(maxIcons), (IMP)&_logos_meta_method$_ungrouped$SBDockIconListView$maxIcons, (IMP*)&_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons);MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockIconListView, @selector(iconColumnsForCurrentOrientation), (IMP)&_logos_meta_method$_ungrouped$SBDockIconListView$iconColumnsForCurrentOrientation, (IMP*)&_logos_meta_orig$_ungrouped$SBDockIconListView$iconColumnsForCurrentOrientation);} } | |||
#line 76 "Tweak.x" | |||
{Class _logos_class$_ungrouped$SBDockView = objc_getClass("SBDockView"); Class _logos_metaclass$_ungrouped$SBDockView = object_getClass(_logos_class$_ungrouped$SBDockView); MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(setBackgroundAlpha:), (IMP)&_logos_method$_ungrouped$SBDockView$setBackgroundAlpha$, (IMP*)&_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$);MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(dockHeight), (IMP)&_logos_method$_ungrouped$SBDockView$dockHeight, (IMP*)&_logos_orig$_ungrouped$SBDockView$dockHeight);MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockView, @selector(defaultHeight), (IMP)&_logos_meta_method$_ungrouped$SBDockView$defaultHeight, (IMP*)&_logos_meta_orig$_ungrouped$SBDockView$defaultHeight);Class _logos_class$_ungrouped$SBDockIconListView = objc_getClass("SBDockIconListView"); Class _logos_metaclass$_ungrouped$SBDockIconListView = object_getClass(_logos_class$_ungrouped$SBDockIconListView); MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockIconListView, @selector(maxIcons), (IMP)&_logos_meta_method$_ungrouped$SBDockIconListView$maxIcons, (IMP*)&_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons);MSHookMessageEx(_logos_class$_ungrouped$SBDockIconListView, @selector(allowsAddingIconCount:), (IMP)&_logos_method$_ungrouped$SBDockIconListView$allowsAddingIconCount$, (IMP*)&_logos_orig$_ungrouped$SBDockIconListView$allowsAddingIconCount$);} } | |||
#line 88 "Tweak.x" |
@@ -5,10 +5,6 @@ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h \ | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h \ | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h \ | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockView.h \ | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \ | |||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h \ | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h | |||
@@ -22,14 +18,6 @@ | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h: | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h: | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockView.h: | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h: | |||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h: | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h: |
@@ -0,0 +1,23 @@ | |||
/Users/carsonzielinski/Documents/testingios13/.theos/obj/debug/arm64e/Tweak.x.aaddad29.o: \ | |||
/Users/carsonzielinski/Documents/testingios13/.theos/obj/debug/arm64e/Tweak.x.m \ | |||
/Users/carsonzielinski/Documents/theos/Prefix.pch \ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h \ | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ | |||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h \ | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h | |||
/Users/carsonzielinski/Documents/theos/Prefix.pch: | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h: | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h: | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h: | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: | |||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h: | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h: |
@@ -1,11 +1,20 @@ | |||
#line 1 "Tweak.x" | |||
#import <SpringBoard/SBDockIconListView.h> | |||
#import <SpringBoard/SBDockView.h> | |||
#import <SpringBoard/SBIconListView.h> | |||
#import <SpringBoard/SpringBoard.h> | |||
#import <Cephei/HBPreferences.h> | |||
@interface SBDockView | |||
@property (nonatomic, assign) double dockHeight; | |||
@end | |||
@interface SBDockIconListView | |||
@end | |||
@interface SBIconListView | |||
@end | |||
static BOOL transparent; | |||
static BOOL hidden; | |||
@@ -37,10 +46,10 @@ HBPreferences *preferences; | |||
#define _LOGOS_RETURN_RETAINED | |||
#endif | |||
@class SBDockView; @class SBDockIconListView; | |||
static void (*_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static double (*_logos_orig$_ungrouped$SBDockView$dockHeight)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double (*_logos_meta_orig$_ungrouped$SBDockView$defaultHeight)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static double _logos_meta_method$_ungrouped$SBDockView$defaultHeight(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger (*_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger (*_logos_meta_orig$_ungrouped$SBDockIconListView$iconColumnsForCurrentOrientation)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$iconColumnsForCurrentOrientation(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); | |||
@class SBDockIconListView; @class SBDockView; | |||
static void (*_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static double (*_logos_orig$_ungrouped$SBDockView$dockHeight)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double (*_logos_meta_orig$_ungrouped$SBDockView$defaultHeight)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static double _logos_meta_method$_ungrouped$SBDockView$defaultHeight(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger (*_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$_ungrouped$SBDockIconListView$allowsAddingIconCount$)(_LOGOS_SELF_TYPE_NORMAL SBDockIconListView* _LOGOS_SELF_CONST, SEL, unsigned long long); static BOOL _logos_method$_ungrouped$SBDockIconListView$allowsAddingIconCount$(_LOGOS_SELF_TYPE_NORMAL SBDockIconListView* _LOGOS_SELF_CONST, SEL, unsigned long long); | |||
#line 18 "Tweak.x" | |||
#line 27 "Tweak.x" | |||
@@ -67,6 +76,7 @@ static double _logos_meta_method$_ungrouped$SBDockView$defaultHeight(_LOGOS_SELF | |||
static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { | |||
if (hidden) { | |||
return (0); | |||
@@ -75,17 +85,19 @@ static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGO | |||
} | |||
} | |||
static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$iconColumnsForCurrentOrientation(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { | |||
static BOOL _logos_method$_ungrouped$SBDockIconListView$allowsAddingIconCount$(_LOGOS_SELF_TYPE_NORMAL SBDockIconListView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, unsigned long long arg1) { | |||
if (hidden) { | |||
return (0); | |||
_logos_orig$_ungrouped$SBDockIconListView$allowsAddingIconCount$(self, _cmd, NO); | |||
} else { | |||
_logos_orig$_ungrouped$SBDockIconListView$allowsAddingIconCount$(self, _cmd, YES); | |||
return (setIconNumber); | |||
} | |||
} | |||
static __attribute__((constructor)) void _logosLocalCtor_9f2e78ec(int __unused argc, char __unused **argv, char __unused **envp) { | |||
static __attribute__((constructor)) void _logosLocalCtor_4c282753(int __unused argc, char __unused **argv, char __unused **envp) { | |||
preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"]; | |||
[preferences registerDefaults:@{ | |||
@"setHeight": @1, | |||
@@ -100,5 +112,5 @@ static __attribute__((constructor)) void _logosLocalCtor_9f2e78ec(int __unused a | |||
[preferences registerInteger:(NSInteger *)&setIconNumber default:4 forKey:@"setIconNumber"]; | |||
} | |||
static __attribute__((constructor)) void _logosLocalInit() { | |||
{Class _logos_class$_ungrouped$SBDockView = objc_getClass("SBDockView"); Class _logos_metaclass$_ungrouped$SBDockView = object_getClass(_logos_class$_ungrouped$SBDockView); MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(setBackgroundAlpha:), (IMP)&_logos_method$_ungrouped$SBDockView$setBackgroundAlpha$, (IMP*)&_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$);MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(dockHeight), (IMP)&_logos_method$_ungrouped$SBDockView$dockHeight, (IMP*)&_logos_orig$_ungrouped$SBDockView$dockHeight);MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockView, @selector(defaultHeight), (IMP)&_logos_meta_method$_ungrouped$SBDockView$defaultHeight, (IMP*)&_logos_meta_orig$_ungrouped$SBDockView$defaultHeight);Class _logos_class$_ungrouped$SBDockIconListView = objc_getClass("SBDockIconListView"); Class _logos_metaclass$_ungrouped$SBDockIconListView = object_getClass(_logos_class$_ungrouped$SBDockIconListView); MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockIconListView, @selector(maxIcons), (IMP)&_logos_meta_method$_ungrouped$SBDockIconListView$maxIcons, (IMP*)&_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons);MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockIconListView, @selector(iconColumnsForCurrentOrientation), (IMP)&_logos_meta_method$_ungrouped$SBDockIconListView$iconColumnsForCurrentOrientation, (IMP*)&_logos_meta_orig$_ungrouped$SBDockIconListView$iconColumnsForCurrentOrientation);} } | |||
#line 76 "Tweak.x" | |||
{Class _logos_class$_ungrouped$SBDockView = objc_getClass("SBDockView"); Class _logos_metaclass$_ungrouped$SBDockView = object_getClass(_logos_class$_ungrouped$SBDockView); MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(setBackgroundAlpha:), (IMP)&_logos_method$_ungrouped$SBDockView$setBackgroundAlpha$, (IMP*)&_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$);MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(dockHeight), (IMP)&_logos_method$_ungrouped$SBDockView$dockHeight, (IMP*)&_logos_orig$_ungrouped$SBDockView$dockHeight);MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockView, @selector(defaultHeight), (IMP)&_logos_meta_method$_ungrouped$SBDockView$defaultHeight, (IMP*)&_logos_meta_orig$_ungrouped$SBDockView$defaultHeight);Class _logos_class$_ungrouped$SBDockIconListView = objc_getClass("SBDockIconListView"); Class _logos_metaclass$_ungrouped$SBDockIconListView = object_getClass(_logos_class$_ungrouped$SBDockIconListView); MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockIconListView, @selector(maxIcons), (IMP)&_logos_meta_method$_ungrouped$SBDockIconListView$maxIcons, (IMP*)&_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons);MSHookMessageEx(_logos_class$_ungrouped$SBDockIconListView, @selector(allowsAddingIconCount:), (IMP)&_logos_method$_ungrouped$SBDockIconListView$allowsAddingIconCount$, (IMP*)&_logos_orig$_ungrouped$SBDockIconListView$allowsAddingIconCount$);} } | |||
#line 88 "Tweak.x" |
@@ -5,10 +5,6 @@ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h \ | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h \ | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h \ | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockView.h \ | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \ | |||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h \ | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h | |||
@@ -22,14 +18,6 @@ | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h: | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h: | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockView.h: | |||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h: | |||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h: | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h: |
@@ -0,0 +1,23 @@ | |||
/Users/carsonzielinski/Documents/testingios13/.theos/obj/debug/armv7s/Tweak.x.980978d1.o: \ | |||
/Users/carsonzielinski/Documents/testingios13/.theos/obj/debug/armv7s/Tweak.x.m \ | |||
/Users/carsonzielinski/Documents/theos/Prefix.pch \ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h \ | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ | |||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h \ | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h | |||
/Users/carsonzielinski/Documents/theos/Prefix.pch: | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h: | |||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h: | |||
/Users/carsonzielinski/Documents/theos/include/HBLog.h: | |||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: | |||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h: | |||
/Users/carsonzielinski/Documents/theos/include/substrate.h: |
@@ -1,11 +1,20 @@ | |||
#line 1 "Tweak.x" | |||
#import <SpringBoard/SBDockIconListView.h> | |||
#import <SpringBoard/SBDockView.h> | |||
#import <SpringBoard/SBIconListView.h> | |||
#import <SpringBoard/SpringBoard.h> | |||
#import <Cephei/HBPreferences.h> | |||
@interface SBDockView | |||
@property (nonatomic, assign) double dockHeight; | |||
@end | |||
@interface SBDockIconListView | |||
@end | |||
@interface SBIconListView | |||
@end | |||
static BOOL transparent; | |||
static BOOL hidden; | |||
@@ -37,10 +46,10 @@ HBPreferences *preferences; | |||
#define _LOGOS_RETURN_RETAINED | |||
#endif | |||
@class SBDockIconListView; @class SBDockView; | |||
static void (*_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static double (*_logos_orig$_ungrouped$SBDockView$dockHeight)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double (*_logos_meta_orig$_ungrouped$SBDockView$defaultHeight)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static double _logos_meta_method$_ungrouped$SBDockView$defaultHeight(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger (*_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger (*_logos_meta_orig$_ungrouped$SBDockIconListView$iconColumnsForCurrentOrientation)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$iconColumnsForCurrentOrientation(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); | |||
@class SBDockView; @class SBDockIconListView; | |||
static void (*_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static double (*_logos_orig$_ungrouped$SBDockView$dockHeight)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double (*_logos_meta_orig$_ungrouped$SBDockView$defaultHeight)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static double _logos_meta_method$_ungrouped$SBDockView$defaultHeight(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger (*_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static BOOL (*_logos_orig$_ungrouped$SBDockIconListView$allowsAddingIconCount$)(_LOGOS_SELF_TYPE_NORMAL SBDockIconListView* _LOGOS_SELF_CONST, SEL, unsigned long long); static BOOL _logos_method$_ungrouped$SBDockIconListView$allowsAddingIconCount$(_LOGOS_SELF_TYPE_NORMAL SBDockIconListView* _LOGOS_SELF_CONST, SEL, unsigned long long); | |||
#line 18 "Tweak.x" | |||
#line 27 "Tweak.x" | |||
@@ -67,6 +76,7 @@ static double _logos_meta_method$_ungrouped$SBDockView$defaultHeight(_LOGOS_SELF | |||
static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { | |||
if (hidden) { | |||
return (0); | |||
@@ -75,17 +85,19 @@ static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGO | |||
} | |||
} | |||
static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$iconColumnsForCurrentOrientation(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { | |||
static BOOL _logos_method$_ungrouped$SBDockIconListView$allowsAddingIconCount$(_LOGOS_SELF_TYPE_NORMAL SBDockIconListView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, unsigned long long arg1) { | |||
if (hidden) { | |||
return (0); | |||
_logos_orig$_ungrouped$SBDockIconListView$allowsAddingIconCount$(self, _cmd, NO); | |||
} else { | |||
_logos_orig$_ungrouped$SBDockIconListView$allowsAddingIconCount$(self, _cmd, YES); | |||
return (setIconNumber); | |||
} | |||
} | |||
static __attribute__((constructor)) void _logosLocalCtor_9f2e78ec(int __unused argc, char __unused **argv, char __unused **envp) { | |||
static __attribute__((constructor)) void _logosLocalCtor_4c282753(int __unused argc, char __unused **argv, char __unused **envp) { | |||
preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"]; | |||
[preferences registerDefaults:@{ | |||
@"setHeight": @1, | |||
@@ -100,5 +112,5 @@ static __attribute__((constructor)) void _logosLocalCtor_9f2e78ec(int __unused a | |||
[preferences registerInteger:(NSInteger *)&setIconNumber default:4 forKey:@"setIconNumber"]; | |||
} | |||
static __attribute__((constructor)) void _logosLocalInit() { | |||
{Class _logos_class$_ungrouped$SBDockView = objc_getClass("SBDockView"); Class _logos_metaclass$_ungrouped$SBDockView = object_getClass(_logos_class$_ungrouped$SBDockView); MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(setBackgroundAlpha:), (IMP)&_logos_method$_ungrouped$SBDockView$setBackgroundAlpha$, (IMP*)&_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$);MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(dockHeight), (IMP)&_logos_method$_ungrouped$SBDockView$dockHeight, (IMP*)&_logos_orig$_ungrouped$SBDockView$dockHeight);MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockView, @selector(defaultHeight), (IMP)&_logos_meta_method$_ungrouped$SBDockView$defaultHeight, (IMP*)&_logos_meta_orig$_ungrouped$SBDockView$defaultHeight);Class _logos_class$_ungrouped$SBDockIconListView = objc_getClass("SBDockIconListView"); Class _logos_metaclass$_ungrouped$SBDockIconListView = object_getClass(_logos_class$_ungrouped$SBDockIconListView); MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockIconListView, @selector(maxIcons), (IMP)&_logos_meta_method$_ungrouped$SBDockIconListView$maxIcons, (IMP*)&_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons);MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockIconListView, @selector(iconColumnsForCurrentOrientation), (IMP)&_logos_meta_method$_ungrouped$SBDockIconListView$iconColumnsForCurrentOrientation, (IMP*)&_logos_meta_orig$_ungrouped$SBDockIconListView$iconColumnsForCurrentOrientation);} } | |||
#line 76 "Tweak.x" | |||
{Class _logos_class$_ungrouped$SBDockView = objc_getClass("SBDockView"); Class _logos_metaclass$_ungrouped$SBDockView = object_getClass(_logos_class$_ungrouped$SBDockView); MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(setBackgroundAlpha:), (IMP)&_logos_method$_ungrouped$SBDockView$setBackgroundAlpha$, (IMP*)&_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$);MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(dockHeight), (IMP)&_logos_method$_ungrouped$SBDockView$dockHeight, (IMP*)&_logos_orig$_ungrouped$SBDockView$dockHeight);MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockView, @selector(defaultHeight), (IMP)&_logos_meta_method$_ungrouped$SBDockView$defaultHeight, (IMP*)&_logos_meta_orig$_ungrouped$SBDockView$defaultHeight);Class _logos_class$_ungrouped$SBDockIconListView = objc_getClass("SBDockIconListView"); Class _logos_metaclass$_ungrouped$SBDockIconListView = object_getClass(_logos_class$_ungrouped$SBDockIconListView); MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockIconListView, @selector(maxIcons), (IMP)&_logos_meta_method$_ungrouped$SBDockIconListView$maxIcons, (IMP*)&_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons);MSHookMessageEx(_logos_class$_ungrouped$SBDockIconListView, @selector(allowsAddingIconCount:), (IMP)&_logos_method$_ungrouped$SBDockIconListView$allowsAddingIconCount$, (IMP*)&_logos_orig$_ungrouped$SBDockIconListView$allowsAddingIconCount$);} } | |||
#line 88 "Tweak.x" |
@@ -1 +1 @@ | |||
7 | |||
12 |
@@ -1,10 +1,19 @@ | |||
//Set up stuff | |||
#import <SpringBoard/SBDockIconListView.h> | |||
#import <SpringBoard/SBDockView.h> | |||
#import <SpringBoard/SBIconListView.h> | |||
#import <SpringBoard/SpringBoard.h> | |||
//#import <SpringBoardHome/SBDockIconListView.h> | |||
//#import <SpringBoardHome/SBDockView.h> | |||
//#import <SpringBoardHome/SBIconListView.h> | |||
#import <Cephei/HBPreferences.h> | |||
@interface SBDockView | |||
@property (nonatomic, assign) double dockHeight; | |||
@end | |||
@interface SBDockIconListView | |||
@end | |||
@interface SBIconListView | |||
@end | |||
//Set up variables for use with Cephei | |||
static BOOL transparent; | |||
static BOOL hidden; | |||
@@ -36,6 +45,7 @@ HBPreferences *preferences; | |||
+(double)defaultHeight { | |||
return (%orig*setHeight); //sets custom height if dock is not set to hidden | |||
} | |||
%end | |||
@@ -49,10 +59,12 @@ HBPreferences *preferences; | |||
} | |||
} | |||
+(NSInteger)iconColumnsForCurrentOrientation { | |||
-(BOOL)allowsAddingIconCount:(unsigned long long)arg1 { | |||
if (hidden) { | |||
return (0); | |||
%orig(NO); | |||
} else { | |||
%orig(YES); | |||
return (setIconNumber); | |||
} | |||
} |