JLChen
2021-11-04 1443556e9ccb1a19ed8e6710c16c8adc4d4f4fb3
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
//
//  Copyright © 2017 com.dahuatech. All rights reserved.
//
 
#import <UIKit/UIKit.h>
#import "VPVideoDefines.h"
 
//云盘样式 4方向、8方向
 
typedef NS_ENUM(NSInteger, LCPTZPanelStyle)
{
    LCPTZPanelStyle4Direction = 0,
    LCPTZPanelStyle8Direction,
};
 
typedef void(^operateResult)(VPDirection direction,double scale,NSTimeInterval timeInterval);
 
@interface LCPTZPanel : UIView
 
/**
 初始化云台控制盘
 
 @param frame 大小
 @param ptzStyle 云台控制盘样式
 @return 实例
 */
- (instancetype)initWithFrame:(CGRect)frame style:(LCPTZPanelStyle)ptzStyle;
 
@property(nonatomic)        operateResult   resultBlock;
 
-(void)configLandscapeUI;
 
// 更新背景图片
- (void)updatePanelBackguoundImageWithPT1:(BOOL)hasPT1;
 
@end