//
//  ICRAppMacro.h
//  XFFruit
//
//  Created by Xummer on 15/3/25.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

#ifndef XFFruit_ICRAppMacro_h
#define XFFruit_ICRAppMacro_h

// COLOR
#define ICR_TINTCOLOR [UIColor colorWithR:63 g:134 b:244 a:1] //蓝色
#define ICR_VIEW_BG_COLOR [UIColor whiteColor]
#define ICR_BLUE_BTN_COLOR ICR_TINTCOLOR
#define ICR_GRAY_BTN_COLOR [UIColor lightGrayColor]
#define ICR_ORANGE_BTN_COLOR [UIColor colorWithR:250 g:155 b:52 a:1]
#define ICR_DISABLE_BTN_COLOR [UIColor colorWithW:202 a:1]
#define ICR_NAVIBAR_ITEM_COLOR [UIColor whiteColor]
#define ICR_NAVIBAR_ITEM_DISABLE_COLOR [UIColor colorWithW:1 a:.5f]
#define ICR_NAVIBAR_TITLE_COLOR [UIColor whiteColor]
#define ICR_TABBAR_TINT_COLOR [UIColor colorWithR:36 g:38 b:53 a:1]
#define ICR_IMAGE_BG_COLOR [UIColor colorWithW:242 a:1]

#ifdef Demonstrate
//********演示环境*********
#define HTTP_REST_API_BASE_URL                                                 \
  @"http://jdcg.demo.hd123.cn:7080/cruiser-server/rest"
#define HTTP_REST_REPORT_BASE_URL @"http://jdcg.demo.hd123.cn:7080"

#else
//********开发环境********
#define HTTP_REST_API_BASE_URL  @"http://gomoredev:8090/cruiser-server/rest"

//********测试环境********
//#define HTTP_REST_API_BASE_URL @"http://122.224.171.126:7280/cruiser-server/rest"

//********正式环境*********
//#define HTTP_REST_API_BASE_URL
//@"http://122.224.171.126:7380/cruiser-server/rest"
#define HTTP_REST_REPORT_BASE_URL @"http://122.224.171.126:7380"
#endif

// HTTP
//#define HTTP_REST_API_BASE_URL @"http://115.28.191.44:8080/IPatrol/rest"
// 10月23   122.224.171.126:7280
//#define HTTP_REST_API_BASE_URL
//@"http://218.244.151.129:8281/XFFruit-server/rest"

#import "Accounttitle.h"
#import "GXFProductUnit.h"
#import "ICRAppViewControllerManager.h"
#import "ICRDataBaseController.h"
#import "ICRHTTPController.h"
#import "ICRUserUtil.h"
#import "ICRUtilsMacro.h"
#import "ICRVendorMacro.h"
#import "JavenImages.h"
#import "NSData+EncodeAdditions.h"
#import "Product.h"
#import "UIScrollView+Content.h"
#import "User.h"
#import "UserWarehouse.h"
#import "Vendor.h"
#import "Warehouse.h"

// Avatar
//颜色
#define GXF_LABLE_TINT_COLOR HexColor(@"444444")
#define GXF_LABLE_BG_COLOR XXFBgColor
#define GXF_GREEN_COLOR HexColor(@"50bd62")
#define GXF_ORIGIN_COLOR HexColor(@"f69100")
#define GXF_GRAY_COLOR HexColor(@"444444")
//字体大小
#define GXF_LABLE_FONT FontSize(15)

//  高度
#define NavigationBarHeight 64
#define BottomViewHeight 60
#define GXF_TABLEVIEW_NOMALCELL_HEIGHT 44
#define KeyboardHeight 258

#define SEARCH_TOP_HEIGHT 50
#define SEARCH_TABLECELL_HEIGHT 50

#endif
