// // ToolsView.h // BuguLive // // Created by yy on 16/12/13. // Copyright © 2016年 xfg. All rights reserved. // #import #import "ToolsCollectionViewCell.h" #import "PluginToolsModel.h" @class ToolsView; @protocol ToolsViewDelegate @required - (void)selectToolsItemWith:(ToolsView *)toolsView selectIndex:(NSInteger)index isSelected:(BOOL)isSelected; @end @protocol ToolsViewDelegate2 @required //关闭插件中心 - (void)closeSelfView:(ToolsView *)toolsView; @end @interface ToolsView : UIView { GlobalVariables *_BuguLive; } @property (nonatomic, weak) id toSDKdelegate; @property (nonatomic, weak) id toPCVdelegate; @property (nonatomic, strong) UICollectionView *toolsCollectionView; @property (nonatomic, strong) NSMutableArray *toolsSelArray; // 选中工具图片列表 @property (nonatomic, strong) NSMutableArray *toolsUnselArray; // 未选中工具图片列表 @property (nonatomic, strong) NSMutableArray *toolsNameArray; // 工具名称列表 @property (nonatomic, strong) NSMutableArray *cellArray; // 保存cell的数组 @property (nonatomic, assign) BOOL isRearCamera; // 是否后置摄像头 @property (nonatomic, assign) BOOL isClick; // 可否点击闪光灯 //@property (nonatomic, assign) BOOL isOpenMirror; // 是否开启镜像 @end