2 * Copyright 2012 Samsung Electronics Co., Ltd
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
8 * http://www.tizenopensource.org/license
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.
18 #define DRAGLOCK_ARROW_RECT(pname, rel1x, rel2x)\
24 state: "default" 0.0;\
37 #define DRAGLOCK_ARROW_IMAGE(pname, rname)\
39 name: "arrow."#pname;\
43 state: "default" 0.0;\
54 image.normal: "RB07_icon_Unlock_arrow.png";\
59 inherit: "default" 0.0;\
60 image.normal: "RB07_icon_Unlock_arrow_press.png";\
65 #define DRAGLOCK_LOCK_PRESS_DESC(pstate, file)\
68 inherit: "default" 0.0;\
73 #define DRAGLOCK_LOCK_PRESS_PROC(pname)\
75 name: #pname".lock.r";\
77 source: "lock.image.r";\
78 action: STATE_SET #pname 0.0;\
79 target: "lock.image.r";\
83 name: "draglock-slide";
86 image: "RB07_Unlock_bg.png" COMP;
87 image: "RB07_Unlock_bg_press.png" COMP;
88 image: "RB07_icon_Unlock_01.png" COMP;
89 image: "RB07_icon_Unlock_02.png" COMP;
90 image: "RB07_icon_Unlock_arrow.png" COMP;
91 image: "RB07_icon_Unlock_arrow_press.png" COMP;
92 image: "RB07_icon_Unlock_press_01.png" COMP;
93 image: "RB07_icon_Unlock_press_02.png" COMP;
94 image: "RB07_icon_Unlock_press_03.png" COMP;
95 image: "RB07_icon_Unlock_press_04.png" COMP;
96 image: "RB07_icon_Unlock_press_05.png" COMP;
97 image: "RB07_icon_Unlock_press_06.png" COMP;
98 image: "RB07_icon_Unlock_press_07.png" COMP;
99 image: "RB07_icon_Unlock_press_08.png" COMP;
100 image: "RB07_icon_Unlock_press_09.png" COMP;
101 image: "RB07_icon_Unlock_press_10.png" COMP;
102 image: "RB07_icon_Unlock_press_11.png" COMP;
103 image: "RB07_icon_Unlock_press_12.png" COMP;
104 image: "RB07_icon_Unlock_press_13.png" COMP;
105 image: "RB07_icon_Unlock_press_14.png" COMP;
106 image: "RB07_icon_Unlock_press_15.png" COMP;
116 state: "default" 0.0;
128 state: "default" 0.0;
136 image.normal: "RB07_Unlock_bg.png";
141 inherit: "default" 0.0;
142 image.normal: "RB07_Unlock_bg_press.png";
148 name: "lock.padding.l";
153 state: "default" 0.0;
169 name: "lock.padding.r";
174 state: "default" 0.0;
190 name: "lock.wrapper.image.l";
195 state: "default" 0.0;
212 name: "lock.image.l";
217 state: "default" 0.0;
223 to_x: "lock.padding.l";
228 to_x: "lock.padding.l";
231 image.normal: "RB07_icon_Unlock_01.png";
235 inherit: "default" 0.0;
236 image.normal: "RB07_icon_Unlock_press_01.png";
241 name: "lock.image.r";
246 state: "default" 0.0;
252 to_x: "lock.padding.r";
257 to_x: "lock.padding.r";
260 image.normal: "RB07_icon_Unlock_02.png";
263 DRAGLOCK_LOCK_PRESS_DESC(press02, RB07_icon_Unlock_press_02.png);
264 DRAGLOCK_LOCK_PRESS_DESC(press03, RB07_icon_Unlock_press_03.png);
265 DRAGLOCK_LOCK_PRESS_DESC(press04, RB07_icon_Unlock_press_04.png);
266 DRAGLOCK_LOCK_PRESS_DESC(press05, RB07_icon_Unlock_press_05.png);
267 DRAGLOCK_LOCK_PRESS_DESC(press06, RB07_icon_Unlock_press_06.png);
268 DRAGLOCK_LOCK_PRESS_DESC(press07, RB07_icon_Unlock_press_07.png);
269 DRAGLOCK_LOCK_PRESS_DESC(press08, RB07_icon_Unlock_press_08.png);
270 DRAGLOCK_LOCK_PRESS_DESC(press09, RB07_icon_Unlock_press_09.png);
271 DRAGLOCK_LOCK_PRESS_DESC(press10, RB07_icon_Unlock_press_10.png);
272 DRAGLOCK_LOCK_PRESS_DESC(press11, RB07_icon_Unlock_press_11.png);
273 DRAGLOCK_LOCK_PRESS_DESC(press12, RB07_icon_Unlock_press_12.png);
274 DRAGLOCK_LOCK_PRESS_DESC(press13, RB07_icon_Unlock_press_13.png);
275 DRAGLOCK_LOCK_PRESS_DESC(press14, RB07_icon_Unlock_press_14.png);
276 DRAGLOCK_LOCK_PRESS_DESC(press15, RB07_icon_Unlock_press_15.png);
280 name: "lock.wrapper.image.r";
285 state: "default" 0.0;
301 name: "arrow.padding.l";
306 state: "default" 0.0;
322 name: "arrow.padding.r";
327 state: "default" 0.0;
348 state: "default" 0.0;
352 to: "arrow.padding.l";
356 to: "arrow.padding.r";
362 DRAGLOCK_ARROW_RECT(arrow1, 0.0, 1/6);
363 DRAGLOCK_ARROW_RECT(arrow2, 1/6, 2/6);
364 DRAGLOCK_ARROW_RECT(arrow3, 2/6, 3/6);
365 DRAGLOCK_ARROW_RECT(arrow4, 3/6, 4/6);
366 DRAGLOCK_ARROW_RECT(arrow5, 4/6, 5/6);
367 DRAGLOCK_ARROW_RECT(arrow6, 5/6, 6/6);
369 DRAGLOCK_ARROW_IMAGE(image1, arrow1);
370 DRAGLOCK_ARROW_IMAGE(image2, arrow2);
371 DRAGLOCK_ARROW_IMAGE(image3, arrow3);
372 DRAGLOCK_ARROW_IMAGE(image4, arrow4);
373 DRAGLOCK_ARROW_IMAGE(image5, arrow5);
374 DRAGLOCK_ARROW_IMAGE(image6, arrow6);
379 name: "press.lock.l";
381 source: "lock.image.l";
382 action: STATE_SET "press" 0.0;
383 target: "lock.image.l";
384 target: "arrow.image1";
385 target: "arrow.image2";
386 target: "arrow.image3";
387 target: "arrow.image4";
388 target: "arrow.image5";
389 target: "arrow.image6";
394 name: "release.lock.l";
396 source: "lock.image.l";
397 action: STATE_SET "default" 0.0;
398 target: "lock.image.l";
399 target: "arrow.image1";
400 target: "arrow.image2";
401 target: "arrow.image3";
402 target: "arrow.image4";
403 target: "arrow.image5";
404 target: "arrow.image6";
408 DRAGLOCK_LOCK_PRESS_PROC(press02);
409 DRAGLOCK_LOCK_PRESS_PROC(press03);
410 DRAGLOCK_LOCK_PRESS_PROC(press04);
411 DRAGLOCK_LOCK_PRESS_PROC(press05);
412 DRAGLOCK_LOCK_PRESS_PROC(press06);
413 DRAGLOCK_LOCK_PRESS_PROC(press07);
414 DRAGLOCK_LOCK_PRESS_PROC(press08);
415 DRAGLOCK_LOCK_PRESS_PROC(press09);
416 DRAGLOCK_LOCK_PRESS_PROC(press10);
417 DRAGLOCK_LOCK_PRESS_PROC(press11);
418 DRAGLOCK_LOCK_PRESS_PROC(press12);
419 DRAGLOCK_LOCK_PRESS_PROC(press13);
420 DRAGLOCK_LOCK_PRESS_PROC(press14);
421 DRAGLOCK_LOCK_PRESS_PROC(press15);
424 name: "release.lock.r";
426 source: "lock.image.r";
427 action: STATE_SET "default" 0.0;
428 target: "lock.image.r";