Revert "edc: indicator paddings and scover code removed."
[apps/core/preloaded/indicator-win.git] / inc / indicator_gui.h
1 /*
2  *  Indicator
3  *
4  * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  */
19
20
21 #ifndef __INDICATOR_GUI_H__
22 #define __INDICATOR_GUI_H__
23
24 /* DISPLAY */
25 #define INDICATOR_HEIGHT 36
26 #define INDICATOR_SIMPLE_HEIGHT 20
27 #define ICON_PADDING            3
28
29 #define PADDING_WIDTH           10
30 #define LEFT_PADDING_WIDTH      3
31 #define RIGHT_PADDING_WIDTH     6
32 #define INDICATOR_PADDING_H 4
33
34
35 #define CLOCK_WIDTH_1   110
36 #define CLOCK_WIDTH_2   120
37
38 #define CLOCK_HEIGHT    34
39 #define CLOCK_PADDING   10
40
41 #define DEFAULT_ICON_PADDING 3
42 #define NOTI_ICON_PADDING 2
43
44 #define DEFAULT_ICON_HEIGHT     31
45 #define DEFAULT_ICON_WIDTH      31
46 #define BATTERY_ICON_WIDTH      31
47 #define BATTERY_ICON_HEIGHT     31
48 #define FIXED4_ICON_HEIGHT      31
49 #define FIXED4_ICON_WIDTH       31
50
51 #define BATTERY_DIGIT_WIDTH 8
52 #define BATTERY_DIGIT_HEIGHT 12
53
54 #define MESSAGE_PADDING 10
55
56 #define NONFIXED_DEFAULT_PADDING 25
57 #define NONFIXED_DYNAMIC_PADDING 11
58 #define FIXED4_DYNAMIC_PADDING 0
59 #define FIXED2_PADDING  2
60 #define FIXED1_PADDING 72
61 #define FIXED0_PADDING 72
62 #define LANDSCAPE_FIXED1_PADDING 122
63 #define LANDSCAPE_FIXED0_PADDING 122
64
65 #define HOME_PADDING_PORTRAIT 50
66 #define HOME_PADDING_LANDSCAPE 50
67 #define DEFAULT_NON_FIXED_PADDING 0
68
69 #define INDI_DEFAULT_BG_COLOR 30 30 30 255
70 #define INDI_DEFAULT_BG_TRANSLUCENT 0 0 0 125
71 #define INDI_DEFAULT_BG_TRANSPARENT 0 0 0 0
72 #define INDI_DEFAULT_BG_TEST 255 0 0 150
73
74
75 /* FONT */
76 #define ICON_FONT_NAME          "Tizen"
77 #define ICON_FONT_STYLE         "Medium"
78 #define ICON_FONT_SIZE          20
79 #define FONT_COLOR              255, 255, 255, 255
80
81 #define INDICATOR_HIDE_TRIGER_H 30
82
83 #define DOWN_ANI_TIMER 0.3
84
85 #define INDICATOR_ICON_OPACITY 204      //80%
86
87 #define DEFAULT_LABEL_STRING    "<font_size=%d><color=#%02x%02x%02x%02x>%s</color></font_size>"
88 #define CUSTOM_LABEL_STRING             "<font=%s><style=%s><font_size=%d>%s</font_size></style></font>"
89
90 #ifndef _INDICATOR_REMOVE_SEARCH
91 #define _INDICATOR_REMOVE_SEARCH
92 #endif
93 #endif /*__INDICATOR_GUI_H__*/