12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- //
- // FUDemoBar.h
- // VQ_FUAPIDemoBar
- //
- // Created by L on 2018/6/26.
- // Copyright © 2018年 L. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "VQ_FUBeautyParam.h"
- @protocol FUAPIDemoBarDelegate <NSObject>
- // 滤镜程度改变
- - (void)vqf_filterValueChange:(VQ_FUBeautyParam *)param;
- - (void)vqf_beautyParamValueChange:(VQ_FUBeautyParam *)param;
- // 显示提示语
- - (void)vqf_filterShowMessage:(NSString *)message ;
- // 显示上半部分View
- -(void)showTopView:(BOOL)shown;
- -(void)vqf_restDefaultValue:(int)type;
- @end
- @interface VQ_FUAPIDemoBar : UIView
- @property (nonatomic, assign) id<FUAPIDemoBarDelegate>mDelegate ;
- // 上半部分
- @property (weak, nonatomic) IBOutlet UIView *topView;
- @property (weak, nonatomic) IBOutlet UIView *bottomView;
- @property (nonatomic, assign) int selBottomIndex;
- -(void)reloadSkinView:(NSArray<VQ_FUBeautyParam *> *)skinParams;
- -(void)reloadShapView:(NSArray<VQ_FUBeautyParam *> *)shapParams;
- -(void)reloadFilterView:(NSArray<VQ_FUBeautyParam *> *)filterParams;
- /* 风格 */
- -(void)reloadStyleView:(NSArray<VQ_FUBeautyParam *> *)styleParams defaultStyle:(VQ_FUBeautyParam *)selStyle;
- // 关闭上半部分
- -(void)vqf_hiddenTopViewWithAnimation:(BOOL)animation;
- // 上半部是否显示
- @property (nonatomic, assign) BOOL isTopViewShow ;
- -(void)setDefaultFilter:(VQ_FUBeautyParam *)filter;
- -(void)setDefaultStyle:(int)index;
- - (void)vqf_restBeautyDefaultValue;
- @end
|