123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- //
- // KZVideoSupport.h
- // KZWeChatSmallVideo_OC
- //
- // Created by HouKangzhu on 16/7/19.
- // Copyright © 2016年 侯康柱. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "KZVideoConfig.h"
- @class KZVideoModel;
- //************* 录视频 顶部 状态 条 ****************
- @interface KZStatusBar : UIView
- - (instancetype)initWithFrame:(CGRect)frame style:(KZVideoViewShowType)style;
- - (void)addCancelTarget:(id)target selector:(SEL)selector;
- @property (nonatomic, assign) BOOL isRecoding;
- @end
- //************* 关闭的下箭头按钮 ****************
- @interface KZCloseBtn : UIButton
- @property (nonatomic,strong) NSArray *gradientColors; //CGColorRef
- @end
- //************* 点击录制的按钮 ****************
- @interface KZRecordBtn : UIView
- - (instancetype)initWithFrame:(CGRect)frame style:(KZVideoViewShowType)style;
- @end
- //************* 聚焦的方框 ****************
- @interface KZFocusView : UIView
- - (void)focusing;
- @end
- //************* 眼睛 ****************
- @interface KZEyeView : UIView
- @end
- //************* 录视频下部的控制条 ****************
- typedef NS_ENUM(NSUInteger, KZRecordCancelReason) {
- KZRecordCancelReasonDefault,
- KZRecordCancelReasonTimeShort,
- KZRecordCancelReasonUnknown,
- };
- @class KZControllerBar;
- @protocol KZControllerBarDelegate <NSObject>
- @optional
- - (void)ctrollImageDidCapture:(KZControllerBar *)controllerBar;
- - (void)ctrollVideoDidStart:(KZControllerBar *)controllerBar;
- - (void)ctrollVideoDidEnd:(KZControllerBar *)controllerBar;
- - (void)ctrollVideoDidCancel:(KZControllerBar *)controllerBar reason:(KZRecordCancelReason)reason;
- - (void)ctrollVideoWillCancel:(KZControllerBar *)controllerBar;
- - (void)ctrollVideoDidRecordSEC:(KZControllerBar *)controllerBar;
- - (void)ctrollVideoDidClose:(KZControllerBar *)controllerBar;
- - (void)ctrollVideoOpenVideoList:(KZControllerBar *)controllerBar;
- @end
- //************* 录视频下部的控制条 ****************
- @interface KZControllerBar : UIView <UIGestureRecognizerDelegate>
- @property (nonatomic, assign) id<KZControllerBarDelegate> delegate;
- - (void)setupSubViewsWithStyle:(KZVideoViewShowType)style;
- @end
- //************************* Video List 控件 **************************
- //************* 删除视频的圆形叉叉 ****************
- @interface KZCircleCloseBtn : UIButton
- @end
- //************* 视频列表 ****************
- @interface KZVideoListCell:UICollectionViewCell
- @property (nonatomic, strong) KZVideoModel *videoModel;
- @property (nonatomic, strong) void(^deleteVideoBlock)(KZVideoModel *);
- - (void)setEdit:(BOOL)canEdit;
- @end
- //************* 视频列表的添加 ****************
- @interface KZAddNewVideoCell : UICollectionViewCell
- @end
|