| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- //
- // MoreBtnModel.h
- // OneCable
- //
- // Created by KaRam Kim on 2017. 3. 15..
- // Copyright © 2017년 ntels. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- typedef enum {
- MasterTransfer = 9001,
- AddMember,
- Add,
- Del,
- Refresh
- } MoreBtnType;
- @interface MoreBtnModel : NSObject
- @property (copy, nonatomic) UIImage *imgNormal;
- @property (copy, nonatomic) UIImage *imgHighlight;
- @property (copy, nonatomic) UIImage *imgDisabled;
- @property (assign, nonatomic) BOOL enable;
- @property (assign, nonatomic) MoreBtnType btnType;
- -(id)init;
- -(id)initWithTyep:(MoreBtnType)type isEnable:(BOOL)isEnabel;
- -(void)setBtnType:(MoreBtnType)type isEnable:(BOOL)isEnabel;
- //-(void)setBtnImage:(UIControlState)state imgName:(NSString *)name;
- - (UIImage *)getBtnImg:(UIControlState)state;
- - (BOOL)isEnable;
- @end
|