[SR][Request]Change licence issue
[apps/core/preloaded/myfiles.git] / data / edc_common.h
1 /*
2  * Copyright 2013         Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *  http://floralicense.org/license/
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #define SHORTCUT_W 720
17 #define SHORTCUT_H 96
18 #define SHORTCUT_ADD 130
19 #define SHORTCUT_IMG_ORI 64
20 #define SHORTCUT_IMG_ORI_Y 12 
21 #define SHORTCUT_BLINE 164
22 #define SHORTCUT_WLINE 165
23 #define SHORTCUT_Y 23
24
25
26 #define BASIC_W                                 480
27 #define BASIC_H                                 800
28
29 #define MAIN_W                                  720
30 #define MAIN_H                                  1280
31
32 #define MF_SCALE_W                      (MAIN_W/BASIC_W)
33 #define MF_SCALE_H                      (MAIN_H/BASIC_H)
34
35 #define FONT_NANE                       "Tizen:style=Medium"
36 #define FONT_LIST_ITEM                  "Tizen:style=Roman"
37
38 #define FONT_SIZE                       22
39 #define FONT_COLOR                      255 255 255 255
40
41 #define MAIN_FONT_STYLE                 "Tizen"
42 #define MAIN_FONT_SIZE          32
43 #define MAIN_FONT_COLOR 255 255 255 255
44
45 #define SUB_FONT                        "Tizen"
46 #define SUB_FONT_SIZE           18
47 #define SUB_FONT_COLOR          149 149 149
48
49
50 #define DIR_CLASS_NAME          "myfile_dir"
51 #define DIR_SIZE                                42
52
53
54 #define THUMBNAIL_W                     50*MF_SCALE_W
55 #define THUMBNAIL_H                     50*MF_SCALE_H
56
57 #define MEMORY_SUB_THUMB_W              40*MF_SCALE_W
58 #define MEMORY_SUB_THUMB_H              25*MF_SCALE_H
59
60
61 #define GENLIST_ITEM_H          71*MF_SCALE_H
62 #define PATH_INFO_H             48
63 #define PATH_INFO_LABEL_H               25
64 #define PATH_INFO_BG_COLOR              68 68 68 255
65
66 #define BOTTOM_LINE_COLOR               199 199 199 255
67
68 #define BTN_W                           60
69 #define BTN_H                           61
70 #define INDICATOR_H                     46
71 #define SOFTKEY_H                       96
72 #define BUTTON_W                        80
73 #define CHECK_R                         50
74 #define SUB_W                           104
75 #define SUB_H                           32
76
77 #define SEARCHBAR_BACKGROUND_COLOR_DEFAULT      36 36 36 255
78
79
80 #define EDITFIELD_CANCEL_BUTTON_WITH_PADDING_W_INC 150
81 #define EDITFIELD_TOP_PADDING_INC 18
82 #define EDITFIELD_BOTTOM_PADDING_INC 18
83 #define EDITFIELD_HEIGHT_INC 74
84 #define EDITFIELD_LEFT_PADDING_INC 30
85 #define EDITFIELD_RIGHT_PADDING_INC 5
86
87 #define SEARCHBAR_HEIGHT_INC 74
88 #define SEARCHBAR_INPUTFIELD_BORDER_INC 6 6 6 6
89 #define SEARCHBAR_LEFT_ICON_PADDING_INC 16
90 #define SEARCHBAR_ICON_MIN_W_INC 42
91 #define SEARCHBAR_ICON_MIN_H_INC 42
92 #define SEARCHBAR_LEFT_PADDING_SEARCHFIELD_INC 16
93 #define SEARCHBAR_RIGHT_PADDING_SEARCHFIELD_INC 8
94 #define SEARCHBAR_SEARCH_TEXTFIELD_H_INC 60
95 #define SEARCHBAR_H_INC 107
96 #define EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC 6
97 #define EDITFIELD_SEARCHBAR_TOP1_MULTI_INC 10
98 #define EDITFIELD_SEARCHBAR_TOP2_INC 10
99 #define EDITFIELD_SEARCHBAR_LEFT1_INC 0
100 #define EDITFIELD_SEARCHBAR_LEFT2_INC 0
101 #define EDITFIELD_SEARCHBAR_LEFT3_INC 1
102 #define EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 56
103 #define EDITFIELD_SEARCHBAR_RIGHT2_INC 5
104 #define EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC 8
105 #define EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC 2
106 #define EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC 16
107 #define EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC 2
108 #define EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC 50
109 #define EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC 50
110
111
112 #define MF_SEARCH_FOLDER_H                      300*MF_SCALE_H
113 #define MF_SEARCH_FOLDER_W                      400*MF_SCALE_H
114 #define DEFAULT_COLOR                   248 246 239 255
115
116 /********* group index ************/
117 #define GENLIST_GROUPINDEX_LIST_PRESS_COLOR              132 162 198 255
118 #define GENLIST_GROUPINDEX_LIST_COLOR                    59 115 182 255
119 #define GENLIST_GROUPINDEX_LIST_FOCUS_COLOR              255 255 255 255
120 #define GENLIST_GROUPINDEX_LINE_COLOR                   59 115 182 255
121 #define GENLIST_GROUPINDEX_LINE_FOCUS_COLOR             255 255 255 255
122