// // FUDemoBar.h // VQ_FUAPIDemoBar // // Created by L on 2018/6/26. // Copyright © 2018年 L. All rights reserved. // #import #import "VQ_FUBeautyParam.h" @protocol FUAPIDemoBarDelegate // 滤镜程度改变 - (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) idmDelegate ; // 上半部分 @property (weak, nonatomic) IBOutlet UIView *topView; @property (weak, nonatomic) IBOutlet UIView *bottomView; @property (nonatomic, assign) int selBottomIndex; -(void)reloadSkinView:(NSArray *)skinParams; -(void)reloadShapView:(NSArray *)shapParams; -(void)reloadFilterView:(NSArray *)filterParams; /* 风格 */ -(void)reloadStyleView:(NSArray *)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