f6a1c7af64950999e4ce56a9a6fbbed968109ed9
[apps/home/call.git] / ui / call_edc / vcui-view-end-conf-call.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
18 group {
19         name: "end-confcall";
20         parts {
21                 part { name: "background";
22                         type: RECT;
23                         description {
24                                 state: "default" 0.0;
25                                 color: COLOR_DEFAULT;
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: "bg_alpha";
38                         type: RECT;
39                         description {
40                                 state: "default" 0.0;
41                                 color: COLOR_BG_ALPHA;
42                         }
43                 }
44
45                 part { name: "swl_cid";
46                         type: SWALLOW;
47                         description {
48                                 state: "default" 0.0;
49                                 rel1 { relative: INCALL_CID_L INCALL_CID_T; }
50                                 rel2 { relative: INCALL_CID_R INCALL_CID_B; }
51                         }
52                 }
53
54                 part { name: "swl_cid_dim"; /*for held call dim*/
55                         type: RECT;
56                         scale: 1;               
57                         mouse_events: 1;
58                         repeat_events: 1;                       
59                         description {
60                                 state: "default" 0.0;
61                                 visible: 0;                             
62                                 color: COLOR_BG_FOR_HELD_CALL_DIM;
63                         }
64                         description {
65                                 state: "wvga" 0.0;
66                                 inherit: "default" 0.0;
67                                 visible: 1;
68                                 rel1 { relative: 0.0 0.0; offset: 6 0; to: "swl_cid";}
69                                 rel2 { relative: 1.0 1.0; offset: -6 0; to: "swl_cid";}
70                         }
71                         description {
72                                 state: "hd" 0.0;
73                                 inherit: "default" 0.0;
74                                 visible: 1;
75                                 rel1 { relative: 0.0 0.0; to: "swl_cid";}
76                                 rel2 { relative: 1.0 1.0; to: "swl_cid";}
77                         }
78                 }
79
80                 part { name: "txt_call_name"; /*call name or number*/
81                         type: TEXT;
82                         effect: SHADOW;
83                         scale: 1;
84                         description {
85                                 state: "default" 0.0;
86                                 rel1 { relative: INCALL_NAME_L INCALL_NAME_T; }
87                                 rel2 { relative: INCALL_NAME_R INCALL_NAME_B;  }                                
88                                 text { font, FONT_SLP_Roman; size, 76; align, 0.5 0.5; }
89                                 color: 255 255 255 255;
90                                 color2: 0 0 0 255;
91                         }
92                 }
93
94                 part { name: "txt_contact_phone_type"; /*in case of multicallconf, it is num of people*/
95                         type: TEXT;
96                         effect: SHADOW;
97                         scale: 1;
98                         description {
99                                 state: "default" 0.0;
100                                 rel1 { relative: INCALL_NUMBER_L INCALL_NUMBER_T; }
101                                 rel2 { relative: INCALL_NUMBER_R INCALL_NUMBER_B;  }                            
102                                 text { font, FONT_SLP_Roman; size, 48; align, 0.5 0.5; }
103                                 color: 255 255 255 255;
104                                 color2: 0 0 0 255;
105                         }
106                 }
107
108                 part { name: "txt_timer";
109                         type: TEXT;
110                         effect: SHADOW;
111                         scale: 1;
112                         description {
113                                 state: "default" 0.0;
114                                 rel1 { relative: INCALL_TIMER_L INCALL_TIMER_T; }
115                                 rel2 { relative: INCALL_TIMER_R INCALL_TIMER_B; }                               
116                                 text { font, FONT_SLP_Roman; size, 48; align, 1.0 0.5; }
117                                 color: 255 255 255 255;
118                                 color2: 0 0 0 255;
119                         }
120                 }
121
122                 part { name: "btn_bigend";
123                         type: SWALLOW;
124                         scale: 1;
125                         description {
126                                 state: "default" 0.0;
127                                 rel1 { relative: SIX_BTN_BIG_END_L SIX_BTN_BIG_END_T; to: "background";}
128                                 rel2 { relative: SIX_BTN_BIG_END_R SIX_BTN_BIG_END_B; to: "background";}
129                         }
130                 }
131
132                 part { name: "btn_speaker";
133                         type: SWALLOW;
134                         scale: 1;
135                         description {
136                                 state: "default" 0.0;
137                                 rel1 { relative: SIX_BTN_1_L SIX_BTN_2_T; to: "background";}
138                                 rel2 { relative: SIX_BTN_1_R SIX_BTN_2_B; to: "background";}
139                         }
140                 }
141         }
142                         
143         programs {
144                 program { name: "hide_dim_cid";
145                         signal: "HIDE_DIM";
146                         source: "CID";
147                         action: STATE_SET "default" 0.0;
148                         target: "swl_cid_dim";
149                 }
150                 program { name: "show_dim_cid_wvga";
151                         signal: "SHOW_DIM_WVGA";
152                         source: "CID_WVGA";
153                         action: STATE_SET "wvga" 0.0;
154                         target: "swl_cid_dim";
155                 }
156                 program { name: "show_dim_cid_hd";
157                         signal: "SHOW_DIM_HD";
158                         source: "CID_HD";
159                         action: STATE_SET "hd" 0.0;
160                         target: "swl_cid_dim";
161                 }
162         }
163 }