-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCommonConstants.h
More file actions
60 lines (49 loc) · 1.45 KB
/
CommonConstants.h
File metadata and controls
60 lines (49 loc) · 1.45 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//
// CommonConstants.h
// EMAN
//
// Created by Martin Darma Kusuma Tjandra on 1/19/16.
// Copyright © 2016 Danny Raharja. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "CommonTypes.h"
@interface Global : NSObject
+ (float) fontSizeTitle;
+ (float) fontSizeSectionTitle;
+ (float) fontSizeLabel;
+ (float) fontSizeTextField;
+ (float) fontSizeButton;
+ (float) heightButton;
+ (float) heightCellListDouble;
+ (float) heightCellListSingle;
+ (float) heightCellListProperty;
+ (float) spacingText;
+ (float) paddingH;
+ (float) paddingV;
+ (float) paddingCellH;
+ (float) paddingCellV;
+ (float) paddingExtra;
+ (UIColor *) colorViewBackground;
+ (UIColor *) colorLabelText;
+ (UIColor *) colorLabelBackground;
+ (UIColor *) colorTextFieldText;
+ (UIColor *) colorTextFieldBackground;
+ (UIColor *) colorButtonBackground;
+ (UIButton *) instantCustomButton;
+ (UIColor *) colorButtonFaceNormal;
+ (UIColor *) colorButtonFaceHighlight;
+ (UIColor *) colorButtonFaceDisabled;
+ (UIEdgeInsets) insetTextField;
+ (NSString *) baseURL;
+ (NSString *) ppbaseURL;
+ (NSString *) tokenAccess;
@end
static const CGFloat KEYBOARD_ANIMATION_DURATION = 0.3;
static const CGFloat MINIMUM_SCROLL_FRACTION = 0.2;
static const CGFloat MAXIMUM_SCROLL_FRACTION = 0.8;
static const CGFloat PORTRAIT_KEYBOARD_HEIGHT = 216;
static const CGFloat LANDSCAPE_KEYBOARD_HEIGHT = 162;
#define OWNER_SB @"Owner"
#define TENANT_SB @"Tenant"
#define AGENT_SB @"Agent"
#define MAIN_SB @"Main"