Make TIZEN 2.0
[apps/home/call.git] / ui / call_edc / vcui-view-quick-pannel.edc
1 /*
2  * Copyright 2012  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://www.tizenopensource.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
17 group {
18         name: "quickpanel";
19
20         parts {
21
22                 part { name: "background";
23                         type: RECT;
24                         description {
25                                 state: "default" 0.0;
26                                 color: 20 20 20 255;
27                         }
28                 }
29
30                 part { name: "swl_cid";
31                         type: SWALLOW;
32                         description {
33                                 state: "default" 0.0;
34                                 rel1 { relative: CALL_QUICKPANEL_CID_L CALL_QUICKPANEL_CID_T; to: "background";}
35                                 rel2 { relative: CALL_QUICKPANEL_CID_R CALL_QUICKPANEL_CID_B; to: "background";}
36                         }
37                 }
38
39                 part { name: "btn_left";
40                         type: SWALLOW;
41                         scale: 1;
42                         description {
43                                 state: "default" 0.0;
44                                 fixed: 1 1;
45                                 rel1 { relative: CALL_QUICKPANEL_BTN_MUTE_L CALL_QUICKPANEL_BTN_MUTE_T; to: "background";}
46                                 rel2 { relative: CALL_QUICKPANEL_BTN_MUTE_R CALL_QUICKPANEL_BTN_MUTE_B; to: "background";}
47                         }
48                         description {
49                                 state: "hide" 0.0;
50                                 inherit: "default" 0.0;
51                                 visible: 0;
52                         }
53                 }
54
55                 part { name: "btn_right";
56                         type: SWALLOW;
57                         scale: 1;
58                         description {
59                                 state: "default" 0.0;
60                                 fixed: 1 1;
61                                 rel1 { relative: CALL_QUICKPANEL_BTN_END_L CALL_QUICKPANEL_BTN_END_T; to: "background";}
62                                 rel2 { relative: CALL_QUICKPANEL_BTN_END_R CALL_QUICKPANEL_BTN_END_B; to: "background";}
63                         }
64                         description {
65                                 state: "hide" 0.0;
66                                 inherit: "default" 0.0;
67                                 visible: 0;
68                         }
69                 }
70
71                 part { name: "txt_area";
72                         type: RECT;
73                         effect: SHADOW;
74                         scale: 1;
75                         description {
76                                 state: "default" 0.0;
77                                 visible: 0;
78                                 rel1 { relative: CALL_QUICKPANEL_NAME_L CALL_QUICKPANEL_NAME_T; to: "background";}
79                                 rel2 { relative: CALL_QUICKPANEL_NAME_R CALL_QUICKPANEL_NAME_B;  to: "background";}
80                         }
81                 }
82
83                 part { name: "txt_call_name";
84                         type: TEXT;
85                         effect: SHADOW;
86                         scale: 1;
87                         description {
88                                 state: "default" 0.0;
89                                 rel1 { relative: 0 0; to: "txt_area";}
90                                 rel2 { relative: 0 1;  to: "txt_padding";}
91                                 max: QP_NAME_WIDTH QP_NAME_HEIGHT;
92                                 min: QP_STR_MIN_WIDTH QP_NAME_HEIGHT;
93                                 fixed: 0 1;
94                                 align: 0 0;
95                                 text { font, FONT_SLP_Regular; size, 32; align: 0 0.5; text_class, TEXT_CLASS_SLP_ROMAN; }
96                                 color: 249 249 249 255;
97                                 color2: 0 0 0 128;
98                         }
99                 }
100
101                 part { name: "txt_padding";
102                         type: RECT;
103                         scale: 1;
104                         description {
105                                 state: "default" 0.0;
106                                 fixed: 1 0;
107                                 min: QP_CID_L_PAD 0;
108                                 align: 1 0;
109                                 visible: 0;
110                                 rel1 { relative: 0 0; to: "txt_timer";}
111                                 rel2 { relative: 0 1; to: "txt_timer";}
112                         }
113                 }
114
115                 part { name: "txt_timer";
116                         type: TEXT;
117                         effect: SHADOW;
118                         scale: 1;
119                         description {
120                                 state: "default" 0.0;
121                                 rel1 { relative: 1.0 0; to: "txt_area";}
122                                 rel2 { relative: 1.0 1;  to: "txt_area";}
123                                 max: QP_NAME_WIDTH QP_NAME_HEIGHT;
124                                 min: QP_STR_MIN_WIDTH QP_NAME_HEIGHT;
125                                 fixed: 0 1;
126                                 align: 1 0;
127                                 text { font, FONT_SLP_Regular; size, 32; align: 1 0.5; min: 1 0; text_class, TEXT_CLASS_SLP_ROMAN; }
128                                 color: 98 161 22 255;
129                                 color2: 0 0 0 191;
130                         }
131                 }
132         }
133 }