mirror of
				https://github.com/SoPat712/YTLitePlus.git
				synced 2025-10-31 04:44:14 -04:00 
			
		
		
		
	added files via upload
This commit is contained in:
		
							
								
								
									
										30
									
								
								Tweaks/Alderis/lcpshim/PFColorCell.m
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								Tweaks/Alderis/lcpshim/PFColorCell.m
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,30 @@ | ||||
| #import "libcolorpicker.h" | ||||
| #import <Preferences/PSSpecifier.h> | ||||
|  | ||||
| @interface PFColorCell : PFLiteColorCell | ||||
|  | ||||
| @end | ||||
|  | ||||
| @implementation PFColorCell | ||||
|  | ||||
| - (NSString *)_hbcp_defaults { | ||||
| 	return self.specifier.properties[@"color_defaults"]; | ||||
| } | ||||
|  | ||||
| - (NSString *)_hbcp_key { | ||||
| 	return self.specifier.properties[@"color_key"]; | ||||
| } | ||||
|  | ||||
| - (NSString *)_hbcp_default { | ||||
| 	return self.specifier.properties[@"color_fallback"]; | ||||
| } | ||||
|  | ||||
| - (NSString *)_hbcp_postNotification { | ||||
| 	return self.specifier.properties[@"color_postNotification"]; | ||||
| } | ||||
|  | ||||
| - (BOOL)_hbcp_supportsAlpha { | ||||
| 	return self.specifier.properties[@"usesAlpha"] ? ((NSNumber *)self.specifier.properties[@"usesAlpha"]).boolValue : NO; | ||||
| } | ||||
|  | ||||
| @end | ||||
		Reference in New Issue
	
	Block a user
	 Balackburn
					Balackburn