forked from Burrit0z/Dockify_Source
		
	fix
This commit is contained in:
		@ -5,9 +5,10 @@
 | 
			
		||||
  /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/SpringBoard.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
 | 
			
		||||
 | 
			
		||||
@ -21,12 +22,14 @@
 | 
			
		||||
 | 
			
		||||
/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/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:
 | 
			
		||||
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										35
									
								
								.theos/obj/debug/arm64/Tweak.x.cce53864.Td
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								.theos/obj/debug/arm64/Tweak.x.cce53864.Td
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,35 @@
 | 
			
		||||
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64/Tweak.x.cce53864.o: \
 | 
			
		||||
  /Users/carsonzielinski/Documents/testing/.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/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/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/debug/arm64/burRootListController.m.e1c44485.o: \
 | 
			
		||||
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64/burRootListController.m.320cd592.o: \
 | 
			
		||||
  burRootListController.m \
 | 
			
		||||
  /Users/carsonzielinski/Documents/theos/Prefix.pch \
 | 
			
		||||
  /Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \
 | 
			
		||||
@ -16,6 +16,8 @@
 | 
			
		||||
  /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/CepheiPrefs.framework/Headers/HBLinkTableCell.h \
 | 
			
		||||
  /Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBTintedTableCell.h \
 | 
			
		||||
  /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h \
 | 
			
		||||
  /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h
 | 
			
		||||
 | 
			
		||||
@ -51,6 +53,10 @@ burRootListController.h:
 | 
			
		||||
 | 
			
		||||
/Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h:
 | 
			
		||||
 | 
			
		||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBLinkTableCell.h:
 | 
			
		||||
 | 
			
		||||
/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBTintedTableCell.h:
 | 
			
		||||
 | 
			
		||||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h:
 | 
			
		||||
 | 
			
		||||
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.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.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user