2 * Copyright (c) 2009-2014 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
20 name: "btn_text_style";
21 base: "font=Tizen:style=Regular color=#FFFFFF font_size=32 wrap=none align=center";
26 name: "lock-control-panel";
28 image: "event_close_bg.#.png" COMP;
43 rel1 { relative: 0.0 0.0; to: "bg"; }
44 rel2 { relative: 1.0 0.0; to: "bg"; }
52 rel1 { relative: 0.0 0.0; to: "bg"; }
53 rel2 { relative: 38/WIN_WIDTH 1.0; to: "bg"; }
57 name: "padding.right";
61 rel1 { relative: (WIN_WIDTH-50)/WIN_WIDTH 0.0; to: "bg"; }
62 rel2 { relative: 1.0 1.0; to: "bg"; }
66 name: "padding.bottom";
70 rel1 { relative: 0.0 (CONTROL_AREA_HEIGHT-42)/CONTROL_AREA_HEIGHT; to: "bg"; }
71 rel2 { relative: 1.0 1.0; to: "bg"; }
77 name: "sw.btn.return_to_call";
84 rel1 { relative: 1.0 0.0; to_x: "padding.left"; to_y: "padding.btn"; }
85 rel2 { relative: 0.0 0.0; to_x: "btn.cancel"; to_y: "padding.btn"; }
98 rel1 { relative: 0.0 0.0; to_x: "bg"; to_y: "sw.btn.plmn"; }
99 rel2 { relative: 1.0 0.0; to_x: "bg"; to_y: "sw.btn.plmn"; }
109 state: "default" 0.0;
112 rel1 { relative: 1.0 0.0; to_x: "padding.left"; to_y: "padding.bottom"; }
113 rel2 { relative: 0.0 0.0; to_x: "btn.cancel"; to_y: "padding.bottom"; }
119 name: "rect.cancel.btn";
122 state: "default" 0.0;
124 rel1 { to: "txt.cancel"; }
125 rel2 { to: "txt.cancel"; }
134 state: "default" 0.0;
136 rel1 { relative: 0.0 0.0; to_x: "padding.right"; to_y: "padding.bottom"; }
137 rel2 { relative: 0.0 0.0; to_x: "padding.right"; to_y: "padding.bottom"; }
139 style: "btn_text_style";
151 state: "default" 0.0;
153 rel1 { to: "txt.cancel"; offset: -10 0; }
154 rel2 { to: "txt.cancel"; offset: 10 0; }
156 normal: "event_close_bg.#.png";
158 color: 100 100 100 100;
162 inherit: "default" 0.0;
167 inherit: "default" 0.0;
168 color: 178 178 178 178;
172 name: "btn.cancel.block";
177 state: "default" 0.0;
178 rel1 { to: "btn.cancel"; }
179 rel2 { to: "btn.cancel"; }
185 inherit: "default" 0.0;
192 signal: "btn,cancel,enable";
194 action: STATE_SET "default" 0.0;
195 target: "btn.cancel.block";
196 target: "btn.cancel";
199 signal: "btn,cancel,disable";
201 action: STATE_SET "show" 0.0;
202 target: "btn.cancel.block";
203 target: "btn.cancel";
206 name: "btn,cancel,press";
207 signal: "mouse,down,1";
208 source: "btn.cancel";
209 action: STATE_SET "press" 0.0;
210 target: "btn.cancel";
213 name: "btn,cancel,release";
214 signal: "mouse,up,1";
215 source: "btn.cancel";
216 action: STATE_SET "default" 0.0;
217 target: "btn.cancel";
220 name: "btn,cancel,clicked";
221 signal: "mouse,clicked,1";
222 source: "btn.cancel";
223 action: SIGNAL_EMIT "btn,cancel,clicked" "btn.cancel";
229 name: "btn-return-to-call";
231 image: "ls_icon_call.png" COMP;
238 state: "default" 0.0;
242 name: "img.call.icon";
246 state: "default" 0.0;
248 min: RETURN_TO_CALL_ICON_SIZE RETURN_TO_CALL_ICON_SIZE;
249 max: RETURN_TO_CALL_ICON_SIZE RETURN_TO_CALL_ICON_SIZE;
250 rel1 { relative: 0.0 0.0; to: "bg"; }
251 rel2 { relative: 0.0 0.0; to: "bg"; }
253 normal: "ls_icon_call.png";
258 name: "padding.icon";
262 state: "default" 0.0;
264 min: 10 RETURN_TO_CALL_HEIGHT;
265 max: 10 RETURN_TO_CALL_HEIGHT;
266 rel1 { relative: 1.0 0.0; to_x: "img.call.icon"; to_y: "bg"; }
267 rel2 { relative: 1.0 1.0; to_x: "img.call.icon"; to_y: "bg"; }
271 name: "txt.return_to_call";
275 state: "default" 0.0;
277 rel1 { relative: 1.0 0.0; to_x: "padding.icon"; to_y: "bg"; }
278 rel2 { relative: 1.0 1.0; to_x: "padding.icon"; to_y: "bg"; }
280 style: "btn_text_style";
284 text: "Return to call";
289 name: "btn.return_to_call";
294 state: "default" 0.0;
297 rel1 { relative: 0.0 0.0; to_x: "img.call.icon"; to_y: "bg"; }
298 rel2 { relative: 1.0 1.0; to_x: "txt.return_to_call"; to_y: "bg"; }
302 inherit: "default" 0.0;
309 name: "btn,return_to_call,press";
310 signal: "mouse,down,1";
311 source: "btn.return_to_call";
312 action: STATE_SET "press" 0.0;
313 target: "btn.return_to_call";
316 name: "btn,return_to_call,release";
317 signal: "mouse,up,1";
318 source: "btn.return_to_call";
319 action: STATE_SET "default" 0.0;
320 target: "btn.return_to_call";
323 name: "btn,return_to_call,clicked";
324 signal: "mouse,clicked,1";
325 source: "btn.return_to_call";
326 action: SIGNAL_EMIT "btn,return_to_call,clicked" "btn.return_to_call";