tizen 2.4 release
[apps/home/quickpanel.git] / data / quickpanel_def.h
1 /*
2  * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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  */
17
18
19 #ifndef __QUICKPANEL_EDC_DEF_H__
20 #define __QUICKPANEL_EDC_DEF_H__
21
22 #define QP_BACKGROUND_COLOR "B011"
23
24 #define QP_WIN_W 480
25 #define QP_WIN_H 800
26
27 #define QP_BG_VISIBILITY        1
28 #define QP_BG_COLOR     "AO001"
29
30 #define QP_INDICATOR_H  0
31 #define QP_HANDLE_H     50
32
33 #define QP_SPN_H 41 //66
34 #define QP_SPN_TEXT_W 343 //520
35
36 #define QP_DATE_H       50
37
38 #define QP_COLOR_BLACK 0 0 0 255
39
40 #define QP_SETTING_NUM_PORTRAIT_ICONS 5
41 #define QP_SETTING_NUM_MINIMUM_ICON 8
42 #define QP_SETTING_NUM_TOTAL_ICON 8
43
44 #define QP_SETTING_MARGIN_L_W_P 0
45 #define QP_SETTING_MARGIN_L_W_L 0
46 #define QP_SETTING_MARGIN_R_W_P 0
47 #define QP_SETTING_MARGIN_R_W_L 0
48
49 #define QP_SETTING_DIVIDER_W_P 0
50 #define QP_SETTING_DIVIDER_W_L 0
51 #define QP_SETTING_ICON_MIN_H 66//154
52
53 #define QP_SETTING_BG_H 151
54 #define QP_SETTING_ICON_DRAGGING_BG_CORRECTION_W_P 0
55 #define QP_SETTING_ICON_DRAGGING_BG_CORRECTION_W_L 0
56 #define QP_SETTING_ICON_DRAGGING_BG_MIN_H 72
57 #define QP_SETTING_ICON_DRAGGING_MARGIN 0
58
59 // WVGA
60 #define QP_SETTING_ICON_MIN_WH_WVGA 66
61 #define QP_SETTING_ICON_BG_MIN_W_P_WVGA 96
62 #define QP_SETTING_ICON_BG_MIN_W_P_TEXT_OFFSET_WVGA 7
63 #define QP_SETTING_ICON_BG_MIN_W_L_WVGA 100
64 #define QP_SETTING_ICON_BG_MIN_W_L_TEXT_OFFSET_WVGA 4
65 #define QP_SETTING_ICON_DRAGGING_BG_MIN_W_WVGA 66
66
67 // HD
68 #define QP_SETTING_ICON_MIN_WH_HD 72
69 #define QP_SETTING_ICON_BG_MIN_W_P_HD 109
70 #define QP_SETTING_ICON_BG_MIN_W_P_TEXT_OFFSET_HD 0
71 #define QP_SETTING_ICON_BG_MIN_W_L_HD 107
72 #define QP_SETTING_ICON_BG_MIN_W_L_TEXT_OFFSET_HD 0
73 #define QP_SETTING_ICON_DRAGGING_BG_MIN_W_HD 72
74
75 #define QP_THEME_BRIGHTNESS_BG_COLOR "B011"
76
77 #define QP_THEME_BG_VISIBILITY                          0
78 #define QP_THEME_BG_COLOR                               "B011"
79 #define QP_THEME_BANDED_COLOR   "B0211"
80 #define QP_THEME_ITEM_BG_COLOR "B041"
81 #define QP_THEME_ITEM_BG_PRESS_COLOR "B041P"
82 #define QP_THEME_ITEM_BG_PRESS_DIM_COLOR "AO013DP"
83 #define QP_THEME_SECTION_ICON_DIVIDER_COLOR "AO003"
84
85 #define QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT 0
86 #define QP_THEME_LIST_ITEM_BRIGHTNESS_HEIGHT    76
87 #define QP_THEME_LIST_ITEM_MULTIWINDOW_HEIGHT 96 //135
88 #define QP_THEME_LIST_ITEM_SHORCUT_SOUND_HEIGHT 96 //135
89 #define QP_THEME_LIST_ITEM_SHORCUT_FEATURED_HEIGHT 96 //84
90 #define QP_THEME_LIST_ITEM_MINICONTRL_HEIGHT 140 //180
91 #define QP_THEME_LIST_ITEM_ONGOING_PROGRESS_HEIGHT 96//135
92 #define QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT 96 //135
93 #define QP_THEME_LIST_ITEM_ONGOING_EVENT_LINE3_HEIGHT 96
94 #define QP_THEME_LIST_ITEM_NOTI_SECTION_HEIGHT 51 //80
95 #define QP_THEME_LIST_ITEM_NOTIFICATION_LISTTYPE_HEIGHT 96
96 #define QP_THEME_LIST_ITEM_NOTIFICATION_LEGACY_SINGLE_MULTI_HEIGHT 96 //246
97
98 #define QP_THEME_LIST_ITEM_ICON_COLOR   "W0661"
99
100 #define BOX_PART_ICON "object.icon"
101 #define BOX_PART_ICON_SUB "object.icon.sub"
102 #define BOX_ICON_BG_SIZE_W 96
103 #define BOX_ICON_BG_SIZE_H 96
104 #define BOX_ICON_SIZE_W 96
105 #define BOX_ICON_SIZE_H 96
106 #define BOX_ICON_SUB_SIZE_W 29 //44
107 #define BOX_ICON_SUB_SIZE_H 29 //44
108 #define BOX_TEXT_TOP_PADDING 15
109 #define BOX_ICON_TOP_PADDING 20
110
111
112 #define BOX_COLOR_BG QP_THEME_ITEM_BG_COLOR
113 #define BOX_COLOR_BG_HIGHLIGHT QP_THEME_ITEM_BG_PRESS_COLOR
114 #define BOX_COLOR_BG_HIGHLIGHT_DIM QP_THEME_ITEM_BG_PRESS_DIM_COLOR
115 #define BOX_WIDTH_P 224 //340
116 #define BOX_HEIGHT_P 183 //278
117 #define BOX_WIDTH_L 269 //408
118 #define BOX_HEIGHT_L 183 //278
119
120 #define BOX_MARGIN_L_TEXT_H 10 //16
121 #define BOX_MARGIN_R_TEXT_H 6 //10
122 #define BOX_TEXT_CONTENTS_HEIGHT 25 //38
123 #define BOX_TEXT_INFO_HEIGHT 25 //38
124 #define BOX_TEXT_SUB_PADDING_WIDTH -2 //-3
125
126 #endif  /*__QUICKPANEL_EDC_DEF_H__*/