mirror of
https://github.com/Burrit0z/Dockify_Source.git
synced 2025-07-01 20:16:47 +00:00
fix
This commit is contained in:
@ -6,5 +6,5 @@ Description: A very noice tweak to configure the dock a bit more...
|
|||||||
Maintainer: burrit0z
|
Maintainer: burrit0z
|
||||||
Author: burrit0z
|
Author: burrit0z
|
||||||
Section: Tweaks
|
Section: Tweaks
|
||||||
Version: 1.2
|
Version: 1.2-5+debug
|
||||||
Installed-Size: 348
|
Installed-Size: 412
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
./packages/com.burritoz.testing_1.2_iphoneos-arm.deb
|
./packages/com.burritoz.testing_1.2-5+debug_iphoneos-arm.deb
|
||||||
|
Binary file not shown.
@ -1,90 +0,0 @@
|
|||||||
#line 1 "Tweak.x"
|
|
||||||
|
|
||||||
#import <SpringBoard/SpringBoard.h>
|
|
||||||
#import <SpringBoard/SBDockIconListView.h>
|
|
||||||
#import <Cephei/HBPreferences.h>
|
|
||||||
#include <UIKit/UIKit.h>
|
|
||||||
|
|
||||||
|
|
||||||
static BOOL transparent;
|
|
||||||
static BOOL hidden;
|
|
||||||
static double setHeight;
|
|
||||||
static double customOpacity;
|
|
||||||
static NSInteger setIconNumber;
|
|
||||||
|
|
||||||
HBPreferences *preferences;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include <substrate.h>
|
|
||||||
#if defined(__clang__)
|
|
||||||
#if __has_feature(objc_arc)
|
|
||||||
#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained
|
|
||||||
#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed))
|
|
||||||
#define _LOGOS_SELF_CONST const
|
|
||||||
#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained))
|
|
||||||
#else
|
|
||||||
#define _LOGOS_SELF_TYPE_NORMAL
|
|
||||||
#define _LOGOS_SELF_TYPE_INIT
|
|
||||||
#define _LOGOS_SELF_CONST
|
|
||||||
#define _LOGOS_RETURN_RETAINED
|
|
||||||
#endif
|
|
||||||
#else
|
|
||||||
#define _LOGOS_SELF_TYPE_NORMAL
|
|
||||||
#define _LOGOS_SELF_TYPE_INIT
|
|
||||||
#define _LOGOS_SELF_CONST
|
|
||||||
#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 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);
|
|
||||||
|
|
||||||
#line 17 "Tweak.x"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, double arg1) {
|
|
||||||
if (transparent == NO && hidden == NO) {
|
|
||||||
_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, customOpacity);
|
|
||||||
}else if (transparent || hidden) {
|
|
||||||
_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, 0.0);
|
|
||||||
} else {
|
|
||||||
NSLog(@"Dock not Transparent/hidden, no custom opacity\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) {
|
|
||||||
return (_logos_orig$_ungrouped$SBDockView$dockHeight(self, _cmd)*setHeight);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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);
|
|
||||||
} else {
|
|
||||||
return (setIconNumber);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static __attribute__((constructor)) void _logosLocalCtor_44056092(int __unused argc, char __unused **argv, char __unused **envp) {
|
|
||||||
preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"];
|
|
||||||
[preferences registerDefaults:@{
|
|
||||||
@"setHeight": @1,
|
|
||||||
@"customOpacity": @1,
|
|
||||||
@"hidden": @NO,
|
|
||||||
@"setIconNumber": @4,
|
|
||||||
}];
|
|
||||||
[preferences registerBool:&transparent default:YES forKey:@"transparent"];
|
|
||||||
[preferences registerBool:&hidden default:NO forKey:@"hidden"];
|
|
||||||
[preferences registerDouble:(double *)&setHeight default:1 forKey:@"setHeight"];
|
|
||||||
[preferences registerDouble:(double *)&customOpacity default:1 forKey:@"customOpacity"];
|
|
||||||
[preferences registerInteger:(NSInteger *)&setIconNumber default:4 forKey:@"setIconNumber"];
|
|
||||||
}
|
|
||||||
static __attribute__((constructor)) void _logosLocalInit() {
|
|
||||||
{Class _logos_class$_ungrouped$SBDockView = objc_getClass("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);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);} }
|
|
||||||
#line 62 "Tweak.x"
|
|
Binary file not shown.
Binary file not shown.
@ -1,20 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
|
||||||
<string>English</string>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>com.apple.xcode.dsym.dockifyprefs</string>
|
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
|
||||||
<string>6.0</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>dSYM</string>
|
|
||||||
<key>CFBundleSignature</key>
|
|
||||||
<string>????</string>
|
|
||||||
<key>CFBundleShortVersionString</key>
|
|
||||||
<string>1.0</string>
|
|
||||||
<key>CFBundleVersion</key>
|
|
||||||
<string>1</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,90 +0,0 @@
|
|||||||
#line 1 "Tweak.x"
|
|
||||||
|
|
||||||
#import <SpringBoard/SpringBoard.h>
|
|
||||||
#import <SpringBoard/SBDockIconListView.h>
|
|
||||||
#import <Cephei/HBPreferences.h>
|
|
||||||
#include <UIKit/UIKit.h>
|
|
||||||
|
|
||||||
|
|
||||||
static BOOL transparent;
|
|
||||||
static BOOL hidden;
|
|
||||||
static double setHeight;
|
|
||||||
static double customOpacity;
|
|
||||||
static NSInteger setIconNumber;
|
|
||||||
|
|
||||||
HBPreferences *preferences;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include <substrate.h>
|
|
||||||
#if defined(__clang__)
|
|
||||||
#if __has_feature(objc_arc)
|
|
||||||
#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained
|
|
||||||
#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed))
|
|
||||||
#define _LOGOS_SELF_CONST const
|
|
||||||
#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained))
|
|
||||||
#else
|
|
||||||
#define _LOGOS_SELF_TYPE_NORMAL
|
|
||||||
#define _LOGOS_SELF_TYPE_INIT
|
|
||||||
#define _LOGOS_SELF_CONST
|
|
||||||
#define _LOGOS_RETURN_RETAINED
|
|
||||||
#endif
|
|
||||||
#else
|
|
||||||
#define _LOGOS_SELF_TYPE_NORMAL
|
|
||||||
#define _LOGOS_SELF_TYPE_INIT
|
|
||||||
#define _LOGOS_SELF_CONST
|
|
||||||
#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 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);
|
|
||||||
|
|
||||||
#line 17 "Tweak.x"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, double arg1) {
|
|
||||||
if (transparent == NO && hidden == NO) {
|
|
||||||
_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, customOpacity);
|
|
||||||
}else if (transparent || hidden) {
|
|
||||||
_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, 0.0);
|
|
||||||
} else {
|
|
||||||
NSLog(@"Dock not Transparent/hidden, no custom opacity\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) {
|
|
||||||
return (_logos_orig$_ungrouped$SBDockView$dockHeight(self, _cmd)*setHeight);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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);
|
|
||||||
} else {
|
|
||||||
return (setIconNumber);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static __attribute__((constructor)) void _logosLocalCtor_44056092(int __unused argc, char __unused **argv, char __unused **envp) {
|
|
||||||
preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"];
|
|
||||||
[preferences registerDefaults:@{
|
|
||||||
@"setHeight": @1,
|
|
||||||
@"customOpacity": @1,
|
|
||||||
@"hidden": @NO,
|
|
||||||
@"setIconNumber": @4,
|
|
||||||
}];
|
|
||||||
[preferences registerBool:&transparent default:YES forKey:@"transparent"];
|
|
||||||
[preferences registerBool:&hidden default:NO forKey:@"hidden"];
|
|
||||||
[preferences registerDouble:(double *)&setHeight default:1 forKey:@"setHeight"];
|
|
||||||
[preferences registerDouble:(double *)&customOpacity default:1 forKey:@"customOpacity"];
|
|
||||||
[preferences registerInteger:(NSInteger *)&setIconNumber default:4 forKey:@"setIconNumber"];
|
|
||||||
}
|
|
||||||
static __attribute__((constructor)) void _logosLocalInit() {
|
|
||||||
{Class _logos_class$_ungrouped$SBDockView = objc_getClass("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);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);} }
|
|
||||||
#line 62 "Tweak.x"
|
|
Binary file not shown.
Binary file not shown.
@ -1,20 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
|
||||||
<string>English</string>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>com.apple.xcode.dsym.dockifyprefs</string>
|
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
|
||||||
<string>6.0</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>dSYM</string>
|
|
||||||
<key>CFBundleSignature</key>
|
|
||||||
<string>????</string>
|
|
||||||
<key>CFBundleShortVersionString</key>
|
|
||||||
<string>1.0</string>
|
|
||||||
<key>CFBundleVersion</key>
|
|
||||||
<string>1</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
Binary file not shown.
@ -1,20 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
|
||||||
<string>English</string>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>com.apple.xcode.dsym.testing.dylib</string>
|
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
|
||||||
<string>6.0</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>dSYM</string>
|
|
||||||
<key>CFBundleSignature</key>
|
|
||||||
<string>????</string>
|
|
||||||
<key>CFBundleShortVersionString</key>
|
|
||||||
<string>1.0</string>
|
|
||||||
<key>CFBundleVersion</key>
|
|
||||||
<string>1</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,20 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
|
||||||
<string>English</string>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>com.apple.xcode.dsym.dockifyprefs</string>
|
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
|
||||||
<string>6.0</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>dSYM</string>
|
|
||||||
<key>CFBundleSignature</key>
|
|
||||||
<string>????</string>
|
|
||||||
<key>CFBundleShortVersionString</key>
|
|
||||||
<string>1.0</string>
|
|
||||||
<key>CFBundleVersion</key>
|
|
||||||
<string>1</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
Binary file not shown.
@ -5,9 +5,10 @@
|
|||||||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/HBLog.h \
|
/Users/carsonzielinski/Documents/theos/include/HBLog.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \
|
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h \
|
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.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/vendor/lib/Cephei.framework/Headers/HBPreferences.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/substrate.h
|
/Users/carsonzielinski/Documents/theos/include/substrate.h
|
||||||
|
|
||||||
@ -21,12 +22,14 @@
|
|||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h:
|
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h:
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h:
|
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h:
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.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/vendor/lib/Cephei.framework/Headers/HBPreferences.h:
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/substrate.h:
|
/Users/carsonzielinski/Documents/theos/include/substrate.h:
|
||||||
|
Binary file not shown.
@ -1,13 +1,14 @@
|
|||||||
/Users/carsonzielinski/Documents/testing/.theos/obj/arm64/Tweak.x.4bcb81e5.o: \
|
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64/Tweak.x.cce53864.o: \
|
||||||
/Users/carsonzielinski/Documents/testing/.theos/obj/arm64/Tweak.x.m \
|
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64/Tweak.x.m \
|
||||||
/Users/carsonzielinski/Documents/theos/Prefix.pch \
|
/Users/carsonzielinski/Documents/theos/Prefix.pch \
|
||||||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/HBLog.h \
|
/Users/carsonzielinski/Documents/theos/include/HBLog.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \
|
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h \
|
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.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/vendor/lib/Cephei.framework/Headers/HBPreferences.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/substrate.h
|
/Users/carsonzielinski/Documents/theos/include/substrate.h
|
||||||
|
|
||||||
@ -21,12 +22,14 @@
|
|||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h:
|
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h:
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h:
|
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h:
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.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/vendor/lib/Cephei.framework/Headers/HBPreferences.h:
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/substrate.h:
|
/Users/carsonzielinski/Documents/theos/include/substrate.h:
|
BIN
.theos/obj/debug/arm64/Tweak.x.cce53864.o
Normal file
BIN
.theos/obj/debug/arm64/Tweak.x.cce53864.o
Normal file
Binary file not shown.
@ -1,90 +0,0 @@
|
|||||||
#line 1 "Tweak.x"
|
|
||||||
|
|
||||||
#import <SpringBoard/SpringBoard.h>
|
|
||||||
#import <SpringBoard/SBDockIconListView.h>
|
|
||||||
#import <Cephei/HBPreferences.h>
|
|
||||||
#include <UIKit/UIKit.h>
|
|
||||||
|
|
||||||
|
|
||||||
static BOOL transparent;
|
|
||||||
static BOOL hidden;
|
|
||||||
static double setHeight;
|
|
||||||
static double customOpacity;
|
|
||||||
static NSInteger setIconNumber;
|
|
||||||
|
|
||||||
HBPreferences *preferences;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include <substrate.h>
|
|
||||||
#if defined(__clang__)
|
|
||||||
#if __has_feature(objc_arc)
|
|
||||||
#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained
|
|
||||||
#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed))
|
|
||||||
#define _LOGOS_SELF_CONST const
|
|
||||||
#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained))
|
|
||||||
#else
|
|
||||||
#define _LOGOS_SELF_TYPE_NORMAL
|
|
||||||
#define _LOGOS_SELF_TYPE_INIT
|
|
||||||
#define _LOGOS_SELF_CONST
|
|
||||||
#define _LOGOS_RETURN_RETAINED
|
|
||||||
#endif
|
|
||||||
#else
|
|
||||||
#define _LOGOS_SELF_TYPE_NORMAL
|
|
||||||
#define _LOGOS_SELF_TYPE_INIT
|
|
||||||
#define _LOGOS_SELF_CONST
|
|
||||||
#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 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);
|
|
||||||
|
|
||||||
#line 17 "Tweak.x"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, double arg1) {
|
|
||||||
if (transparent == NO && hidden == NO) {
|
|
||||||
_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, customOpacity);
|
|
||||||
}else if (transparent || hidden) {
|
|
||||||
_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, 0.0);
|
|
||||||
} else {
|
|
||||||
NSLog(@"Dock not Transparent/hidden, no custom opacity\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) {
|
|
||||||
return (_logos_orig$_ungrouped$SBDockView$dockHeight(self, _cmd)*setHeight);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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);
|
|
||||||
} else {
|
|
||||||
return (setIconNumber);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static __attribute__((constructor)) void _logosLocalCtor_44056092(int __unused argc, char __unused **argv, char __unused **envp) {
|
|
||||||
preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"];
|
|
||||||
[preferences registerDefaults:@{
|
|
||||||
@"setHeight": @1,
|
|
||||||
@"customOpacity": @1,
|
|
||||||
@"hidden": @NO,
|
|
||||||
@"setIconNumber": @4,
|
|
||||||
}];
|
|
||||||
[preferences registerBool:&transparent default:YES forKey:@"transparent"];
|
|
||||||
[preferences registerBool:&hidden default:NO forKey:@"hidden"];
|
|
||||||
[preferences registerDouble:(double *)&setHeight default:1 forKey:@"setHeight"];
|
|
||||||
[preferences registerDouble:(double *)&customOpacity default:1 forKey:@"customOpacity"];
|
|
||||||
[preferences registerInteger:(NSInteger *)&setIconNumber default:4 forKey:@"setIconNumber"];
|
|
||||||
}
|
|
||||||
static __attribute__((constructor)) void _logosLocalInit() {
|
|
||||||
{Class _logos_class$_ungrouped$SBDockView = objc_getClass("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);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);} }
|
|
||||||
#line 62 "Tweak.x"
|
|
@ -1,4 +1,4 @@
|
|||||||
/Users/carsonzielinski/Documents/testing/.theos/obj/armv7/burRootListController.m.782acef0.o: \
|
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64/burRootListController.m.320cd592.o: \
|
||||||
burRootListController.m \
|
burRootListController.m \
|
||||||
/Users/carsonzielinski/Documents/theos/Prefix.pch \
|
/Users/carsonzielinski/Documents/theos/Prefix.pch \
|
||||||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \
|
BIN
.theos/obj/debug/arm64/burRootListController.m.320cd592.o
Normal file
BIN
.theos/obj/debug/arm64/burRootListController.m.320cd592.o
Normal file
Binary file not shown.
@ -1,56 +0,0 @@
|
|||||||
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64/burRootListController.m.e1c44485.o: \
|
|
||||||
burRootListController.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 \
|
|
||||||
burRootListController.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSListController.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSViewController.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSTableCell.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSSpecifier.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBPackageNameHeaderCell.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.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:
|
|
||||||
|
|
||||||
burRootListController.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSListController.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSViewController.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSTableCell.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSSpecifier.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBPackageNameHeaderCell.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h:
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,13 +1,14 @@
|
|||||||
/Users/carsonzielinski/Documents/testing/.theos/obj/arm64e/Tweak.x.a82baa7e.o: \
|
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64e/Tweak.x.1ad82ea2.o: \
|
||||||
/Users/carsonzielinski/Documents/testing/.theos/obj/arm64e/Tweak.x.m \
|
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64e/Tweak.x.m \
|
||||||
/Users/carsonzielinski/Documents/theos/Prefix.pch \
|
/Users/carsonzielinski/Documents/theos/Prefix.pch \
|
||||||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/HBLog.h \
|
/Users/carsonzielinski/Documents/theos/include/HBLog.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \
|
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h \
|
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.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/vendor/lib/Cephei.framework/Headers/HBPreferences.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/substrate.h
|
/Users/carsonzielinski/Documents/theos/include/substrate.h
|
||||||
|
|
||||||
@ -21,12 +22,14 @@
|
|||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h:
|
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h:
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h:
|
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h:
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.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/vendor/lib/Cephei.framework/Headers/HBPreferences.h:
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/substrate.h:
|
/Users/carsonzielinski/Documents/theos/include/substrate.h:
|
BIN
.theos/obj/debug/arm64e/Tweak.x.1ad82ea2.o
Normal file
BIN
.theos/obj/debug/arm64e/Tweak.x.1ad82ea2.o
Normal file
Binary file not shown.
@ -5,9 +5,10 @@
|
|||||||
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/HBLog.h \
|
/Users/carsonzielinski/Documents/theos/include/HBLog.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \
|
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h \
|
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.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/vendor/lib/Cephei.framework/Headers/HBPreferences.h \
|
||||||
/Users/carsonzielinski/Documents/theos/include/substrate.h
|
/Users/carsonzielinski/Documents/theos/include/substrate.h
|
||||||
|
|
||||||
@ -21,12 +22,14 @@
|
|||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h:
|
/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h:
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h:
|
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h:
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.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/vendor/lib/Cephei.framework/Headers/HBPreferences.h:
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/substrate.h:
|
/Users/carsonzielinski/Documents/theos/include/substrate.h:
|
||||||
|
Binary file not shown.
29
.theos/obj/debug/arm64e/Tweak.x.f8e2c40f.Td
Normal file
29
.theos/obj/debug/arm64e/Tweak.x.f8e2c40f.Td
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64e/Tweak.x.f8e2c40f.o: \
|
||||||
|
/Users/carsonzielinski/Documents/testing/.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/include/SpringBoard/SBDockIconListView.h \
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.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/include/SpringBoard/SBDockIconListView.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h:
|
||||||
|
|
||||||
|
/Users/carsonzielinski/Documents/theos/include/substrate.h:
|
BIN
.theos/obj/debug/arm64e/Tweak.x.f8e2c40f.o
Normal file
BIN
.theos/obj/debug/arm64e/Tweak.x.f8e2c40f.o
Normal file
Binary file not shown.
@ -1,9 +1,13 @@
|
|||||||
#line 1 "Tweak.x"
|
#line 1 "Tweak.x"
|
||||||
|
|
||||||
#import <SpringBoard/SpringBoard.h>
|
|
||||||
|
|
||||||
|
|
||||||
#import <SpringBoard/SBDockIconListView.h>
|
#import <SpringBoard/SBDockIconListView.h>
|
||||||
|
#import <SpringBoard/SBDockView.h>
|
||||||
|
#import <SpringBoard/SBIconListView.h>
|
||||||
|
#import <SpringBoard/SpringBoard.h>
|
||||||
#import <Cephei/HBPreferences.h>
|
#import <Cephei/HBPreferences.h>
|
||||||
#include <UIKit/UIKit.h>
|
|
||||||
|
|
||||||
|
|
||||||
static BOOL transparent;
|
static BOOL transparent;
|
||||||
@ -36,10 +40,10 @@ HBPreferences *preferences;
|
|||||||
#define _LOGOS_RETURN_RETAINED
|
#define _LOGOS_RETURN_RETAINED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@class SBDockIconListView; @class SBDockView;
|
@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 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 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);
|
||||||
|
|
||||||
#line 17 "Tweak.x"
|
#line 21 "Tweak.x"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -53,10 +57,15 @@ static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) {
|
static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) {
|
||||||
return (_logos_orig$_ungrouped$SBDockView$dockHeight(self, _cmd)*setHeight);
|
return (_logos_orig$_ungrouped$SBDockView$dockHeight(self, _cmd)*setHeight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static double _logos_meta_method$_ungrouped$SBDockView$defaultHeight(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) {
|
||||||
|
return (_logos_meta_orig$_ungrouped$SBDockView$defaultHeight(self, _cmd)*setHeight);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -71,7 +80,7 @@ static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGO
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
static __attribute__((constructor)) void _logosLocalCtor_44056092(int __unused argc, char __unused **argv, char __unused **envp) {
|
static __attribute__((constructor)) void _logosLocalCtor_7d006fd9(int __unused argc, char __unused **argv, char __unused **envp) {
|
||||||
preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"];
|
preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"];
|
||||||
[preferences registerDefaults:@{
|
[preferences registerDefaults:@{
|
||||||
@"setHeight": @1,
|
@"setHeight": @1,
|
||||||
@ -86,5 +95,5 @@ static __attribute__((constructor)) void _logosLocalCtor_44056092(int __unused a
|
|||||||
[preferences registerInteger:(NSInteger *)&setIconNumber default:4 forKey:@"setIconNumber"];
|
[preferences registerInteger:(NSInteger *)&setIconNumber default:4 forKey:@"setIconNumber"];
|
||||||
}
|
}
|
||||||
static __attribute__((constructor)) void _logosLocalInit() {
|
static __attribute__((constructor)) void _logosLocalInit() {
|
||||||
{Class _logos_class$_ungrouped$SBDockView = objc_getClass("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);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);} }
|
{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);} }
|
||||||
#line 62 "Tweak.x"
|
#line 71 "Tweak.x"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/Users/carsonzielinski/Documents/testing/.theos/obj/arm64/burRootListController.m.49278f3c.o: \
|
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64e/burRootListController.m.1022476f.o: \
|
||||||
burRootListController.m \
|
burRootListController.m \
|
||||||
/Users/carsonzielinski/Documents/theos/Prefix.pch \
|
/Users/carsonzielinski/Documents/theos/Prefix.pch \
|
||||||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \
|
BIN
.theos/obj/debug/arm64e/burRootListController.m.1022476f.o
Normal file
BIN
.theos/obj/debug/arm64e/burRootListController.m.1022476f.o
Normal file
Binary file not shown.
@ -1,56 +0,0 @@
|
|||||||
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64e/burRootListController.m.bbcb89c4.o: \
|
|
||||||
burRootListController.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 \
|
|
||||||
burRootListController.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSListController.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSViewController.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSTableCell.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSSpecifier.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBPackageNameHeaderCell.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.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:
|
|
||||||
|
|
||||||
burRootListController.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSListController.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSViewController.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSTableCell.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSSpecifier.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBPackageNameHeaderCell.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h:
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
|||||||
/Users/carsonzielinski/Documents/testing/.theos/obj/arm64e/burRootListController.m.7e65d79b.o: \
|
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/armv7/burRootListController.m.40484a5d.o: \
|
||||||
burRootListController.m \
|
burRootListController.m \
|
||||||
/Users/carsonzielinski/Documents/theos/Prefix.pch \
|
/Users/carsonzielinski/Documents/theos/Prefix.pch \
|
||||||
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \
|
/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \
|
BIN
.theos/obj/debug/armv7/burRootListController.m.40484a5d.o
Normal file
BIN
.theos/obj/debug/armv7/burRootListController.m.40484a5d.o
Normal file
Binary file not shown.
@ -1,56 +0,0 @@
|
|||||||
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/armv7/burRootListController.m.74bc452e.o: \
|
|
||||||
burRootListController.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 \
|
|
||||||
burRootListController.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSListController.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSViewController.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSTableCell.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSSpecifier.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBPackageNameHeaderCell.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h \
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.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:
|
|
||||||
|
|
||||||
burRootListController.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSListController.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSViewController.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSTableCell.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSSpecifier.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBPackageNameHeaderCell.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h:
|
|
||||||
|
|
||||||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h:
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
35
.theos/obj/debug/armv7s/Tweak.x.8f98122a.Td
Normal file
35
.theos/obj/debug/armv7s/Tweak.x.8f98122a.Td
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/armv7s/Tweak.x.8f98122a.o: \
|
||||||
|
/Users/carsonzielinski/Documents/testing/.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/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
|
||||||
|
|
||||||
|
/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/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:
|
BIN
.theos/obj/debug/armv7s/Tweak.x.8f98122a.o
Normal file
BIN
.theos/obj/debug/armv7s/Tweak.x.8f98122a.o
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -98,7 +98,7 @@
|
|||||||
<key>cell</key>
|
<key>cell</key>
|
||||||
<string>PSGroupCell</string>
|
<string>PSGroupCell</string>
|
||||||
<key>label</key>
|
<key>label</key>
|
||||||
<string>Max Dock Icons (each row):</string>
|
<string>Max Dock Icons:</string>
|
||||||
</dict>
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>cell</key>
|
<key>cell</key>
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,24 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
|
||||||
<string>English</string>
|
|
||||||
<key>CFBundleExecutable</key>
|
|
||||||
<string>dockifyprefs</string>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>com.burritoz.dockifyprefs</string>
|
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
|
||||||
<string>6.0</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>BNDL</string>
|
|
||||||
<key>CFBundleShortVersionString</key>
|
|
||||||
<string>1.0.0</string>
|
|
||||||
<key>CFBundleSignature</key>
|
|
||||||
<string>????</string>
|
|
||||||
<key>CFBundleVersion</key>
|
|
||||||
<string>1.0</string>
|
|
||||||
<key>NSPrincipalClass</key>
|
|
||||||
<string>burRootListController</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
@ -1,147 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>items</key>
|
|
||||||
<array>
|
|
||||||
<dict>
|
|
||||||
<key>cell</key>
|
|
||||||
<string>PSGroupCell</string>
|
|
||||||
<key>condensed</key>
|
|
||||||
<true/>
|
|
||||||
<key>headerCellClass</key>
|
|
||||||
<string>HBPackageNameHeaderCell</string>
|
|
||||||
<key>icon</key>
|
|
||||||
<string>icon.png</string>
|
|
||||||
<key>packageIdentifier</key>
|
|
||||||
<string>com.burritoz.testing</string>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>cell</key>
|
|
||||||
<string>PSGroupCell</string>
|
|
||||||
<key>label</key>
|
|
||||||
<string>Overall Dock Settings:</string>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>cell</key>
|
|
||||||
<string>PSSwitchCell</string>
|
|
||||||
<key>default</key>
|
|
||||||
<true/>
|
|
||||||
<key>defaults</key>
|
|
||||||
<string>com.burritoz.dockifyprefs</string>
|
|
||||||
<key>key</key>
|
|
||||||
<string>transparent</string>
|
|
||||||
<key>label</key>
|
|
||||||
<string>Transparent Dock</string>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>cell</key>
|
|
||||||
<string>PSSwitchCell</string>
|
|
||||||
<key>default</key>
|
|
||||||
<false/>
|
|
||||||
<key>defaults</key>
|
|
||||||
<string>com.burritoz.dockifyprefs</string>
|
|
||||||
<key>key</key>
|
|
||||||
<string>hidden</string>
|
|
||||||
<key>label</key>
|
|
||||||
<string>Hide</string>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>cell</key>
|
|
||||||
<string>PSGroupCell</string>
|
|
||||||
<key>label</key>
|
|
||||||
<string>Dock Height Multiplier (1 default):</string>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>cell</key>
|
|
||||||
<string>PSSliderCell</string>
|
|
||||||
<key>default</key>
|
|
||||||
<string>1</string>
|
|
||||||
<key>defaults</key>
|
|
||||||
<string>com.burritoz.dockifyprefs</string>
|
|
||||||
<key>key</key>
|
|
||||||
<string>setHeight</string>
|
|
||||||
<key>min</key>
|
|
||||||
<integer>0</integer>
|
|
||||||
<key>max</key>
|
|
||||||
<integer>10</integer>
|
|
||||||
<key>isSegmented</key>
|
|
||||||
<false/>
|
|
||||||
<key>showValue</key>
|
|
||||||
<true/>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>cell</key>
|
|
||||||
<string>PSGroupCell</string>
|
|
||||||
<key>label</key>
|
|
||||||
<string>Custom Opacity Multiplier (0-1):</string>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>cell</key>
|
|
||||||
<string>PSSliderCell</string>
|
|
||||||
<key>default</key>
|
|
||||||
<string>1</string>
|
|
||||||
<key>defaults</key>
|
|
||||||
<string>com.burritoz.dockifyprefs</string>
|
|
||||||
<key>key</key>
|
|
||||||
<string>customOpacity</string>
|
|
||||||
<key>min</key>
|
|
||||||
<integer>0</integer>
|
|
||||||
<key>max</key>
|
|
||||||
<integer>1</integer>
|
|
||||||
<key>isSegmented</key>
|
|
||||||
<false/>
|
|
||||||
<key>showValue</key>
|
|
||||||
<true/>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>cell</key>
|
|
||||||
<string>PSGroupCell</string>
|
|
||||||
<key>label</key>
|
|
||||||
<string>Max Dock Icons:</string>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>cell</key>
|
|
||||||
<string>PSSliderCell</string>
|
|
||||||
<key>default</key>
|
|
||||||
<string>4</string>
|
|
||||||
<key>defaults</key>
|
|
||||||
<string>com.burritoz.dockifyprefs</string>
|
|
||||||
<key>key</key>
|
|
||||||
<string>setIconNumber</string>
|
|
||||||
<key>min</key>
|
|
||||||
<integer>0</integer>
|
|
||||||
<key>max</key>
|
|
||||||
<integer>20</integer>
|
|
||||||
<key>isSegmented</key>
|
|
||||||
<true/>
|
|
||||||
<key>segmentCount</key>
|
|
||||||
<integer>20</integer>
|
|
||||||
<key>showValue</key>
|
|
||||||
<true/>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>cell</key>
|
|
||||||
<string>PSGroupCell</string>
|
|
||||||
<key>label</key>
|
|
||||||
<string></string>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>cell</key>
|
|
||||||
<string>PSButtonCell</string>
|
|
||||||
<key>label</key>
|
|
||||||
<string>Apply/ReSpring</string>
|
|
||||||
<key>action</key>
|
|
||||||
<string>respring:</string>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>cell</key>
|
|
||||||
<string>PSGroupCell</string>
|
|
||||||
<key>footerText</key>
|
|
||||||
<string>"Try not. Do... or do not. There is no try."</string>
|
|
||||||
</dict>
|
|
||||||
</array>
|
|
||||||
<key>title</key>
|
|
||||||
<string>Dockify</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 418 B |
32
.theos/obj/iphone_simulator/debug/x86_64/Tweak.x.fba03dd6.Td
Normal file
32
.theos/obj/iphone_simulator/debug/x86_64/Tweak.x.fba03dd6.Td
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/Users/carsonzielinski/Documents/testing/.theos/obj/iphone_simulator/debug/x86_64/Tweak.x.fba03dd6.o: \
|
||||||
|
/Users/carsonzielinski/Documents/testing/.theos/obj/iphone_simulator/debug/x86_64/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/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/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/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:
|
BIN
.theos/obj/iphone_simulator/debug/x86_64/Tweak.x.fba03dd6.o
Normal file
BIN
.theos/obj/iphone_simulator/debug/x86_64/Tweak.x.fba03dd6.o
Normal file
Binary file not shown.
121
.theos/obj/iphone_simulator/debug/x86_64/Tweak.x.m
Normal file
121
.theos/obj/iphone_simulator/debug/x86_64/Tweak.x.m
Normal file
@ -0,0 +1,121 @@
|
|||||||
|
#line 1 "Tweak.x"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#import <SpringBoard/SBDockIconListView.h>
|
||||||
|
#import <SpringBoard/SBDockView.h>
|
||||||
|
#import <SpringBoard/SBIconListView.h>
|
||||||
|
#import <SpringBoard/SpringBoard.h>
|
||||||
|
#import <Cephei/HBPreferences.h>
|
||||||
|
|
||||||
|
|
||||||
|
static BOOL transparent;
|
||||||
|
static BOOL hidden;
|
||||||
|
static double setHeight;
|
||||||
|
static double customOpacity;
|
||||||
|
static NSInteger setIconNumber;
|
||||||
|
|
||||||
|
HBPreferences *preferences;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#include <objc/message.h>
|
||||||
|
#if defined(__clang__)
|
||||||
|
#if __has_feature(objc_arc)
|
||||||
|
#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained
|
||||||
|
#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed))
|
||||||
|
#define _LOGOS_SELF_CONST const
|
||||||
|
#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained))
|
||||||
|
#else
|
||||||
|
#define _LOGOS_SELF_TYPE_NORMAL
|
||||||
|
#define _LOGOS_SELF_TYPE_INIT
|
||||||
|
#define _LOGOS_SELF_CONST
|
||||||
|
#define _LOGOS_RETURN_RETAINED
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#define _LOGOS_SELF_TYPE_NORMAL
|
||||||
|
#define _LOGOS_SELF_TYPE_INIT
|
||||||
|
#define _LOGOS_SELF_CONST
|
||||||
|
#define _LOGOS_RETURN_RETAINED
|
||||||
|
#endif
|
||||||
|
|
||||||
|
__attribute__((unused)) static void _logos_register_hook$(Class _class, SEL _cmd, IMP _new, IMP *_old) {
|
||||||
|
unsigned int _count, _i;
|
||||||
|
Class _searchedClass = _class;
|
||||||
|
Method *_methods;
|
||||||
|
while (_searchedClass) {
|
||||||
|
_methods = class_copyMethodList(_searchedClass, &_count);
|
||||||
|
for (_i = 0; _i < _count; _i++) {
|
||||||
|
if (method_getName(_methods[_i]) == _cmd) {
|
||||||
|
if (_class == _searchedClass) {
|
||||||
|
*_old = method_getImplementation(_methods[_i]);
|
||||||
|
*_old = method_setImplementation(_methods[_i], _new);
|
||||||
|
} else {
|
||||||
|
class_addMethod(_class, _cmd, _new, method_getTypeEncoding(_methods[_i]));
|
||||||
|
}
|
||||||
|
free(_methods);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
free(_methods);
|
||||||
|
_searchedClass = class_getSuperclass(_searchedClass);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@class SBDockIconListView; @class SBDockView;
|
||||||
|
static Class _logos_superclass$_ungrouped$SBDockView; static Class _logos_supermetaclass$_ungrouped$SBDockView; static void (*_logos_orig$_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_meta_orig$_ungrouped$SBDockView$defaultHeight)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL);static Class _logos_supermetaclass$_ungrouped$SBDockIconListView; static NSInteger (*_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL);
|
||||||
|
|
||||||
|
#line 21 "Tweak.x"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, double arg1) {
|
||||||
|
if (transparent == NO && hidden == NO) {
|
||||||
|
(_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$ ? _logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$ : (__typeof__(_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$))class_getMethodImplementation(_logos_superclass$_ungrouped$SBDockView, @selector(setBackgroundAlpha:)))(self, _cmd, customOpacity);
|
||||||
|
}else if (transparent || hidden) {
|
||||||
|
(_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$ ? _logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$ : (__typeof__(_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$))class_getMethodImplementation(_logos_superclass$_ungrouped$SBDockView, @selector(setBackgroundAlpha:)))(self, _cmd, 0.0);
|
||||||
|
} else {
|
||||||
|
NSLog(@"Dock not Transparent/hidden, no custom opacity\n");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) {
|
||||||
|
return ((_logos_orig$_ungrouped$SBDockView$dockHeight ? _logos_orig$_ungrouped$SBDockView$dockHeight : (__typeof__(_logos_orig$_ungrouped$SBDockView$dockHeight))class_getMethodImplementation(_logos_superclass$_ungrouped$SBDockView, @selector(dockHeight)))(self, _cmd)*setHeight);
|
||||||
|
}
|
||||||
|
|
||||||
|
static double _logos_meta_method$_ungrouped$SBDockView$defaultHeight(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) {
|
||||||
|
return ((_logos_meta_orig$_ungrouped$SBDockView$defaultHeight ? _logos_meta_orig$_ungrouped$SBDockView$defaultHeight : (__typeof__(_logos_meta_orig$_ungrouped$SBDockView$defaultHeight))class_getMethodImplementation(_logos_supermetaclass$_ungrouped$SBDockView, @selector(defaultHeight)))(self, _cmd)*setHeight);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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);
|
||||||
|
} else {
|
||||||
|
return (setIconNumber);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
static __attribute__((constructor)) void _logosLocalCtor_7d006fd9(int __unused argc, char __unused **argv, char __unused **envp) {
|
||||||
|
preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"];
|
||||||
|
[preferences registerDefaults:@{
|
||||||
|
@"setHeight": @1,
|
||||||
|
@"customOpacity": @1,
|
||||||
|
@"hidden": @NO,
|
||||||
|
@"setIconNumber": @4,
|
||||||
|
}];
|
||||||
|
[preferences registerBool:&transparent default:YES forKey:@"transparent"];
|
||||||
|
[preferences registerBool:&hidden default:NO forKey:@"hidden"];
|
||||||
|
[preferences registerDouble:(double *)&setHeight default:1 forKey:@"setHeight"];
|
||||||
|
[preferences registerDouble:(double *)&customOpacity default:1 forKey:@"customOpacity"];
|
||||||
|
[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); _logos_superclass$_ungrouped$SBDockView = class_getSuperclass(_logos_class$_ungrouped$SBDockView); _logos_supermetaclass$_ungrouped$SBDockView = class_getSuperclass(_logos_metaclass$_ungrouped$SBDockView); { _logos_register_hook$(_logos_class$_ungrouped$SBDockView, @selector(setBackgroundAlpha:), (IMP)&_logos_method$_ungrouped$SBDockView$setBackgroundAlpha$, (IMP *)&_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$);}{ _logos_register_hook$(_logos_class$_ungrouped$SBDockView, @selector(dockHeight), (IMP)&_logos_method$_ungrouped$SBDockView$dockHeight, (IMP *)&_logos_orig$_ungrouped$SBDockView$dockHeight);}{ _logos_register_hook$(_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); _logos_supermetaclass$_ungrouped$SBDockIconListView = class_getSuperclass(_logos_metaclass$_ungrouped$SBDockIconListView); { _logos_register_hook$(_logos_metaclass$_ungrouped$SBDockIconListView, @selector(maxIcons), (IMP)&_logos_meta_method$_ungrouped$SBDockIconListView$maxIcons, (IMP *)&_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons);}} }
|
||||||
|
#line 71 "Tweak.x"
|
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
9
|
|
@ -1 +0,0 @@
|
|||||||
13
|
|
10
Makefile
10
Makefile
@ -1,7 +1,9 @@
|
|||||||
ARCHS = arm64 arm64e
|
INSTALL_TARGET_PROCESSES = SpringBoard SpringBoardHome
|
||||||
INSTALL_TARGET_PROCESSES = SpringBoard
|
# TARGET = simulator:clang::7.0
|
||||||
|
# ARCHS = x86_64 i386
|
||||||
|
ARCHS = armv7s arm64 arm64e
|
||||||
|
|
||||||
include /Users/carsonzielinski/Documents/theos/makefiles/common.mk
|
include $(THEOS)/makefiles/common.mk
|
||||||
|
|
||||||
TWEAK_NAME = testing
|
TWEAK_NAME = testing
|
||||||
|
|
||||||
@ -9,6 +11,6 @@ testing_FILES = Tweak.x
|
|||||||
testing_CFLAGS = -fobjc-arc
|
testing_CFLAGS = -fobjc-arc
|
||||||
testing_EXTRA_FRAMEWORKS += Cephei
|
testing_EXTRA_FRAMEWORKS += Cephei
|
||||||
|
|
||||||
include /Users/carsonzielinski/Documents/theos/makefiles/tweak.mk
|
include $(THEOS_MAKE_PATH)/tweak.mk
|
||||||
SUBPROJECTS += dockifyprefs
|
SUBPROJECTS += dockifyprefs
|
||||||
include $(THEOS_MAKE_PATH)/aggregate.mk
|
include $(THEOS_MAKE_PATH)/aggregate.mk
|
||||||
|
24
Tweak.x
24
Tweak.x
@ -1,8 +1,21 @@
|
|||||||
//import needed files/headers
|
//import needed files/headers
|
||||||
#import <SpringBoard/SpringBoard.h>
|
/*#import <SpringBoardHome/SBDockIconListView.h>
|
||||||
|
#import <SpringBoardHome/SBDockView.h>
|
||||||
|
#import <SpringBoardHome/SBIconListView.h> */
|
||||||
#import <SpringBoard/SBDockIconListView.h>
|
#import <SpringBoard/SBDockIconListView.h>
|
||||||
|
#import <SpringBoard/SBDockView.h>
|
||||||
|
#import <SpringBoard/SBIconListView.h>
|
||||||
|
#import <SpringBoard/SpringBoard.h>
|
||||||
#import <Cephei/HBPreferences.h>
|
#import <Cephei/HBPreferences.h>
|
||||||
#include <UIKit/UIKit.h>
|
|
||||||
|
@interface SBDockView
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface SBDockIconListView
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface SBIconListView
|
||||||
|
@end
|
||||||
|
|
||||||
//Set up variables for use with Cephei
|
//Set up variables for use with Cephei
|
||||||
static BOOL transparent;
|
static BOOL transparent;
|
||||||
@ -27,12 +40,17 @@ HBPreferences *preferences;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//ios 12
|
||||||
-(double)dockHeight {
|
-(double)dockHeight {
|
||||||
return (%orig*setHeight); //sets custom height if dock is not set to hidden
|
return (%orig*setHeight); //sets custom height if dock is not set to hidden
|
||||||
}
|
}
|
||||||
|
//ios 13
|
||||||
|
+(double)defaultHeight {
|
||||||
|
return (%orig*setHeight); //sets custom height if dock is not set to hidden
|
||||||
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|
||||||
%hook SBDockIconListView
|
%hook SBDockIconListView
|
||||||
|
|
||||||
+(NSInteger)maxIcons {
|
+(NSInteger)maxIcons {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
include /Users/carsonzielinski/Documents/theos/makefiles/common.mk
|
include $(THEOS)/makefiles/common.mk
|
||||||
|
|
||||||
BUNDLE_NAME = dockifyprefs
|
BUNDLE_NAME = dockifyprefs
|
||||||
|
|
||||||
@ -9,7 +9,7 @@ dockifyprefs_PRIVATE_FRAMEWORKS = Preferences
|
|||||||
dockifyprefs_CFLAGS = -fobjc-arc
|
dockifyprefs_CFLAGS = -fobjc-arc
|
||||||
dockifyprefs_EXTRA_FRAMEWORKS +=CepheiPrefs Cephei
|
dockifyprefs_EXTRA_FRAMEWORKS +=CepheiPrefs Cephei
|
||||||
|
|
||||||
include /Users/carsonzielinski/Documents/theos/makefiles/bundle.mk
|
include $(THEOS_MAKE_PATH)/bundle.mk
|
||||||
|
|
||||||
internal-stage::
|
internal-stage::
|
||||||
$(ECHO_NOTHING)mkdir -p $(THEOS_STAGING_DIR)/Library/PreferenceLoader/Preferences$(ECHO_END)
|
$(ECHO_NOTHING)mkdir -p $(THEOS_STAGING_DIR)/Library/PreferenceLoader/Preferences$(ECHO_END)
|
||||||
|
Reference in New Issue
Block a user