4a7aaf550961cfa2a7ace22e59a2d2929895d1ef
[apps/home/call.git] / ui / call_edc / vcui-view-incoming.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: "mt-view";
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: DIALLING_BACKGROUND_CID_L DIALLING_BACKGROUND_CID_T; to: "background";}
34                                 rel2 { relative: DIALLING_BACKGROUND_CID_R DIALLING_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_calling_name_bg";
47                         type: SWALLOW;
48                         description {
49                                 state: "default" 0.0;
50                                 rel1 { relative: MT_CALLING_BG_L MT_CALLING_BG_T; to: "background";}
51                                 rel2 { relative: MT_CALLING_BG_R MT_CALLING_BG_B; to: "background";}
52                         }
53                 }
54                            
55                 part { name: "txt_call_name"; // call name or number
56                         type: TEXT;
57                         effect: SHADOW;
58                         scale: 1;
59                         description {
60                                 state: "default" 0.0;
61                                 rel1 { relative: DIALLING_NAME_L DIALLING_NAME_T;to: "background";}
62                                 rel2 { relative: DIALLING_NAME_R DIALLING_NAME_B;to: "background";  }                           
63                                 text { font, FONT_SLP_Roman; size, 76; align, 0.5 0.5; }
64                                 color: 255 255 255 255;
65                                 color2: 0 0 0 255;
66                         }
67                 }
68
69                 part { name: "txt_contact_phone_type"; // contact phone type -> call number
70                         type: TEXT;
71                         effect: SHADOW;
72                         scale: 1;
73                         description {
74                                 state: "default" 0.0;
75                                 rel1 { relative: DIALLING_NUMBER_L DIALLING_NUMBER_T; to: "background"; }
76                                 rel2 { relative: DIALLING_NUMBER_R DIALLING_NUMBER_B;to: "background";  }                               
77                                 text { font, FONT_SLP_Roman; size, 48; align, 0.5 0.5; }
78                                 color: 255 255 255 255;
79                                 color2: 0 0 0 255;
80                         }
81                 }
82
83                 part { name: "swl_cid";
84                         type: SWALLOW;
85                         description {
86                                 state: "default" 0.0;
87                                 rel1 { relative: DIALLING_CID_L DIALLING_CID_T; }
88                                 rel2 { relative: DIALLING_CID_R DIALLING_CID_B; }
89                         }
90                 }
91                 
92                 /*
93                 part { name: "txt_mt_status"; // Voice call
94                         type: TEXT;
95                         effect: SHADOW;
96                         scale: 1;
97                         description {
98                                 state: "default" 0.0;
99                                 rel1 { relative: DIALLING_MT_STATUS_L DIALLING_MT_STATUS_T;to: "background";}
100                                 rel2 { relative: DIALLING_MT_STATUS_R DIALLING_MT_STATUS_B;to: "background";  }                         
101                                 text { font, FONT_SLP_Roman; size, 48; align, 0.5 0.5; }
102                                 color: 255 255 255 255;
103                                 color2: 0 0 0 255;
104                         }
105                 }
106                 */
107                 
108                 part { name: "btn_accept";
109                         type: SWALLOW;
110                         scale: 1;
111                         description {
112                                 state: "default" 0.0;
113                                 rel1 { relative: DIALLING_MT_BTN1_L DIALLING_MT_BTN1_T; to: "background";}
114                                 rel2 { relative: DIALLING_MT_BTN1_R DIALLING_MT_BTN1_B; to: "background";}
115                         }
116                 }               
117                 part { name: "btn_reject";
118                         type: SWALLOW;
119                         scale: 1;
120                         description {
121                                 state: "default" 0.0;
122                                 rel1 { relative: DIALLING_MT_BTN2_L DIALLING_MT_BTN2_T; to: "background";}
123                                 rel2 { relative: DIALLING_MT_BTN2_R DIALLING_MT_BTN2_B; to: "background";}
124                         }
125                 }
126
127                 part { name: "btn_incoming1";
128                         type: SWALLOW;
129                         scale: 1;
130                         description {
131                                 state: "default" 0.0;
132                                 rel1 { relative: SIX_BTN_INCOMING_1_L SIX_BTN_INCOMING_1_T; to: "background";}
133                                 rel2 { relative: SIX_BTN_INCOMING_1_R SIX_BTN_INCOMING_1_B; to: "background";}
134                         }
135                 }                       
136                 part { name: "btn_incoming2";
137                         type: SWALLOW;
138                         scale: 1;
139                         description {
140                                 state: "default" 0.0;
141                                 rel1 { relative: SIX_BTN_INCOMING_2_L SIX_BTN_INCOMING_2_T; to: "background";}
142                                 rel2 { relative: SIX_BTN_INCOMING_2_R SIX_BTN_INCOMING_2_B; to: "background";}
143                         }
144                 }                       
145                 part { name: "btn_incoming3";
146                         type: SWALLOW;
147                         scale: 1;
148                         description {
149                                 state: "default" 0.0;
150                                 rel1 { relative: SIX_BTN_INCOMING_3_L SIX_BTN_INCOMING_3_T; to: "background";}
151                                 rel2 { relative: SIX_BTN_INCOMING_3_R SIX_BTN_INCOMING_3_B; to: "background";}
152                         }
153                 }                       
154                 part { name: "btn_incoming4";
155                         type: SWALLOW;
156                         scale: 1;
157                         description {
158                                 state: "default" 0.0;
159                                 rel1 { relative: SIX_BTN_BIG_END_L SIX_BTN_BIG_END_T; to: "background";}
160                                 rel2 { relative: SIX_BTN_BIG_END_R SIX_BTN_BIG_END_B; to: "background";}
161                         }
162                 }                   
163             }//parts
164
165             programs{
166
167               program { name: "init";
168                         signal: "INIT";
169                         source: "PROG";
170                         action: STATE_SET "default" 0.0;
171                         target: "background";
172                         target: "swl_cid";
173                         target: "swl_cid_background";
174                 }
175           }
176
177     }