tizen 2.4 release
[apps/home/starter.git] / lock_pwd / res / edje / lock_pwd.edc
1 /*
2  * Copyright (c) 2009-2014 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 #define WIN_WIDTH 720
18 #define WIN_HEIGHT 1280
19
20 #define INDICATOR_HEIGHT 52
21
22 /* simple password */
23 #define HELP_TEXT_AREA_HEIGHT 398
24 #define KEYPAD_AREA_HEIGHT 592
25 #define CONTROL_AREA_HEIGHT 184
26
27 #define NUMBER_PANEL_DOT_WIDTH 32
28 #define NUMBER_PANEL_DOT_HEIGHT NUMBER_PANEL_DOT_WIDTH
29 #define NUMBER_PANEL_PADDING_LEFT 144
30 #define NUMBER_PANEL_PADDING_RIGHT NUMBER_PANEL_PADDING_LEFT
31 #define NUMBER_PANEL_WIDTH 96
32 #define NUMBER_PANEL_HEIGHT NUMBER_PANEL_WIDTH
33 #define NUMBER_PANEL_PADDING 16
34
35 #define NUMBER_KEYPAD_PANEL_WIDTH       WIN_WIDTH
36 #define NUMBER_KEYPAD_PANEL_HEIGHT      WIN_HEIGHT
37 #define NUMBER_KEYPAD_BUTTON_WIDTH      (WIN_WIDTH/3)
38 #define NUMBER_KEYPAD_BUTTON_HEIGHT     (KEYPAD_AREA_HEIGHT/4)
39 #define NUMBER_KEYPAD_BUTTON_PAD_Y      10
40
41 #define NUMBER_KEYPAD_REL_W(x)         ((x)/NUMBER_KEYPAD_PANEL_WIDTH)
42 #define NUMBER_KEYPAD_REL_H(y)         ((y)/NUMBER_KEYPAD_PANEL_HEIGHT)
43 #define NUMBER_KEYPAD_BUTTON_REL_W(x)  ((x)/NUMBER_KEYPAD_BUTTON_WIDTH)
44 #define NUMBER_KEYPAD_BUTTON_REL_H(y)  ((y)/NUMBER_KEYPAD_BUTTON_HEIGHT)
45
46 #define NUMBER_KEYPAD_NUM_SIZE 72
47 #define NUMBER_KEYPAD_NUM_TEXT_SIZE 29
48
49 /* simple password - button pressed color */
50 #define LOCK_TEXT_COLOR         245 245 245 255
51 #define LOCK_TEXT_COLOR2                0 0 0 0
52 #define LOCK_TEXT_COLOR3                0 0 0 178
53 #define BUTTON_PRESSED_COLOR            179 179 179 179
54
55 /* complex password */
56 #define LINE_COLOR "AO021"
57 #define LINE_SHADOW_COLOR "AO017"
58 #define INFO_FONT_COLOR "ATO033"
59 #define PASS_FONT_COLOR "ATO035"
60 #define PASS_FONT_SIZE 43
61 #define INFO_FONT_SIZE 30
62
63 #define IME_RESIZED 1
64 #define IME_DOWN 2
65
66 #define RETURN_TO_CALL_HEIGHT 46
67 #define RETURN_TO_CALL_ICON_SIZE 46
68
69
70 collections {
71         base_scale: 2.6;
72
73 #include "lock_pwd_simple.edc"
74 #include "lock_pwd_complex.edc"
75 #include "lock_pwd_control_panel.edc"
76
77         group {
78                 name: "lock_pwd";
79                 parts {
80                         part {
81                                 name: "bg";
82                                 type: SPACER;
83                                 description {
84                                         state: "default" 0.0;
85                                         rel1 { relative: 0.0 0.0; }
86                                         rel2 { relative: 1.0 1.0; }
87                                 }
88                         }
89                         part {
90                                 name: "sw.bg";
91                                 type: SWALLOW;
92                                 description {
93                                         state: "default" 0.0;
94                                         rel1 { to: "bg"; }
95                                         rel2 { to: "bg"; }
96                                 }
97                         }
98                         part {
99                                 name: "dim.bg";
100                                 type: RECT;
101                                 description {
102                                         state: "default" 0.0;
103                                         color: 20 20 20 100;
104                                         rel1 { to: "bg"; }
105                                         rel2 { to: "bg"; }
106                                 }
107                         }
108                         part {
109                                 name: "sw.lock_pwd";
110                                 type: SWALLOW;
111                                 description {
112                                         state: "default" 0.0;
113                                         rel1 { to: "bg"; }
114                                         rel2 { to: "bg"; }
115                                 }
116                         }
117                 }
118         }
119
120 }