Helpers.h 695 字节
Newer Older
L
lvxiangxiang 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
//
//  Helpers.h
//  EasyDLDemo
//
//  Created by chenxiaoyu on 2018/5/14.
//  Copyright © 2018年 baidu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIImage.h>

#define UIColorFromRGB(rgbValue) \
[UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \
green:((float)((rgbValue & 0x00FF00) >>  8))/255.0 \
blue:((float)((rgbValue & 0x0000FF) >>  0))/255.0 \
alpha:1.0]

#define SCREEN_HEIGHT  [UIScreen mainScreen].bounds.size.height
#define SCREEN_WIDTH  [UIScreen mainScreen].bounds.size.width

#define HIGHLIGHT_COLOR UIColorFromRGB(0xF5A623)

//#define BTN_HIGHTLIGH_TEXT_COLOR UIColorFromRGB(0xF5A623)


@interface Helpers : NSObject {


}

@end