Files
main/Tweaks/PSHeader/CameraApp/CAMHDRButton.h
2023-06-27 09:54:41 +02:00

20 lines
795 B
Objective-C

#import "CAMButtonLabel.h"
API_AVAILABLE(ios(7.0))
@interface CAMHDRButton : UIButton <NSCoding>
@property (readonly, nonatomic) CAMButtonLabel *_onLabel;
@property (readonly, nonatomic) CAMButtonLabel *_offLabel;
@property (readonly, nonatomic) CAMButtonLabel *_hdrLabel;
@property (nonatomic) NSInteger orientation;
@property (nonatomic, getter=isOn) BOOL on;
- (void)_updateFromOrientationChangeAnimated:(BOOL)animated;
- (void)_updateFrameFromOrientation;
- (CGAffineTransform)_transformForOrientation:(NSInteger)orientation;
- (void)_updateLabelsFromOrientation;
- (void)_updateFromOnState;
- (void)setOrientation:(NSInteger)orientation animated:(BOOL)animated;
- (void)_layoutForLandscapeOrientation;
- (void)_layoutForPortraitOrientation;
- (void)_commonCAMHDRButtonInitialization;
@end