This repository has been archived on 2025-03-19. You can view files and clone it, but cannot push or open issues or pull requests.
FlashBackPro/FlashBack/FlashBack/UIImage+Private.h
2019-12-25 22:18:54 -07:00

30 lines
975 B
Objective-C

#import "MobileIcons.h"
#include <sys/cdefs.h>
@class LSApplicationProxy;
__BEGIN_DECLS
UIImage *_UIImageWithName(NSString *name);
__END_DECLS
@interface UIImage (Private)
+ (instancetype)kitImageNamed:(NSString *)name;
+ (instancetype)imageNamed:(NSString *)name inBundle:(NSBundle *)bundle;
+ (instancetype)imageWithContentsOfCPBitmapFile:(NSString *)filename flags:(NSInteger)flags; // TODO: make this an enum
+ (instancetype)_applicationIconImageForBundleIdentifier:(NSString *)bundleIdentifier format:(MIIconVariant)format scale:(CGFloat)scale;
+ (instancetype)_iconForResourceProxy:(LSApplicationProxy *)applicationProxy format:(MIIconVariant)format;
- (instancetype)_applicationIconImageForFormat:(MIIconVariant)format precomposed:(BOOL)precomposed scale:(CGFloat)scale;
- (instancetype)_flatImageWithColor:(UIColor *)color;
- (BOOL)writeToCPBitmapFile:(NSString *)filename flags:(NSInteger)flags; // TODO: make this an enum
@property CGFloat scale;
@end