-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRishima.h
147 lines (116 loc) · 4 KB
/
Rishima.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
#import <UIKit/UIKit.h>
#import <Cephei/HBPreferences.h>
#import <sys/sysctl.h>
#import <QuartzCore/QuartzCore.h>
#import "UIView+DCAnimationKit.h"
#import "CCUICAPackageView.h"
#define kStyleString @"CCUIContentModuleCotainerViewControllerGroupName"
//created by iKilledAppl3 on June 3rd, 2019 at 1:11 am
//Images
NSString *kMutedImage = @"/Library/Application Support/Rishima/VolumeMuted@2x.png";
NSString *kOneSpeakerImage = @"/Library/Application Support/Rishima/VolumeMin@2x.png";
NSString *kTwoSpeakerImage = @"/Library/Application Support/Rishima/VolumeMid@2x.png";
NSString *kMaxSpeakerImage = @"/Library/Application Support/Rishima/VolumeMax@2x.png";
//Thansk to andywiik and laughingquoll!
extern NSString* const kCAFilterDestOut;
@interface AVSystemController : NSObject
+(id)sharedAVSystemController;
-(BOOL)getVolume:(float)volume forCategory:(id)category;
-(id)volumeCategoryForAudioCategory:(id)audioCategory;
-(BOOL)setVolumeTo:(float)to forCategory:(id)category;
@end
@interface CALayer (Private)
@property (nonatomic, assign) BOOL continuousCorners;
@property (nonatomic, retain) NSString *compositingFilter;
@property (nonatomic, assign) BOOL allowsGroupOpacity;
@property (nonatomic, assign) BOOL allowsGroupBlending;
@end
@interface _MTBackdropView : UIView
@property (assign,nonatomic) CGFloat blurRadius;
@property (assign,nonatomic) double saturation;
@property (assign, nonatomic) double brightness;
@property (nonatomic,copy) UIColor * colorAddColor;
@property (nonatomic,copy) UIColor * colorMatrixColor;
@property (nonatomic, copy, readwrite) NSString *groupName;
-(void)setBlurRadius:(double)arg1;
@end
@interface MTMaterialView : UIView {
BOOL _cornerRadiusIsContinuous;
}
@property (nonatomic, copy, readwrite) NSString *groupName;
@property (assign,nonatomic) CGFloat weighting;
- (double)_continuousCornerRadius;
@end
@interface CCUIContentModuleContentContainerView : UIView {
MTMaterialView *_moduleMaterialView;
}
@property (nonatomic, copy, readwrite) NSString *materialViewGroupName;
@end
@interface CCUIModuleSliderView : UIView
@end
@interface CCUIVolumeSliderView : CCUIModuleSliderView {
}
-(id)initWithFrame:(CGRect)frame;
@end
@interface CCUIAudioModuleViewController : UIViewController
@property (nonatomic, readwrite) BOOL onScreenForVolumeDisplay;
@property (nonatomic, readwrite) BOOL providesOwnPlatter;
-(id)initWithNibName:(id)arg1 bundle:(id)arg2;
@end
@interface SBVolumeHardwareButtonActions : NSObject
-(void)volumeIncreasePressDown;
-(void)volumeDecreasePressDown;
@end
@interface iKilledAppl3ControlCenterAudioForSpringBoard : UIViewController {
CCUIAudioModuleViewController *_newVolumeViewController;
UIImageView *_volumePackageImageView;
CCUIContentModuleContentContainerView *_newCCUIContent;
_MTBackdropView *_newBackdropView;
CGFloat _currentVolumeFromCC;
UIPanGestureRecognizer *_newPanGesture;
UILabel *_volLabel;
UILabel *_speakerLabel;
}
//@property (nonatomic, readwrite) BOOL isVCExpanded;
-(void)viewDidLoad;
-(void)setupImageViewBasedOnPercentage;
//-(void)showFullViewController:(BOOL)showMe;
//-(void)shrinkViewBasedOnButtonPress:(BOOL)hideMe;
-(void)setupPanGesture;
-(void)pannedTheVolume:(UIPanGestureRecognizer *)recognizer;
-(void)setupLabelViews;
@end
//Thanks to @nepeta :P
@interface SBHUDWindow : UIWindow {
}
-(BOOL)_ignoresHitTest;
@end
@interface SBHUDView : UIView
@property(nonatomic) float progress;
-(void)setupNewHUDView;
-(void)setupNewRingerHUDView;
-(void)showRingerHUDView;
@end
@interface SBHUDController : NSObject {
SBHUDView *_hudView;
}
+(id)sharedHUDController;
-(void)presentHUDView:(SBHUDView *)arg1 autoDismissWithDelay:(double)arg2;
-(void)hideHUDView;
-(void)hideRingerHUDView;
@end
@interface VolumeControl : NSObject
+(id)sharedVolumeControl;
-(BOOL)headphonesPresent;
-(void)presentNewRingerHUDUI;
-(float)volume;
@end
@interface SBVolumeHUDView : SBHUDView
-(int)mode;
@end
BOOL kEnabled;
BOOL kUseVolumeHUD;
BOOL kDarkMode;
HBPreferences *preferences;
iKilledAppl3ControlCenterAudioForSpringBoard *newContentView;
CATransition *_transition;