Make TIZEN 2.0
[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 group {
18         name: "end-confcall";
19         parts {
20                 part { name: "background";
21                         type: RECT;
22                         description {
23                                 state: "default" 0.0;
24                                 color: COLOR_DEFAULT;
25                         }
26                 }
27                 part { name: "swl_cid_background";
28                         type: SWALLOW;
29                         description {
30                                 state: "default" 0.0;
31                                 rel1 { relative: INCALL_BACKGROUND_CID_L INCALL_BACKGROUND_CID_T; to: "background";}
32                                 rel2 { relative: INCALL_BACKGROUND_CID_R INCALL_BACKGROUND_CID_B; to: "background";}
33                         }
34                 }
35
36                 part { name: "call_bg_img";
37                         type: SWALLOW;
38                         mouse_events: 0;
39                         description {
40                                 state: "default" 0.0;
41                                 rel1 { relative: 0 0; to: "background";}
42                                 rel2 { relative: 1 1; to: "background";}
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: "caller_info";
82                         type: SWALLOW;
83                         scale: 1;
84                         description {
85                                 state: "default" 0.0;
86                                 visible: 1;
87                                 rel1 { relative: CALLER_INFO_L CALLER_INFO_T; to: "background";}
88                                 rel2 { relative: CALLER_INFO_R CALLER_INFO_B; to: "background";}
89                         }
90                 }
91
92                 part { name: "btn_hold_swap";
93                         type: SWALLOW;
94                         scale: 1;
95                         description {
96                                 state: "default" 0.0;
97                                 rel1 { relative: INCALL_HOLD_L INCALL_HOLD_T; to: "background";}
98                                 rel2 { relative: INCALL_HOLD_R INCALL_HOLD_B; to: "background";}
99                         }
100                 }
101
102                 part { name: "txt_hold_swap";
103                         type: TEXT;
104                         effect: SHADOW;
105                         scale: 1;
106                         description {
107                                 state: "default" 0.0;
108                                 rel1 { relative: INCALL_HOLD_TXT_L INCALL_HOLD_TXT_T; to: "background";}
109                                 rel2 { relative: INCALL_HOLD_TXT_R INCALL_HOLD_TXT_B; to: "background";}
110                                 text { font, FONT_SLP_Roman; size, 26; align, 0.0 0.5; text_class, TEXT_CLASS_SLP_ROMAN; }
111                                 color: 204 204 204 255;
112                                 color2: 0 0 0 255;
113                         }
114                 }
115
116                 part { name: "btn_bg";
117                         type: SWALLOW;
118                         scale: 1;
119                         description {
120                                 state: "default" 0.0;
121                                 rel1 { relative: SIX_BTN_LAYOUT_L SIX_BTN_LAYOUT_T; to: "background";}
122                                 rel2 { relative: SIX_BTN_LAYOUT_R SIX_BTN_LAYOUT_B; to: "background";}
123                         }
124                 }
125
126                 part { name: "btn_region";
127                         type: SWALLOW;
128                         scale: 1;
129                         description {
130                                 state: "default" 0.0;
131                                 rel1 { relative: 0 0; to: "btn_bg"; }
132                                 rel2 { relative: 1 1; to: "btn_bg"; }
133                         }
134                 }
135
136         }
137                         
138         programs {
139                 program { name: "hide_dim_cid";
140                         signal: "HIDE_DIM";
141                         source: "CID";
142                         action: STATE_SET "default" 0.0;
143                         target: "swl_cid_dim";
144                 }
145                 program { name: "show_dim_cid_wvga";
146                         signal: "SHOW_DIM_WVGA";
147                         source: "CID_WVGA";
148                         action: STATE_SET "wvga" 0.0;
149                         target: "swl_cid_dim";
150                 }
151                 program { name: "show_dim_cid_hd";
152                         signal: "SHOW_DIM_HD";
153                         source: "CID_HD";
154                         action: STATE_SET "hd" 0.0;
155                         target: "swl_cid_dim";
156                 }
157         }
158 }