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