2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.1 (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://floralicense.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.
17 #define DRAGSLIDER_ARROW_RECT(pname, rel1x, rel2x)\
23 state: "default" 0.0;\
36 #define DRAGSLIDER_ARROW_IMAGE(pname, rname)\
38 name: "arrow."#pname;\
42 state: "default" 0.0;\
53 image.normal: "slider/RB07_icon_Unlock_arrow.png";\
58 inherit: "default" 0.0;\
59 image.normal: "slider/RB07_icon_Unlock_arrow_press.png";\
64 #define DRAGSLIDER_LOCK_PRESS_DESC(pstate, file)\
67 inherit: "default" 0.0;\
72 #define DRAGSLIDER_LOCK_PRESS_PROC(pname)\
74 name: #pname".lock.r";\
76 source: "lock.image.r";\
77 action: STATE_SET #pname 0.0;\
78 target: "lock.image.r";\
85 image: "slider/RB07_Unlock_bg.png" COMP;
86 image: "slider/RB07_Unlock_bg_press.png" COMP;
87 image: "slider/RB07_icon_Unlock_01.png" COMP;
88 image: "slider/RB07_icon_Unlock_02.png" COMP;
89 image: "slider/RB07_icon_Unlock_arrow.png" COMP;
90 image: "slider/RB07_icon_Unlock_arrow_press.png" COMP;
91 image: "slider/RB07_icon_Unlock_press_01.png" COMP;
92 image: "slider/RB07_icon_Unlock_press_02.png" COMP;
93 image: "slider/RB07_icon_Unlock_press_03.png" COMP;
94 image: "slider/RB07_icon_Unlock_press_04.png" COMP;
95 image: "slider/RB07_icon_Unlock_press_05.png" COMP;
96 image: "slider/RB07_icon_Unlock_press_06.png" COMP;
97 image: "slider/RB07_icon_Unlock_press_07.png" COMP;
98 image: "slider/RB07_icon_Unlock_press_08.png" COMP;
99 image: "slider/RB07_icon_Unlock_press_09.png" COMP;
100 image: "slider/RB07_icon_Unlock_press_10.png" COMP;
101 image: "slider/RB07_icon_Unlock_press_11.png" COMP;
102 image: "slider/RB07_icon_Unlock_press_12.png" COMP;
103 image: "slider/RB07_icon_Unlock_press_13.png" COMP;
104 image: "slider/RB07_icon_Unlock_press_14.png" COMP;
105 image: "slider/RB07_icon_Unlock_press_15.png" COMP;
115 state: "default" 0.0;
127 state: "default" 0.0;
135 image.normal: "slider/RB07_Unlock_bg.png";
140 inherit: "default" 0.0;
141 image.normal: "slider/RB07_Unlock_bg_press.png";
147 name: "lock.padding.l";
152 state: "default" 0.0;
168 name: "lock.padding.r";
173 state: "default" 0.0;
189 name: "lock.wrapper.image.l";
194 state: "default" 0.0;
211 name: "lock.image.l";
216 state: "default" 0.0;
222 to_x: "lock.padding.l";
227 to_x: "lock.padding.l";
230 image.normal: "slider/RB07_icon_Unlock_01.png";
234 inherit: "default" 0.0;
235 image.normal: "slider/RB07_icon_Unlock_press_01.png";
240 name: "lock.image.r";
245 state: "default" 0.0;
251 to_x: "lock.padding.r";
256 to_x: "lock.padding.r";
259 image.normal: "slider/RB07_icon_Unlock_02.png";
262 DRAGSLIDER_LOCK_PRESS_DESC(press02, slider/RB07_icon_Unlock_press_02.png);
263 DRAGSLIDER_LOCK_PRESS_DESC(press03, slider/RB07_icon_Unlock_press_03.png);
264 DRAGSLIDER_LOCK_PRESS_DESC(press04, slider/RB07_icon_Unlock_press_04.png);
265 DRAGSLIDER_LOCK_PRESS_DESC(press05, slider/RB07_icon_Unlock_press_05.png);
266 DRAGSLIDER_LOCK_PRESS_DESC(press06, slider/RB07_icon_Unlock_press_06.png);
267 DRAGSLIDER_LOCK_PRESS_DESC(press07, slider/RB07_icon_Unlock_press_07.png);
268 DRAGSLIDER_LOCK_PRESS_DESC(press08, slider/RB07_icon_Unlock_press_08.png);
269 DRAGSLIDER_LOCK_PRESS_DESC(press09, slider/RB07_icon_Unlock_press_09.png);
270 DRAGSLIDER_LOCK_PRESS_DESC(press10, slider/RB07_icon_Unlock_press_10.png);
271 DRAGSLIDER_LOCK_PRESS_DESC(press11, slider/RB07_icon_Unlock_press_11.png);
272 DRAGSLIDER_LOCK_PRESS_DESC(press12, slider/RB07_icon_Unlock_press_12.png);
273 DRAGSLIDER_LOCK_PRESS_DESC(press13, slider/RB07_icon_Unlock_press_13.png);
274 DRAGSLIDER_LOCK_PRESS_DESC(press14, slider/RB07_icon_Unlock_press_14.png);
275 DRAGSLIDER_LOCK_PRESS_DESC(press15, slider/RB07_icon_Unlock_press_15.png);
279 name: "lock.wrapper.image.r";
284 state: "default" 0.0;
300 name: "arrow.padding.l";
305 state: "default" 0.0;
322 name: "arrow.padding.r";
327 state: "default" 0.0;
349 state: "default" 0.0;
353 to: "arrow.padding.l";
357 to: "arrow.padding.r";
363 DRAGSLIDER_ARROW_RECT(arrow1, 0.0, 1/6);
364 DRAGSLIDER_ARROW_RECT(arrow2, 1/6, 2/6);
365 DRAGSLIDER_ARROW_RECT(arrow3, 2/6, 3/6);
366 DRAGSLIDER_ARROW_RECT(arrow4, 3/6, 4/6);
367 DRAGSLIDER_ARROW_RECT(arrow5, 4/6, 5/6);
368 DRAGSLIDER_ARROW_RECT(arrow6, 5/6, 6/6);
370 DRAGSLIDER_ARROW_IMAGE(image1, arrow1);
371 DRAGSLIDER_ARROW_IMAGE(image2, arrow2);
372 DRAGSLIDER_ARROW_IMAGE(image3, arrow3);
373 DRAGSLIDER_ARROW_IMAGE(image4, arrow4);
374 DRAGSLIDER_ARROW_IMAGE(image5, arrow5);
375 DRAGSLIDER_ARROW_IMAGE(image6, arrow6);
380 name: "press.lock.l";
382 source: "lock.image.l";
383 action: STATE_SET "press" 0.0;
384 target: "lock.image.l";
385 target: "arrow.image1";
386 target: "arrow.image2";
387 target: "arrow.image3";
388 target: "arrow.image4";
389 target: "arrow.image5";
390 target: "arrow.image6";
395 name: "release.lock.l";
397 source: "lock.image.l";
398 action: STATE_SET "default" 0.0;
399 target: "lock.image.l";
400 target: "arrow.image1";
401 target: "arrow.image2";
402 target: "arrow.image3";
403 target: "arrow.image4";
404 target: "arrow.image5";
405 target: "arrow.image6";
409 DRAGSLIDER_LOCK_PRESS_PROC(press02);
410 DRAGSLIDER_LOCK_PRESS_PROC(press03);
411 DRAGSLIDER_LOCK_PRESS_PROC(press04);
412 DRAGSLIDER_LOCK_PRESS_PROC(press05);
413 DRAGSLIDER_LOCK_PRESS_PROC(press06);
414 DRAGSLIDER_LOCK_PRESS_PROC(press07);
415 DRAGSLIDER_LOCK_PRESS_PROC(press08);
416 DRAGSLIDER_LOCK_PRESS_PROC(press09);
417 DRAGSLIDER_LOCK_PRESS_PROC(press10);
418 DRAGSLIDER_LOCK_PRESS_PROC(press11);
419 DRAGSLIDER_LOCK_PRESS_PROC(press12);
420 DRAGSLIDER_LOCK_PRESS_PROC(press13);
421 DRAGSLIDER_LOCK_PRESS_PROC(press14);
422 DRAGSLIDER_LOCK_PRESS_PROC(press15);
425 name: "release.lock.r";
427 source: "lock.image.r";
428 action: STATE_SET "default" 0.0;
429 target: "lock.image.r";