2 * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved
4 * PROPRIETARY/CONFIDENTIAL
6 * This software is the confidential and proprietary information of SAMSUNG
7 * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
8 * software is owned by Samsung and you shall not disclose such Confidential
9 * Information and shall use it only in accordance with the terms of the license
10 * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
11 * representations or warranties about the suitability of the software, either
12 * express or implied, including but not limited to the implied warranties of
13 * merchantability, fitness for a particular purpose, or non-infringement.
14 * SAMSUNG shall not be liable for any damages suffered by licensee arising out
15 * of or releated to this software.
19 group { name: "elm/photocam/base/default";
21 public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
26 v = get_int(sbalways_v);
28 emit("do-hide-vbar", "");
34 v = get_int(sbalways_h);
36 emit("do-hide-hbar", "");
40 set_int(sbvis_timer, 0);
45 image: "00_scroll_bar.png" COMP;
46 image: "bt_sm_shine.png" COMP;
47 image: "bt_sm_hilight.png" COMP;
48 image: "sb_runnerh.png" COMP;
49 image: "sb_runnerv.png" COMP;
50 image: "00_winset_list_process_01.png" COMP;
51 image: "00_winset_list_process_02.png" COMP;
52 image: "00_winset_list_process_03.png" COMP;
53 image: "00_winset_list_process_04.png" COMP;
54 image: "00_winset_list_process_05.png" COMP;
55 image: "00_winset_list_process_06.png" COMP;
56 image: "00_winset_list_process_07.png" COMP;
57 image: "00_winset_list_process_08.png" COMP;
58 image: "00_winset_list_process_09.png" COMP;
59 image: "00_winset_list_process_10.png" COMP;
60 image: "00_winset_list_process_11.png" COMP;
61 image: "00_winset_list_process_12.png" COMP;
62 image: "00_winset_list_process_13.png" COMP;
63 image: "00_winset_list_process_14.png" COMP;
64 image: "00_winset_list_process_15.png" COMP;
65 image: "00_winset_list_process_16.png" COMP;
66 image: "00_winset_list_process_17.png" COMP;
67 image: "00_winset_list_process_18.png" COMP;
68 image: "00_winset_list_process_19.png" COMP;
69 image: "00_winset_list_process_20.png" COMP;
70 image: "00_winset_list_process_21.png" COMP;
71 image: "00_winset_list_process_22.png" COMP;
72 image: "00_winset_list_process_23.png" COMP;
73 image: "00_winset_list_process_24.png" COMP;
74 image: "00_winset_list_process_25.png" COMP;
75 image: "00_winset_list_process_26.png" COMP;
76 image: "00_winset_list_process_27.png" COMP;
77 image: "00_winset_list_process_28.png" COMP;
78 image: "00_winset_list_process_29.png" COMP;
79 image: "00_winset_list_process_30.png" COMP;
85 description { state: "default" 0.0;
91 part { name: "clipper";
95 description { state: "default" 0.0;
100 part { name: "elm.swallow.content";
104 description { state: "default" 0.0;
109 part { name: "conf_over";
112 description { state: "default" 0.0;
118 part { name: "busy_clip";
121 description { state: "default" 0.0;
123 color: 255 255 255 0;
125 description { state: "active" 0.0;
127 color: 255 255 255 255;
131 clip_to: "busy_clip";
133 description { state: "default" 0.0;
138 aspect_preference: BOTH;
148 normal: "00_winset_list_process_30.png";
149 tween: "00_winset_list_process_01.png";
150 tween: "00_winset_list_process_02.png";
151 tween: "00_winset_list_process_03.png";
152 tween: "00_winset_list_process_04.png";
153 tween: "00_winset_list_process_05.png";
154 tween: "00_winset_list_process_06.png";
155 tween: "00_winset_list_process_07.png";
156 tween: "00_winset_list_process_08.png";
157 tween: "00_winset_list_process_09.png";
158 tween: "00_winset_list_process_10.png";
159 tween: "00_winset_list_process_11.png";
160 tween: "00_winset_list_process_12.png";
161 tween: "00_winset_list_process_13.png";
162 tween: "00_winset_list_process_14.png";
163 tween: "00_winset_list_process_15.png";
164 tween: "00_winset_list_process_16.png";
165 tween: "00_winset_list_process_17.png";
166 tween: "00_winset_list_process_18.png";
167 tween: "00_winset_list_process_19.png";
168 tween: "00_winset_list_process_20.png";
169 tween: "00_winset_list_process_21.png";
170 tween: "00_winset_list_process_22.png";
171 tween: "00_winset_list_process_23.png";
172 tween: "00_winset_list_process_24.png";
173 tween: "00_winset_list_process_25.png";
174 tween: "00_winset_list_process_26.png";
175 tween: "00_winset_list_process_27.png";
176 tween: "00_winset_list_process_28.png";
177 tween: "00_winset_list_process_29.png";
181 part { name: "sb_vbar_clip_master";
185 description { state: "default" 0.0;
187 description { state: "hidden" 0.0;
189 color: 255 255 255 0;
192 part { name: "sb_vbar_clip";
193 clip_to: "sb_vbar_clip_master";
197 description { state: "default" 0.0;
199 description { state: "hidden" 0.0;
201 color: 255 255 255 0;
204 part { name: "sb_vbar";
208 description { state: "default" 0.0;
224 part { name: "sb_vbar_runner";
225 clip_to: "sb_vbar_clip";
228 description { state: "default" 0.0;
235 normal: "sb_runnerv.png";
242 part { name: "elm.dragable.vbar";
243 clip_to: "sb_vbar_clip";
251 description { state: "default" 0.0;
265 normal: "00_scroll_bar.png";
272 part { name: "sb_vbar_over1";
273 clip_to: "sb_vbar_clip";
276 description { state: "default" 0.0;
277 rel1.to: "elm.dragable.vbar";
278 rel2.relative: 1.0 0.5;
279 rel2.to: "elm.dragable.vbar";
282 normal: "bt_sm_hilight.png";
288 part { name: "sb_vbar_over2";
289 clip_to: "sb_vbar_clip";
292 description { state: "default" 0.0;
293 rel1.to: "elm.dragable.vbar";
294 rel2.to: "elm.dragable.vbar";
297 normal: "bt_sm_shine.png";
303 part { name: "sb_hbar_clip_master";
306 description { state: "default" 0.0;
308 description { state: "hidden" 0.0;
310 color: 255 255 255 0;
313 part { name: "sb_hbar_clip";
314 clip_to: "sb_hbar_clip_master";
318 description { state: "default" 0.0;
320 description { state: "hidden" 0.0;
322 color: 255 255 255 0;
325 part { name: "sb_hbar";
329 description { state: "default" 0.0;
345 part { name: "sb_hbar_runner";
346 clip_to: "sb_hbar_clip";
349 description { state: "default" 0.0;
356 normal: "sb_runnerh.png";
363 part { name: "elm.dragable.hbar";
364 clip_to: "sb_hbar_clip";
372 description { state: "default" 0.0;
385 color: 255 255 255 0;
387 normal: "00_scroll_bar.png";
394 part { name: "sb_hbar_over1";
395 clip_to: "sb_hbar_clip";
398 description { state: "default" 0.0;
399 rel1.to: "elm.dragable.hbar";
400 rel2.relative: 1.0 0.5;
401 rel2.to: "elm.dragable.hbar";
404 normal: "bt_sm_hilight.png";
410 part { name: "sb_hbar_over2";
411 clip_to: "sb_hbar_clip";
414 description { state: "default" 0.0;
415 rel1.to: "elm.dragable.hbar";
416 rel2.to: "elm.dragable.hbar";
419 normal: "bt_sm_shine.png";
427 program { name: "load";
431 set_state(PART:"sb_hbar_clip", "hidden", 0.0);
432 set_state(PART:"sb_vbar_clip", "hidden", 0.0);
435 set_int(sbalways_v, 0);
436 set_int(sbalways_h, 0);
437 set_int(sbvis_timer, 0);
441 program { name: "vbar_show";
442 signal: "elm,action,show,vbar";
444 action: STATE_SET "default" 0.0;
445 target: "sb_vbar_clip_master";
447 program { name: "vbar_hide";
448 signal: "elm,action,hide,vbar";
450 action: STATE_SET "hidden" 0.0;
451 target: "sb_vbar_clip_master";
453 program { name: "vbar_show_always";
454 signal: "elm,action,show_always,vbar";
458 v = get_int(sbvis_v);
459 v |= get_int(sbalways_v);
461 set_int(sbalways_v, 1);
462 emit("do-show-vbar", "");
467 program { name: "vbar_show_notalways";
468 signal: "elm,action,show_notalways,vbar";
472 v = get_int(sbalways_v);
474 set_int(sbalways_v, 0);
475 v = get_int(sbvis_v);
477 emit("do-hide-vbar", "");
483 program { name: "sb_vbar_show";
484 signal: "do-show-vbar";
486 action: STATE_SET "default" 0.0;
487 transition: LINEAR 1.0;
488 target: "sb_vbar_clip";
490 program { name: "sb_vbar_hide";
491 signal: "do-hide-vbar";
493 action: STATE_SET "hidden" 0.0;
494 transition: LINEAR 1.0;
495 target: "sb_vbar_clip";
498 program { name: "hbar_show";
499 signal: "elm,action,show,hbar";
501 action: STATE_SET "default" 0.0;
502 target: "sb_hbar_clip_master";
504 program { name: "hbar_hide";
505 signal: "elm,action,hide,hbar";
507 action: STATE_SET "hidden" 0.0;
508 target: "sb_hbar_clip_master";
510 program { name: "hbar_show_always";
511 signal: "elm,action,show_always,hbar";
515 v = get_int(sbvis_h);
516 v |= get_int(sbalways_h);
518 set_int(sbalways_h, 1);
519 emit("do-show-hbar", "");
524 program { name: "hbar_show_notalways";
525 signal: "elm,action,show_notalways,hbar";
529 v = get_int(sbalways_h);
531 set_int(sbalways_h, 0);
532 v = get_int(sbvis_h);
534 emit("do-hide-hbar", "");
540 program { name: "sb_hbar_show";
541 signal: "do-show-hbar";
543 action: STATE_SET "default" 0.0;
544 transition: LINEAR 1.0;
545 target: "sb_hbar_clip";
547 program { name: "sb_hbar_hide";
548 signal: "do-hide-hbar";
550 action: STATE_SET "hidden" 0.0;
551 transition: LINEAR 1.0;
552 target: "sb_hbar_clip";
555 program { name: "scroll";
556 signal: "elm,action,scroll";
560 v = get_int(sbvis_v);
561 v |= get_int(sbalways_v);
563 emit("do-show-vbar", "");
566 v = get_int(sbvis_h);
567 v |= get_int(sbalways_h);
569 emit("do-show-hbar", "");
572 v = get_int(sbvis_timer);
573 if (v > 0) cancel_timer(v);
574 v = timer(2.0, "timer0", 0);
575 set_int(sbvis_timer, v);
578 program { name: "go1";
579 signal: "elm,state,busy,start";
581 action: STATE_SET "active" 0.0;
582 transition: SINUSOIDAL 1.0;
585 program { name: "go2";
586 signal: "elm,state,busy,start";
588 action: STATE_SET "default" 0.0;
589 transition: LINEAR 0.5;
593 program { name: "stop1";
594 signal: "elm,state,busy,stop";
596 action: STATE_SET "default" 0.0;
597 transition: SINUSOIDAL 1.0;
601 program { name: "stop2";