//
//  NvStyleListView.h
//  SDKDemo
//
//  Created by Meicam on 2018/6/5.
//  Copyright © 2018年 刘东旭. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NvCaptionStyleItem.h"
#import "NVHeader.h"

@protocol NvStyleListViewDelegate
@optional
- (void)applyStyleToAllCaption:(BOOL)applyToAllCaption;
- (void)selectStyle:(NvCaptionStyleItem *)item isApplyToAllCaption:(BOOL)isApplyToAllCaption;
- (void)moreStyleClick;
- (void)styleOkButtonClick;
- (void)stylePlay;

@end

@interface NvStyleListView : UIView

@property (weak, nonatomic) id delegate;

@property (nonatomic, strong) NvButton *applyButton;
@property (nonatomic, strong) NvCaptionStyleItem *currentItem;

//设置默认数据
- (void)renderListWithItems:(NSMutableArray <NvCaptionStyleItem *>*)dataSource;

@end
