Make TIZEN 2.0
[apps/home/call.git] / ui / call_edc / vcui-view-multi-call-conf.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: "multicall-conf";
19     parts {
20                 part { name: "background";
21                         type: RECT;
22                         description {
23                                 state: "default" 0.0;
24                                 color: COLOR_DEFAULT;
25                         }
26                 }
27
28                 part { name: "swl_cid_background";
29                         type: SWALLOW;
30                         description {
31                                 state: "default" 0.0;
32                                 rel1 { relative: INCALL_BACKGROUND_CID_L INCALL_BACKGROUND_CID_T; to: "background";}
33                                 rel2 { relative: INCALL_BACKGROUND_CID_R INCALL_BACKGROUND_CID_B; to: "background";}
34                         }
35                 }
36
37                 part { name: "call_bg_img";
38                         type: SWALLOW;
39                         mouse_events: 0;
40                         description {
41                                 state: "default" 0.0;
42                                 rel1 { relative: 0 0; to: "background";}
43                                 rel2 { relative: 1 1; to: "background";}
44                         }
45                 }
46                 
47                 part { name: "swl_cid";
48                         type: SWALLOW;
49                         description {
50                                 state: "default" 0.0;
51                                 rel1 { relative: INCALL_CID_L INCALL_CID_T; }
52                                 rel2 { relative: INCALL_CID_R INCALL_CID_B; }
53                         }
54                 }
55
56                 part { name: "swl_cid_dim"; /*for held call dim*/
57                         type: RECT;
58                         scale: 1;               
59                         mouse_events: 1;
60                         repeat_events: 1;                       
61                         description {
62                                 state: "default" 0.0;
63                                 visible: 0;                             
64                                 color: COLOR_BG_FOR_HELD_CALL_DIM;
65                         }
66                         description {
67                                 state: "wvga" 0.0;
68                                 inherit: "default" 0.0;
69                                 visible: 1;
70                                 rel1 { relative: 0.0 0.0; offset: 6 0; to: "swl_cid";}
71                                 rel2 { relative: 1.0 1.0; offset: -6 0; to: "swl_cid";}
72                         }
73                         description {
74                                 state: "hd" 0.0;
75                                 inherit: "default" 0.0;
76                                 visible: 1;
77                                 rel1 { relative: 0.0 0.0; to: "swl_cid";}
78                                 rel2 { relative: 1.0 1.0; to: "swl_cid";}
79                         }
80                 }
81
82                 part { name: "caller_info";
83                         type: SWALLOW;
84                         scale: 1;
85                         description {
86                                 state: "default" 0.0;
87                                 visible: 1;
88                                 rel1 { relative: CALLER_INFO_L CALLER_INFO_T; to: "background";}
89                                 rel2 { relative: CALLER_INFO_R CALLER_INFO_B; to: "background";}
90                         }
91                         description {
92                                 state: "show" 0.0;
93                                 inherit: "default" 0.0;
94                                 visible: 1;
95                         }
96                         description {
97                                 state: "hide" 0.0;
98                                 inherit: "default" 0.0;
99                                 visible: 0;
100                         }
101                 }
102
103                 part { name: "btn_hold_swap";
104                         type: SWALLOW;
105                         scale: 1;
106                         description {
107                                 state: "default" 0.0;
108                                 rel1 { relative: INCALL_HOLD_L INCALL_HOLD_T; to: "background";}
109                                 rel2 { relative: INCALL_HOLD_R INCALL_HOLD_B; to: "background";}
110                         }
111                         description {
112                                 state: "show" 0.0;
113                                 inherit: "default" 0.0;
114                                 visible: 1;
115                         }
116                         description {
117                                 state: "hide" 0.0;
118                                 inherit: "default" 0.0;
119                                 visible: 0;
120                         }
121                 }
122
123                 part { name: "txt_hold_swap";
124                         type: TEXT;
125                         effect: SHADOW;
126                         scale: 1;
127                         description {
128                                 state: "default" 0.0;
129                                 rel1 { relative: INCALL_HOLD_TXT_L INCALL_HOLD_TXT_T; to: "background";}
130                                 rel2 { relative: INCALL_HOLD_TXT_R INCALL_HOLD_TXT_B; to: "background";}
131                                 text { font, FONT_SLP_Roman; size, 26; align, 0.0 0.5; text_class, TEXT_CLASS_SLP_ROMAN; }
132                                 color: 204 204 204 255;
133                                 color2: 0 0 0 255;
134                         }
135                         description {
136                                 state: "show" 0.0;
137                                 inherit: "default" 0.0;
138                                 visible: 1;
139                         }
140                         description {
141                                 state: "hide" 0.0;
142                                 inherit: "default" 0.0;
143                                 visible: 0;
144                         }
145                 }
146
147                 part { name: "btn_bg";
148                         type: SWALLOW;
149                         scale: 1;
150                         description {
151                                 state: "default" 0.0;
152                                 rel1 { relative: SIX_BTN_LAYOUT_L SIX_BTN_LAYOUT_T; to: "background";}
153                                 rel2 { relative: SIX_BTN_LAYOUT_R SIX_BTN_LAYOUT_B; to: "background";}
154                         }
155                 }
156
157                 part { name: "btn_region";
158                         type: SWALLOW;
159                         scale: 1;
160                         description {
161                                 state: "default" 0.0;
162                                 rel1 { relative: 0 0; to: "btn_bg"; }
163                                 rel2 { relative: 1 1; to: "btn_bg"; }
164                         }
165                 }
166
167                 part { name: "keypad_region";
168                         type: SWALLOW;
169                         scale: 1;
170                         description {
171                                 state: "default" 0.0;
172                                 visible: 0;
173                                 rel1 { relative: KEYPAD_AREA_L KEYPAD_AREA_T; to: "background";}
174                                 rel2 { relative: KEYPAD_AREA_R KEYPAD_AREA_B; to: "background";}
175                         }
176                         description {
177                                 state: "show" 0.0;
178                                 inherit: "default" 0.0;
179                                 visible: 1;
180                         }
181                         description {
182                                 state: "hide" 0.0;
183                                 inherit: "default" 0.0;
184                                 visible: 0;
185                         }
186                 }
187
188      }//parts
189                         
190         programs {
191                 program { name: "hide_dim_cid";
192                         signal: "HIDE_DIM";
193                         source: "CID";
194                         action: STATE_SET "default" 0.0;
195                         target: "swl_cid_dim";
196                 }
197                 program { name: "show_dim_cid_wvga";
198                         signal: "SHOW_DIM_WVGA";
199                         source: "CID_WVGA";
200                         action: STATE_SET "wvga" 0.0;
201                         target: "swl_cid_dim";
202                 }
203                 program { name: "show_dim_cid_hd";
204                         signal: "SHOW_DIM_HD";
205                         source: "CID_HD";
206                         action: STATE_SET "hd" 0.0;
207                         target: "swl_cid_dim";
208                 }
209
210                 program { name: "show_keypadbtn";
211                         signal: "SHOW";
212                         source: "KEYPAD_BTN";
213                         action: STATE_SET "show" 0.0;
214                         target: "keypad_region";
215                 }
216                 program { name: "hide_keypadbtn";
217                         signal: "HIDE";
218                         source: "KEYPAD_BTN";
219                         action: STATE_SET "hide" 0.0;
220                         target: "keypad_region";
221                 }
222
223                 program { name: "show_after_keypad";
224                         signal: "SHOW";
225                         source: "CALL_AREA";
226                         action: STATE_SET "show" 0.0;
227                         target: "caller_info";
228                         target: "btn_hold_swap";
229                         target: "txt_hold_swap";
230                 }
231                 program { name: "hide_caller_info";
232                         signal: "HIDE";
233                         source: "CALL_AREA";
234                         action: STATE_SET "hide" 0.0;
235                         target: "caller_info";
236                         target: "btn_hold_swap";
237                         target: "txt_hold_swap";
238                 }
239         }
240 }