






#import "EngineerMovieRecoveryFaxRenderCell.h"
#import "MenuCluster.h"
#import "Masonry.h"

@implementation EngineerMovieRecoveryFaxRenderCell

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if(self){
        
        self.backgroundColor = UIColor.whiteColor;
        self.contentView.backgroundColor = UIColor.whiteColor;
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        
        
        self.hangFitUseView = [UIImageView new];
        self.hangFitUseView.tintColor = [MenuCluster asleepYetColor];
        self.hangFitUseView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.hangFitUseView];
        [self.hangFitUseView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(MenuCluster.thirteenHand.italicsDrain);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(MenuCluster.thirteenHand.sayIconLevel);
        }];
        
        
        self.titleKinName = [UILabel new];
        self.titleKinName.font = [UIFont boldSystemFontOfSize:16];
        self.titleKinName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.titleKinName];
        [self.titleKinName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.hangFitUseView.mas_right).offset(MenuCluster.thirteenHand.italicsDrain);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.teluguMergeTime = [UILabel new];
        self.teluguMergeTime.font =  [UIFont systemFontOfSize:11];
        self.teluguMergeTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.teluguMergeTime];
        [self.teluguMergeTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(MenuCluster.thirteenHand.subgroupPop);
            make.left.equalTo(self.titleKinName);
        }];
    }
    return self;
}

@end
