diff --git a/.DS_Store b/.DS_Store index cf144ef..596bf42 100755 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.theos/_/DEBIAN/control b/.theos/_/DEBIAN/control index 93a67fd..9da6ae0 100644 --- a/.theos/_/DEBIAN/control +++ b/.theos/_/DEBIAN/control @@ -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 diff --git a/.theos/_/Library/MobileSubstrate/DynamicLibraries/testing.dylib b/.theos/_/Library/MobileSubstrate/DynamicLibraries/testing.dylib index a76b42b..a0ef819 100755 Binary files a/.theos/_/Library/MobileSubstrate/DynamicLibraries/testing.dylib and b/.theos/_/Library/MobileSubstrate/DynamicLibraries/testing.dylib differ diff --git a/.theos/last_package b/.theos/last_package index 789c32c..e35f42c 100755 --- a/.theos/last_package +++ b/.theos/last_package @@ -1 +1 @@ -./packages/com.burritoz.testing_1.2-7+debug_iphoneos-arm.deb +./packages/com.burritoz.testing_1.2-12+debug_iphoneos-arm.deb diff --git a/.theos/obj/debug/arm64/Tweak.x.82bf85b6.Td b/.theos/obj/debug/arm64/Tweak.x.82bf85b6.Td new file mode 100644 index 0000000..556b34e --- /dev/null +++ b/.theos/obj/debug/arm64/Tweak.x.82bf85b6.Td @@ -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: diff --git a/.theos/obj/debug/arm64/Tweak.x.82bf85b6.o b/.theos/obj/debug/arm64/Tweak.x.82bf85b6.o new file mode 100644 index 0000000..01ea860 Binary files /dev/null and b/.theos/obj/debug/arm64/Tweak.x.82bf85b6.o differ diff --git a/.theos/obj/debug/arm64/Tweak.x.cce53864.Td b/.theos/obj/debug/arm64/Tweak.x.cce53864.Td index 6554dde..2558dd5 100755 --- a/.theos/obj/debug/arm64/Tweak.x.cce53864.Td +++ b/.theos/obj/debug/arm64/Tweak.x.cce53864.Td @@ -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: diff --git a/.theos/obj/debug/arm64/Tweak.x.cce53864.o b/.theos/obj/debug/arm64/Tweak.x.cce53864.o index ce42ea5..68db515 100644 Binary files a/.theos/obj/debug/arm64/Tweak.x.cce53864.o and b/.theos/obj/debug/arm64/Tweak.x.cce53864.o differ diff --git a/.theos/obj/debug/arm64/Tweak.x.m b/.theos/obj/debug/arm64/Tweak.x.m index 080eaf8..1c8d9fb 100755 --- a/.theos/obj/debug/arm64/Tweak.x.m +++ b/.theos/obj/debug/arm64/Tweak.x.m @@ -1,11 +1,20 @@ #line 1 "Tweak.x" -#import -#import -#import -#import + + + #import +@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" diff --git a/.theos/obj/debug/arm64/testing.dylib b/.theos/obj/debug/arm64/testing.dylib index b2b28ed..b779c7e 100755 Binary files a/.theos/obj/debug/arm64/testing.dylib and b/.theos/obj/debug/arm64/testing.dylib differ diff --git a/.theos/obj/debug/arm64/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib b/.theos/obj/debug/arm64/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib index 412be90..60927c6 100755 Binary files a/.theos/obj/debug/arm64/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib and b/.theos/obj/debug/arm64/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib differ diff --git a/.theos/obj/debug/arm64e/Tweak.x.1ad82ea2.Td b/.theos/obj/debug/arm64e/Tweak.x.1ad82ea2.Td index 5311683..fc280f7 100755 --- a/.theos/obj/debug/arm64e/Tweak.x.1ad82ea2.Td +++ b/.theos/obj/debug/arm64e/Tweak.x.1ad82ea2.Td @@ -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: diff --git a/.theos/obj/debug/arm64e/Tweak.x.1ad82ea2.o b/.theos/obj/debug/arm64e/Tweak.x.1ad82ea2.o index 6a4f7d8..34bb156 100644 Binary files a/.theos/obj/debug/arm64e/Tweak.x.1ad82ea2.o and b/.theos/obj/debug/arm64e/Tweak.x.1ad82ea2.o differ diff --git a/.theos/obj/debug/arm64e/Tweak.x.aaddad29.Td b/.theos/obj/debug/arm64e/Tweak.x.aaddad29.Td new file mode 100644 index 0000000..1b27ce5 --- /dev/null +++ b/.theos/obj/debug/arm64e/Tweak.x.aaddad29.Td @@ -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: diff --git a/.theos/obj/debug/arm64e/Tweak.x.aaddad29.o b/.theos/obj/debug/arm64e/Tweak.x.aaddad29.o new file mode 100644 index 0000000..9bf9b20 Binary files /dev/null and b/.theos/obj/debug/arm64e/Tweak.x.aaddad29.o differ diff --git a/.theos/obj/debug/arm64e/Tweak.x.m b/.theos/obj/debug/arm64e/Tweak.x.m index 080eaf8..71eb5e7 100755 --- a/.theos/obj/debug/arm64e/Tweak.x.m +++ b/.theos/obj/debug/arm64e/Tweak.x.m @@ -1,11 +1,20 @@ #line 1 "Tweak.x" -#import -#import -#import -#import + + + #import +@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" diff --git a/.theos/obj/debug/arm64e/testing.dylib b/.theos/obj/debug/arm64e/testing.dylib index 4118828..62db26f 100755 Binary files a/.theos/obj/debug/arm64e/testing.dylib and b/.theos/obj/debug/arm64e/testing.dylib differ diff --git a/.theos/obj/debug/arm64e/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib b/.theos/obj/debug/arm64e/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib index c75e5ae..89df88a 100755 Binary files a/.theos/obj/debug/arm64e/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib and b/.theos/obj/debug/arm64e/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib differ diff --git a/.theos/obj/debug/armv7s/Tweak.x.8f98122a.Td b/.theos/obj/debug/armv7s/Tweak.x.8f98122a.Td index 62665a7..7a4f829 100755 --- a/.theos/obj/debug/armv7s/Tweak.x.8f98122a.Td +++ b/.theos/obj/debug/armv7s/Tweak.x.8f98122a.Td @@ -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: diff --git a/.theos/obj/debug/armv7s/Tweak.x.8f98122a.o b/.theos/obj/debug/armv7s/Tweak.x.8f98122a.o index acd4422..4c53291 100644 Binary files a/.theos/obj/debug/armv7s/Tweak.x.8f98122a.o and b/.theos/obj/debug/armv7s/Tweak.x.8f98122a.o differ diff --git a/.theos/obj/debug/armv7s/Tweak.x.980978d1.Td b/.theos/obj/debug/armv7s/Tweak.x.980978d1.Td new file mode 100644 index 0000000..5f7ffe8 --- /dev/null +++ b/.theos/obj/debug/armv7s/Tweak.x.980978d1.Td @@ -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: diff --git a/.theos/obj/debug/armv7s/Tweak.x.980978d1.o b/.theos/obj/debug/armv7s/Tweak.x.980978d1.o new file mode 100644 index 0000000..2f9a3c2 Binary files /dev/null and b/.theos/obj/debug/armv7s/Tweak.x.980978d1.o differ diff --git a/.theos/obj/debug/armv7s/Tweak.x.m b/.theos/obj/debug/armv7s/Tweak.x.m index 971109c..1c8d9fb 100755 --- a/.theos/obj/debug/armv7s/Tweak.x.m +++ b/.theos/obj/debug/armv7s/Tweak.x.m @@ -1,11 +1,20 @@ #line 1 "Tweak.x" -#import -#import -#import -#import + + + #import +@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" diff --git a/.theos/obj/debug/armv7s/testing.dylib b/.theos/obj/debug/armv7s/testing.dylib index 619e1d2..5a83f81 100755 Binary files a/.theos/obj/debug/armv7s/testing.dylib and b/.theos/obj/debug/armv7s/testing.dylib differ diff --git a/.theos/obj/debug/armv7s/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib b/.theos/obj/debug/armv7s/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib index 85c73b3..7e28123 100755 Binary files a/.theos/obj/debug/armv7s/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib and b/.theos/obj/debug/armv7s/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib differ diff --git a/.theos/obj/debug/testing.dylib b/.theos/obj/debug/testing.dylib index a76b42b..a0ef819 100755 Binary files a/.theos/obj/debug/testing.dylib and b/.theos/obj/debug/testing.dylib differ diff --git a/.theos/packages/com.burritoz.testing-1.2 b/.theos/packages/com.burritoz.testing-1.2 index c793025..3cacc0b 100755 --- a/.theos/packages/com.burritoz.testing-1.2 +++ b/.theos/packages/com.burritoz.testing-1.2 @@ -1 +1 @@ -7 \ No newline at end of file +12 \ No newline at end of file diff --git a/Tweak.x b/Tweak.x index c227a2a..1246c9f 100755 --- a/Tweak.x +++ b/Tweak.x @@ -1,10 +1,19 @@ //Set up stuff -#import -#import -#import -#import +//#import +//#import +//#import #import +@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); } } diff --git a/packages/.DS_Store b/packages/.DS_Store index c9fb15d..38d1c58 100755 Binary files a/packages/.DS_Store and b/packages/.DS_Store differ diff --git a/packages/com.burritoz.testing_1.2-12+debug_iphoneos-arm.deb b/packages/com.burritoz.testing_1.2-12+debug_iphoneos-arm.deb new file mode 100644 index 0000000..ba5c9ce Binary files /dev/null and b/packages/com.burritoz.testing_1.2-12+debug_iphoneos-arm.deb differ diff --git a/packages/com.burritoz.testing_1.2-7+debug_iphoneos-arm.deb b/packages/com.burritoz.testing_1.2-7+debug_iphoneos-arm.deb deleted file mode 100644 index caa00f5..0000000 Binary files a/packages/com.burritoz.testing_1.2-7+debug_iphoneos-arm.deb and /dev/null differ