Make TIZEN 2.0
[apps/home/call.git] / ui / call_edc / vcui-view-landscape-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-lscape";
19         parts {
20
21                 part { name: "background";
22                         type: RECT;
23                         description {
24                                 state: "default" 0.0;
25                                 color: 20 20 20 255;
26                         }
27                 }
28
29                 part { name: "swl_cid";
30                         type: SWALLOW;
31                         description {
32                                 state: "default" 0.0;
33                                 rel1 { relative: LSCAPE_QUICKPANEL_CID_L LSCAPE_QUICKPANEL_CID_T; to: "background";}
34                                 rel2 { relative: LSCAPE_QUICKPANEL_CID_R LSCAPE_QUICKPANEL_CID_B; to: "background";}
35                         }
36                 }
37
38                 part { name: "btn_left";
39                         type: SWALLOW;
40                         scale: 1;
41                         description {
42                                 state: "default" 0.0;
43                                 fixed: 1 1;
44                                 rel1 { relative: LSCAPE_QUICKPANEL_BTN_MUTE_L LSCAPE_QUICKPANEL_BTN_MUTE_T; to: "background";}
45                                 rel2 { relative: LSCAPE_QUICKPANEL_BTN_MUTE_R LSCAPE_QUICKPANEL_BTN_MUTE_B; to: "background";}
46                         }
47                 }
48
49                 part { name: "btn_right";
50                         type: SWALLOW;
51                         scale: 1;
52                         description {
53                                 state: "default" 0.0;
54                                 fixed: 1 1;
55                                 rel1 { relative: LSCAPE_QUICKPANEL_BTN_END_L LSCAPE_QUICKPANEL_BTN_END_T; to: "background";}
56                                 rel2 { relative: LSCAPE_QUICKPANEL_BTN_END_R LSCAPE_QUICKPANEL_BTN_END_B; to: "background";}
57                         }
58                 }
59
60                 part { name: "txt_area";
61                         type: RECT;
62                         effect: SHADOW;
63                         scale: 1;
64                         description {
65                                 state: "default" 0.0;
66                                 visible: 0;
67                                 rel1 { relative: LSCAPE_QUICKPANEL_NAME_L LSCAPE_QUICKPANEL_NAME_T; to: "background";}
68                                 rel2 { relative: LSCAPE_QUICKPANEL_NAME_R LSCAPE_QUICKPANEL_NAME_B;  to: "background";}
69                         }
70                 }
71
72                 part { name: "txt_call_name";
73                         type: TEXT;
74                         effect: SHADOW;
75                         scale: 1;
76                         description {
77                                 state: "default" 0.0;
78                                 rel1 { relative: 0 0; to: "txt_area";}
79                                 rel2 { relative: 0 1;  to: "txt_padding";}
80                                 max: LSCAPE_QP_NAME_WIDTH LSCAPE_QP_NAME_HEIGHT;
81                                 min: QP_STR_MIN_WIDTH LSCAPE_QP_NAME_HEIGHT;
82                                 fixed: 0 1;
83                                 align: 0 0;
84                                 text { font, FONT_SLP_Regular; size, 32; align: 0 0.5; text_class, TEXT_CLASS_SLP_ROMAN; }
85                                 color: 249 249 249 255;
86                                 color2: 0 0 0 128;
87                         }
88                 }
89
90                 part { name: "txt_padding";
91                         type: RECT;
92                         scale: 1;
93                         description {
94                                 state: "default" 0.0;
95                                 fixed: 1 0;
96                                 min: QP_CID_L_PAD 0;
97                                 align: 1 0;
98                                 visible: 0;
99                                 rel1 { relative: 0 0; to: "txt_timer";}
100                                 rel2 { relative: 0 1; to: "txt_timer";}
101                         }
102                 }
103
104                 part { name: "txt_timer";
105                         type: TEXT;
106                         effect: SHADOW;
107                         scale: 1;
108                         description {
109                                 state: "default" 0.0;
110                                 rel1 { relative: 1.0 0; to: "txt_area";}
111                                 rel2 { relative: 1.0 1;  to: "txt_area";}
112                                 max: LSCAPE_QP_NAME_WIDTH LSCAPE_QP_NAME_HEIGHT;
113                                 min: QP_STR_MIN_WIDTH LSCAPE_QP_NAME_HEIGHT;
114                                 fixed: 0 1;
115                                 align: 1 0;
116                                 text { font, FONT_SLP_Regular; size, 32; align: 1 0.5; min: 1 0; text_class, TEXT_CLASS_SLP_ROMAN; }
117                                 color: 98 161 22 255;
118                                 color2: 0 0 0 191;
119                         }
120                 }
121         }
122 }