-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathheaders.h
66 lines (49 loc) · 2.04 KB
/
headers.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#import <substrate.h>
#import <UIKit/UIKit.h>
#import "Frameworks/Frameworks.h"
#import "Categories/Categories.h"
#import "GlareAppsColorHelper.h"
#import "GlareAppsBlurredBackgroundImageView.h"
extern NSString * const kCAFilterNormalBlendMode;
extern NSString * const kCAFilterMultiplyBlendMode;
extern NSString * const kCAFilterOverlayBlendMode;
extern NSString * const kCAFilterColorDodgeBlendMode;
extern NSString * const kCAFilterColorBurnBlendMode;
extern NSString * const kCAFilterPlusD;
extern NSString * const kCAFilterPlusL;
@class GlareAppsColorHelper;
enum {
MusicAppAlbumArtVisibleDefault = 0,
MusicAppAlbumArtVisibleSmaller,
MusicAppAlbumArtVisibleNone
};
extern BOOL isWhiteness;
extern BOOL useBlendedMode;
extern BOOL useMusicAppAlbumArtBackdrop;
extern NSInteger musicAppAlbumArtVisible;
extern CGFloat musicAppAlbumArtBackdropBlurRadius;
extern BOOL isFirmware70;
extern BOOL isFirmware71;
extern GlareAppsColorHelper *colorHelper;
#define kBackdropStyleForWhiteness (isWhiteness ? UIBackdropStyleLight : UIBackdropStyleDark)
#define kBarStyleForWhiteness (isWhiteness ? UIBarStyleDefault : UIBarStyleBlack)
#define kDarkColorWithWhiteForWhiteness (isWhiteness ? 1.0f : 0.0f)
#define kLightColorWithWhiteForWhiteness (isWhiteness ? 0.0f : 1.0f)
#define kClearAlphaFactor (isWhiteness ? 0.2f : 0.1f)
#define kJustClearAlphaFactor (isWhiteness ? 0.2f : 0.1f)
#define kTintColorAlphaFactor 0.4f
#define kFullAlphaFactor 0.9f
#define kRealFullAlphaFactor 1.0f
#define kTransparentAlphaFactor 0.01f
#define kRealTransparentAlphaFactor 0.0f
#define isPad() (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
BOOL isThisAppUIServiceProcess();
BOOL isTheAppUIServiceProcess(NSString *bundleIdentifier);
BOOL isThisAppEnabled();
BOOL isTheAppEnabled(NSString *bundleIdentifier);
void clearBar(UIView *view);
void setLabelTextColorIfHasBlackColor(UILabel *label);
NSMutableAttributedString *colorReplacedAttributedString(NSAttributedString *text);
UIColor *blendColor();
NSInteger blendMode();
void blendView(id control);