ICRCheckBox.h 485 Bytes
Newer Older
mei's avatar
mei committed
1 2
//
//  ICRCheckBox.h
mei's avatar
mei committed
3
//  XFFruit
mei's avatar
mei committed
4 5 6 7 8 9 10
//
//  Created by Xummer on 15/3/30.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

#import "IBTUIView.h"

mei's avatar
mei committed
11 12 13 14 15
typedef NS_ENUM(NSUInteger, CheckBoxBGType) {
    kCheckBoxBGWhite = 0,
    kCheckBoxBGGray,
};

mei's avatar
mei committed
16 17 18 19 20
#define CHECK_BOX_DEFAULT_WIDTH             (22.0f)

@interface ICRCheckBox : IBTUIView

@property (assign, nonatomic) BOOL isSelected;
mei's avatar
mei committed
21 22 23
@property (assign, nonatomic) CheckBoxBGType m_eBGType;

- (void)onCheckBoxAction:(id)sender;
mei's avatar
mei committed
24 25

@end