summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-02-14 20:51:25 +0100
committerdavemds <dave@gurumeditation.it>2014-02-14 20:51:25 +0100
commit482ce33eb005f0cd17a4014c62e0121d5c7d0c32 (patch)
tree636e1210d49dcc4179f58530ad6b8287c621ac04
parent92fb6926b53a2ae3f29ab47f07695c65f5410978 (diff)
Emotion test theme: formatting
-rw-r--r--src/tests/emotion/data/theme.edc640
1 files changed, 200 insertions, 440 deletions
diff --git a/src/tests/emotion/data/theme.edc b/src/tests/emotion/data/theme.edc
index 0994bac794..a85e4befa0 100644
--- a/src/tests/emotion/data/theme.edc
+++ b/src/tests/emotion/data/theme.edc
@@ -29,14 +29,10 @@ images {
29} 29}
30 30
31collections { 31collections {
32 group { 32 group { name: "background";
33 name: "background";
34 parts { 33 parts {
35 part { 34 part { name: "bg"; mouse_events: 0;
36 name: "bg"; 35 description { state: "default" 0.0;
37 mouse_events: 0;
38 description {
39 state: "default" 0.0;
40 color_class: "background"; 36 color_class: "background";
41 rel1 { 37 rel1 {
42 relative: 0.0 0.0; 38 relative: 0.0 0.0;
@@ -63,11 +59,8 @@ collections {
63 } 59 }
64 } 60 }
65/* 61/*
66 part { 62 part { name: "logo"; mouse_events: 0;
67 name: "logo"; 63 description { state: "default" 0.0;
68 mouse_events: 0;
69 description {
70 state: "default" 0.0;
71 min: 120 140; 64 min: 120 140;
72 rel1 { 65 rel1 {
73 relative: 0.0 0.0; 66 relative: 0.0 0.0;
@@ -83,11 +76,8 @@ collections {
83 } 76 }
84 } 77 }
85 */ 78 */
86 part { 79 part { name: "shadow"; mouse_events: 0;
87 name: "shadow"; 80 description { state: "default" 0.0;
88 mouse_events: 0;
89 description {
90 state: "default" 0.0;
91 rel1 { 81 rel1 {
92 relative: 0.0 0.0; 82 relative: 0.0 0.0;
93 offset: 0 0; 83 offset: 0 0;
@@ -104,8 +94,7 @@ collections {
104 } 94 }
105 } 95 }
106#if 0 96#if 0
107 group { 97 group { name: "video_controller";
108 name: "video_controller";
109 parts { 98 parts {
110 // need swallow parts: 99 // need swallow parts:
111 // "video_swallow" 100 // "video_swallow"
@@ -117,13 +106,9 @@ collections {
117 // need dragables: 106 // need dragables:
118 // "video_progress" horizontal 107 // "video_progress" horizontal
119 // "video_speed" vertical 108 // "video_speed" vertical
120 part { 109 part { name: "video_swallow"; mouse_events: 0; type: SWALLOW;
121 name: "video_swallow";
122 mouse_events: 0;
123 type: SWALLOW;
124 clip_to: "vclip"; 110 clip_to: "vclip";
125 description { 111 description { state: "default" 0.0;
126 state: "default" 0.0;
127 rel1 { 112 rel1 {
128 to: "fr_c1"; 113 to: "fr_c1";
129 relative: 0.0 0.0; 114 relative: 0.0 0.0;
@@ -136,12 +121,8 @@ collections {
136 } 121 }
137 } 122 }
138 } 123 }
139 part { 124 part { name: "vclip"; mouse_events: 0; type: RECT;
140 name: "vclip"; 125 description { state: "default" 0.0;
141 mouse_events: 0;
142 type: RECT;
143 description {
144 state: "default" 0.0;
145 rel1 { 126 rel1 {
146 to: "fr_c1"; 127 to: "fr_c1";
147 relative: 0.0 0.0; 128 relative: 0.0 0.0;
@@ -154,8 +135,7 @@ collections {
154 } 135 }
155 color: 255 255 255 255; 136 color: 255 255 255 255;
156 } 137 }
157 description { 138 description { state: "faded" 0.0;
158 state: "faded" 0.0;
159 rel1 { 139 rel1 {
160 to: "fr_c1"; 140 to: "fr_c1";
161 relative: 0.0 0.0; 141 relative: 0.0 0.0;
@@ -168,8 +148,7 @@ collections {
168 } 148 }
169 color: 255 255 255 180; 149 color: 255 255 255 180;
170 } 150 }
171 description { 151 description { state: "dim" 0.0;
172 state: "dim" 0.0;
173 rel1 { 152 rel1 {
174 to: "fr_c1"; 153 to: "fr_c1";
175 relative: 0.0 0.0; 154 relative: 0.0 0.0;
@@ -183,11 +162,8 @@ collections {
183 color: 255 255 255 80; 162 color: 255 255 255 80;
184 } 163 }
185 } 164 }
186 part { 165 part { name: "fr_c1"; mouse_events: 0;
187 name: "fr_c1"; 166 description { state: "default" 0.0;
188 mouse_events: 0;
189 description {
190 state: "default" 0.0;
191 rel1 { 167 rel1 {
192 relative: 0.0 0.0; 168 relative: 0.0 0.0;
193 offset: 0 0; 169 offset: 0 0;
@@ -201,11 +177,8 @@ collections {
201 } 177 }
202 } 178 }
203 } 179 }
204 part { 180 part { name: "fr_c2"; mouse_events: 0;
205 name: "fr_c2"; 181 description { state: "default" 0.0;
206 mouse_events: 0;
207 description {
208 state: "default" 0.0;
209 rel1 { 182 rel1 {
210 relative: 1.0 0.0; 183 relative: 1.0 0.0;
211 offset: -35 0; 184 offset: -35 0;
@@ -219,11 +192,8 @@ collections {
219 } 192 }
220 } 193 }
221 } 194 }
222 part { 195 part { name: "fr_c3"; mouse_events: 0;
223 name: "fr_c3"; 196 description { state: "default" 0.0;
224 mouse_events: 0;
225 description {
226 state: "default" 0.0;
227 rel1 { 197 rel1 {
228 relative: 0.0 1.0; 198 relative: 0.0 1.0;
229 offset: 0 -35; 199 offset: 0 -35;
@@ -237,11 +207,8 @@ collections {
237 } 207 }
238 } 208 }
239 } 209 }
240 part { 210 part { name: "fr_c4"; mouse_events: 0;
241 name: "fr_c4"; 211 description { state: "default" 0.0;
242 mouse_events: 0;
243 description {
244 state: "default" 0.0;
245 rel1 { 212 rel1 {
246 relative: 1.0 1.0; 213 relative: 1.0 1.0;
247 offset: -35 -35; 214 offset: -35 -35;
@@ -255,11 +222,8 @@ collections {
255 } 222 }
256 } 223 }
257 } 224 }
258 part { 225 part { name: "fr_s1"; mouse_events: 0;
259 name: "fr_s1"; 226 description { state: "default" 0.0;
260 mouse_events: 0;
261 description {
262 state: "default" 0.0;
263 rel1 { 227 rel1 {
264 relative: 0.0 1.0; 228 relative: 0.0 1.0;
265 offset: 0 0; 229 offset: 0 0;
@@ -275,11 +239,8 @@ collections {
275 } 239 }
276 } 240 }
277 } 241 }
278 part { 242 part { name: "fr_s2"; mouse_events: 0;
279 name: "fr_s2"; 243 description { state: "default" 0.0;
280 mouse_events: 0;
281 description {
282 state: "default" 0.0;
283 rel1 { 244 rel1 {
284 relative: 1.0 0.0; 245 relative: 1.0 0.0;
285 offset: 0 0; 246 offset: 0 0;
@@ -295,11 +256,8 @@ collections {
295 } 256 }
296 } 257 }
297 } 258 }
298 part { 259 part { name: "fr_s3"; mouse_events: 0;
299 name: "fr_s3"; 260 description { state: "default" 0.0;
300 mouse_events: 0;
301 description {
302 state: "default" 0.0;
303 rel1 { 261 rel1 {
304 relative: 0.0 1.0; 262 relative: 0.0 1.0;
305 offset: 0 0; 263 offset: 0 0;
@@ -315,11 +273,8 @@ collections {
315 } 273 }
316 } 274 }
317 } 275 }
318 part { 276 part { name: "fr_t"; mouse_events: 0;
319 name: "fr_t"; 277 description { state: "default" 0.0;
320 mouse_events: 0;
321 description {
322 state: "default" 0.0;
323 rel1 { 278 rel1 {
324 relative: 1.0 0.0; 279 relative: 1.0 0.0;
325 offset: 0 0; 280 offset: 0 0;
@@ -336,12 +291,9 @@ collections {
336 } 291 }
337 } 292 }
338 } 293 }
339 part { 294 part { name: "panel_bg"; mouse_events: 0;
340 name: "panel_bg";
341 mouse_events: 0;
342 clip_to: "panel_clip"; 295 clip_to: "panel_clip";
343 description { 296 description { state: "default" 0.0;
344 state: "default" 0.0;
345 rel1 { 297 rel1 {
346 relative: 0.0 0.0; 298 relative: 0.0 0.0;
347 offset: 0 0; 299 offset: 0 0;
@@ -368,12 +320,9 @@ collections {
368 } 320 }
369 } 321 }
370 } 322 }
371 part { 323 part { name: "prog_container"; mouse_events: 0;
372 name: "prog_container";
373 mouse_events: 0;
374 clip_to: "panel_clip"; 324 clip_to: "panel_clip";
375 description { 325 description { state: "default" 0.0;
376 state: "default" 0.0;
377 rel1 { 326 rel1 {
378 relative: 0.0 0.0; 327 relative: 0.0 0.0;
379 offset: 4 4; 328 offset: 4 4;
@@ -390,12 +339,9 @@ collections {
390 } 339 }
391 } 340 }
392 } 341 }
393 part { 342 part { name: "prog_done"; mouse_events: 0;
394 name: "prog_done";
395 mouse_events: 0;
396 clip_to: "panel_clip"; 343 clip_to: "panel_clip";
397 description { 344 description { state: "default" 0.0;
398 state: "default" 0.0;
399 rel1 { 345 rel1 {
400 relative: 0.0 0.0; 346 relative: 0.0 0.0;
401 offset: 0 0; 347 offset: 0 0;
@@ -413,18 +359,14 @@ collections {
413 } 359 }
414 } 360 }
415 } 361 }
416 part { 362 part { name: "video_progress"; type: RECT; mouse_events: 1;
417 name: "video_progress";
418 type: RECT;
419 clip_to: "panel_clip"; 363 clip_to: "panel_clip";
420 mouse_events: 1;
421 dragable { 364 dragable {
422 x: 1 1 0; 365 x: 1 1 0;
423 y: 0 0 0; 366 y: 0 0 0;
424 confine: "prog_container"; 367 confine: "prog_container";
425 } 368 }
426 description { 369 description { state: "default" 0.0;
427 state: "default" 0.0;
428 min: 10 5; 370 min: 10 5;
429 align: 0.5 0.5; 371 align: 0.5 0.5;
430 rel1 { 372 rel1 {
@@ -440,12 +382,9 @@ collections {
440 color: 0 255 0 50; 382 color: 0 255 0 50;
441 } 383 }
442 } 384 }
443 part { 385 part { name: "video_progress_img"; mouse_events: 0;
444 name: "video_progress_img";
445 mouse_events: 0;
446 clip_to: "panel_clip"; 386 clip_to: "panel_clip";
447 description { 387 description { state: "default" 0.0;
448 state: "default" 0.0;
449 min: 9 16; 388 min: 9 16;
450 align: 0.5 1.0; 389 align: 0.5 1.0;
451 fixed: 1 1; 390 fixed: 1 1;
@@ -466,12 +405,9 @@ collections {
466 } 405 }
467 } 406 }
468 } 407 }
469 part { 408 part { name: "b_stop"; mouse_events: 0;
470 name: "b_stop";
471 mouse_events: 0;
472 clip_to: "panel_clip"; 409 clip_to: "panel_clip";
473 description { 410 description { state: "default" 0.0;
474 state: "default" 0.0;
475 min: 22 22; 411 min: 22 22;
476 max: 22 22; 412 max: 22 22;
477 align: 0.0 0.0; 413 align: 0.0 0.0;
@@ -490,12 +426,9 @@ collections {
490 } 426 }
491 } 427 }
492 } 428 }
493 part { 429 part { name: "b_play"; mouse_events: 0;
494 name: "b_play";
495 mouse_events: 0;
496 clip_to: "panel_clip"; 430 clip_to: "panel_clip";
497 description { 431 description { state: "default" 0.0;
498 state: "default" 0.0;
499 min: 22 22; 432 min: 22 22;
500 max: 22 22; 433 max: 22 22;
501 align: 0.0 1.0; 434 align: 0.0 1.0;
@@ -513,8 +446,7 @@ collections {
513 normal: "bstop.png"; 446 normal: "bstop.png";
514 } 447 }
515 } 448 }
516 description { 449 description { state: "play" 0.0;
517 state: "play" 0.0;
518 min: 22 22; 450 min: 22 22;
519 max: 22 22; 451 max: 22 22;
520 align: 0.0 1.0; 452 align: 0.0 1.0;
@@ -532,8 +464,7 @@ collections {
532 normal: "bplay.png"; 464 normal: "bplay.png";
533 } 465 }
534 } 466 }
535 description { 467 description { state: "pause" 0.0;
536 state: "pause" 0.0;
537 min: 22 22; 468 min: 22 22;
538 max: 22 22; 469 max: 22 22;
539 align: 0.0 1.0; 470 align: 0.0 1.0;
@@ -552,14 +483,10 @@ collections {
552 } 483 }
553 } 484 }
554 } 485 }
555 part { 486 part { name: "panel_clip"; mouse_events: 0; type: RECT;
556 name: "panel_clip";
557 mouse_events: 0;
558 type: RECT;
559 clip_to: "vclip"; 487 clip_to: "vclip";
560 description { 488 description { state: "default" 0.0;
561 visible: 0; 489 visible: 0;
562 state: "default" 0.0;
563 rel1 { 490 rel1 {
564 to: "panel"; 491 to: "panel";
565 relative: 0.0 0.0; 492 relative: 0.0 0.0;
@@ -572,9 +499,8 @@ collections {
572 } 499 }
573 color: 255 255 255 0; 500 color: 255 255 255 0;
574 } 501 }
575 description { 502 description { state: "shown" 0.0;
576 visible: 1; 503 visible: 1;
577 state: "shown" 0.0;
578 rel1 { 504 rel1 {
579 to: "panel"; 505 to: "panel";
580 relative: 0.0 0.0; 506 relative: 0.0 0.0;
@@ -588,13 +514,9 @@ collections {
588 color: 255 255 255 255; 514 color: 255 255 255 255;
589 } 515 }
590 } 516 }
591 part { 517 part { name: "video_progress_txt"; type: TEXT; mouse_events: 0;
592 name: "video_progress_txt";
593 type: TEXT;
594 mouse_events: 0;
595 effect: OUTLINE; 518 effect: OUTLINE;
596 description { 519 description { state: "default" 0.0;
597 state: "default" 0.0;
598 rel1 { 520 rel1 {
599 to: "panel"; 521 to: "panel";
600 relative: 0.0 1.0; 522 relative: 0.0 1.0;
@@ -615,12 +537,8 @@ collections {
615 }; 537 };
616 } 538 }
617 } 539 }
618 part { 540 part { name: "panel"; mouse_events: 1; type: RECT;
619 name: "panel"; 541 description { state: "default" 0.0;
620 mouse_events: 1;
621 type: RECT;
622 description {
623 state: "default" 0.0;
624 rel1 { 542 rel1 {
625 to: "fr_c3"; 543 to: "fr_c3";
626 relative: 0.0 0.0; 544 relative: 0.0 0.0;
@@ -634,12 +552,8 @@ collections {
634 color: 0 0 0 0; 552 color: 0 0 0 0;
635 } 553 }
636 } 554 }
637 part { 555 part { name: "panel2"; mouse_events: 1; type: RECT;
638 name: "panel2"; 556 description { state: "default" 0.0;
639 mouse_events: 1;
640 type: RECT;
641 description {
642 state: "default" 0.0;
643 rel1 { 557 rel1 {
644 to: "fr_c1"; 558 to: "fr_c1";
645 relative: 0.0 0.0; 559 relative: 0.0 0.0;
@@ -654,12 +568,8 @@ collections {
654 color: 0 0 0 0; 568 color: 0 0 0 0;
655 } 569 }
656 } 570 }
657 part { 571 part { name: "video_resizer"; mouse_events: 1; type: RECT;
658 name: "video_resizer"; 572 description { state: "default" 0.0;
659 mouse_events: 1;
660 type: RECT;
661 description {
662 state: "default" 0.0;
663 rel1 { 573 rel1 {
664 to: "fr_c4"; 574 to: "fr_c4";
665 relative: 0.0 0.0; 575 relative: 0.0 0.0;
@@ -673,12 +583,8 @@ collections {
673 color: 0 0 0 0; 583 color: 0 0 0 0;
674 } 584 }
675 } 585 }
676 part { 586 part { name: "video_mover"; mouse_events: 1; type: RECT;
677 name: "video_mover"; 587 description { state: "default" 0.0;
678 mouse_events: 1;
679 type: RECT;
680 description {
681 state: "default" 0.0;
682 rel1 { 588 rel1 {
683 to: "fr_t"; 589 to: "fr_t";
684 relative: 0.0 0.0; 590 relative: 0.0 0.0;
@@ -694,40 +600,34 @@ collections {
694 } 600 }
695 } 601 }
696 programs { 602 programs {
697 program { 603 program { name: "video_move_start";
698 name: "video_move_start";
699 signal: "mouse,down,*"; 604 signal: "mouse,down,*";
700 source: "video_mover"; 605 source: "video_mover";
701 action: SIGNAL_EMIT "frame_move" "start"; 606 action: SIGNAL_EMIT "frame_move" "start";
702 } 607 }
703 program { 608 program { name: "video_move_stop";
704 name: "video_move_stop";
705 signal: "mouse,up,*"; 609 signal: "mouse,up,*";
706 source: "video_mover"; 610 source: "video_mover";
707 action: SIGNAL_EMIT "frame_move" "stop"; 611 action: SIGNAL_EMIT "frame_move" "stop";
708 } 612 }
709 program { 613 program { name: "video_resize_start";
710 name: "video_resize_start";
711 signal: "mouse,down,*"; 614 signal: "mouse,down,*";
712 source: "video_resizer"; 615 source: "video_resizer";
713 action: SIGNAL_EMIT "frame_resize" "start"; 616 action: SIGNAL_EMIT "frame_resize" "start";
714 } 617 }
715 program { 618 program { name: "video_resize_stop";
716 name: "video_resize_stop";
717 signal: "mouse,up,*"; 619 signal: "mouse,up,*";
718 source: "video_resizer"; 620 source: "video_resizer";
719 action: SIGNAL_EMIT "frame_resize" "stop"; 621 action: SIGNAL_EMIT "frame_resize" "stop";
720 } 622 }
721 program { 623 program { name: "panel_show";
722 name: "panel_show";
723 signal: "mouse,in"; 624 signal: "mouse,in";
724 source: "panel"; 625 source: "panel";
725 action: STATE_SET "shown" 0.0; 626 action: STATE_SET "shown" 0.0;
726 transition: LINEAR 1.0; 627 transition: LINEAR 1.0;
727 target: "panel_clip"; 628 target: "panel_clip";
728 } 629 }
729 program { 630 program { name: "panel_hide";
730 name: "panel_hide";
731 signal: "mouse,in"; 631 signal: "mouse,in";
732 source: "panel2"; 632 source: "panel2";
733 action: STATE_SET "default" 0.0; 633 action: STATE_SET "default" 0.0;
@@ -737,8 +637,7 @@ collections {
737 } 637 }
738 } 638 }
739#else 639#else
740 group { 640 group { name: "video_controller";
741 name: "video_controller";
742 parts { 641 parts {
743 // need swallow parts: 642 // need swallow parts:
744 // "video_swallow" 643 // "video_swallow"
@@ -750,12 +649,8 @@ collections {
750 // need dragables: 649 // need dragables:
751 // "video_progress" horizontal 650 // "video_progress" horizontal
752 // "video_speed" vertical 651 // "video_speed" vertical
753 part { 652 part { name: "video_swallow"; mouse_events: 0; type: SWALLOW;
754 name: "video_swallow"; 653 description { state: "default" 0.0;
755 mouse_events: 0;
756 type: SWALLOW;
757 description {
758 state: "default" 0.0;
759 rel1 { 654 rel1 {
760 to: "video_frame_left"; 655 to: "video_frame_left";
761 relative: 1.0 0.0; 656 relative: 1.0 0.0;
@@ -768,11 +663,8 @@ collections {
768 } 663 }
769 } 664 }
770 } 665 }
771 part { 666 part { name: "video_frame_left"; mouse_events: 0;
772 name: "video_frame_left"; 667 description { state: "default" 0.0;
773 mouse_events: 0;
774 description {
775 state: "default" 0.0;
776 rel1 { 668 rel1 {
777 relative: 0.0 0.0; 669 relative: 0.0 0.0;
778 offset: 0 0; 670 offset: 0 0;
@@ -787,11 +679,8 @@ collections {
787 } 679 }
788 } 680 }
789 } 681 }
790 part { 682 part { name: "video_frame_right"; mouse_events: 0;
791 name: "video_frame_right"; 683 description { state: "default" 0.0;
792 mouse_events: 0;
793 description {
794 state: "default" 0.0;
795 rel1 { 684 rel1 {
796 relative: 1.0 0.0; 685 relative: 1.0 0.0;
797 offset: -32 0; 686 offset: -32 0;
@@ -806,11 +695,8 @@ collections {
806 } 695 }
807 } 696 }
808 } 697 }
809 part { 698 part { name: "video_frame_top"; mouse_events: 0;
810 name: "video_frame_top"; 699 description { state: "default" 0.0;
811 mouse_events: 0;
812 description {
813 state: "default" 0.0;
814 rel1 { 700 rel1 {
815 to: "video_frame_left"; 701 to: "video_frame_left";
816 relative: 1.0 0.0; 702 relative: 1.0 0.0;
@@ -826,11 +712,8 @@ collections {
826 } 712 }
827 } 713 }
828 } 714 }
829 part { 715 part { name: "video_frame_bottom"; mouse_events: 0;
830 name: "video_frame_bottom"; 716 description { state: "default" 0.0;
831 mouse_events: 0;
832 description {
833 state: "default" 0.0;
834 rel1 { 717 rel1 {
835 to: "video_frame_left"; 718 to: "video_frame_left";
836 relative: 1.0 1.0; 719 relative: 1.0 1.0;
@@ -846,12 +729,8 @@ collections {
846 } 729 }
847 } 730 }
848 } 731 }
849 part { 732 part { name: "video_speed_txt"; type: TEXT; mouse_events: 0;
850 name: "video_speed_txt"; 733 description { state: "default" 0.0;
851 type: TEXT;
852 mouse_events: 0;
853 description {
854 state: "default" 0.0;
855 rel1 { 734 rel1 {
856 to: "video_frame_bottom"; 735 to: "video_frame_bottom";
857 relative: 0.0 0.0; 736 relative: 0.0 0.0;
@@ -871,13 +750,9 @@ collections {
871 }; 750 };
872 } 751 }
873 } 752 }
874 part { 753 part { name: "video_progress_confine"; mouse_events: 0; type: RECT;
875 name: "video_progress_confine"; 754 description { state: "default" 0.0;
876 mouse_events: 0; 755 fixed: 1 1;
877 type: RECT;
878 description {
879 state: "default" 0.0;
880 fixed: 1 1;
881 min: 1 18; 756 min: 1 18;
882 align: 0.5 0.0; 757 align: 0.5 0.0;
883 rel1 { 758 rel1 {
@@ -893,18 +768,14 @@ collections {
893 color: 0 0 0 0; 768 color: 0 0 0 0;
894 } 769 }
895 } 770 }
896 part { 771 part { name: "video_progress"; type: RECT; mouse_events: 1;
897 name: "video_progress";
898 type: RECT;
899 mouse_events: 1;
900 dragable { 772 dragable {
901 x: 1 1 0; 773 x: 1 1 0;
902 y: 0 0 0; 774 y: 0 0 0;
903 confine: "video_progress_confine"; 775 confine: "video_progress_confine";
904 } 776 }
905 description { 777 description { state: "default" 0.0;
906 state: "default" 0.0; 778 fixed: 1 1;
907 fixed: 1 1;
908 min: 34 18; 779 min: 34 18;
909 rel1 { 780 rel1 {
910 to: "video_progress_confine"; 781 to: "video_progress_confine";
@@ -919,12 +790,9 @@ collections {
919 color: 0 0 0 0; 790 color: 0 0 0 0;
920 } 791 }
921 } 792 }
922 part { 793 part { name: "video_progress_img"; mouse_events: 0;
923 name: "video_progress_img"; 794 description { state: "default" 0.0;
924 mouse_events: 0; 795 fixed: 1 1;
925 description {
926 state: "default" 0.0;
927 fixed: 1 1;
928 min: 42 26; 796 min: 42 26;
929 rel1 { 797 rel1 {
930 to: "video_progress"; 798 to: "video_progress";
@@ -941,12 +809,8 @@ collections {
941 } 809 }
942 } 810 }
943 } 811 }
944 part { 812 part { name: "video_speed_confine"; mouse_events: 0; type: RECT;
945 name: "video_speed_confine"; 813 description { state: "default" 0.0;
946 mouse_events: 0;
947 type: RECT;
948 description {
949 state: "default" 0.0;
950 rel1 { 814 rel1 {
951 to: "video_frame_left"; 815 to: "video_frame_left";
952 relative: 1.0 0.0; 816 relative: 1.0 0.0;
@@ -960,17 +824,14 @@ collections {
960 color: 0 0 0 0; 824 color: 0 0 0 0;
961 } 825 }
962 } 826 }
963 part { 827 part { name: "video_speed"; mouse_events: 1;
964 name: "video_speed";
965 mouse_events: 1;
966 dragable { 828 dragable {
967 x: 0 0 0; 829 x: 0 0 0;
968 y: -1 1 0; 830 y: -1 1 0;
969 confine: "video_speed_confine"; 831 confine: "video_speed_confine";
970 } 832 }
971 description { 833 description { state: "default" 0.0;
972 state: "default" 0.0; 834 fixed: 1 1;
973 fixed: 1 1;
974 min: 24 24; 835 min: 24 24;
975 rel1 { 836 rel1 {
976 to: "video_speed_confine"; 837 to: "video_speed_confine";
@@ -987,12 +848,9 @@ collections {
987 } 848 }
988 } 849 }
989 } 850 }
990 part { 851 part { name: "video_play"; mouse_events: 1;
991 name: "video_play"; 852 description { state: "default" 0.0;
992 mouse_events: 1; 853 fixed: 1 1;
993 description {
994 state: "default" 0.0;
995 fixed: 1 1;
996 min: 24 24; 854 min: 24 24;
997 rel1 { 855 rel1 {
998 to: "video_frame_bottom"; 856 to: "video_frame_bottom";
@@ -1009,12 +867,9 @@ collections {
1009 } 867 }
1010 } 868 }
1011 } 869 }
1012 part { 870 part { name: "video_pause"; mouse_events: 1;
1013 name: "video_pause"; 871 description { state: "default" 0.0;
1014 mouse_events: 1; 872 fixed: 1 1;
1015 description {
1016 state: "default" 0.0;
1017 fixed: 1 1;
1018 min: 24 24; 873 min: 24 24;
1019 rel1 { 874 rel1 {
1020 to: "video_frame_bottom"; 875 to: "video_frame_bottom";
@@ -1031,12 +886,9 @@ collections {
1031 } 886 }
1032 } 887 }
1033 } 888 }
1034 part { 889 part { name: "video_stop"; mouse_events: 1;
1035 name: "video_stop"; 890 description { state: "default" 0.0;
1036 mouse_events: 1; 891 fixed: 1 1;
1037 description {
1038 state: "default" 0.0;
1039 fixed: 1 1;
1040 min: 24 24; 892 min: 24 24;
1041 rel1 { 893 rel1 {
1042 to: "video_frame_bottom"; 894 to: "video_frame_bottom";
@@ -1053,12 +905,8 @@ collections {
1053 } 905 }
1054 } 906 }
1055 } 907 }
1056 part { 908 part { name: "video_mover"; mouse_events: 1; type: RECT;
1057 name: "video_mover"; 909 description { state: "default" 0.0;
1058 mouse_events: 1;
1059 type: RECT;
1060 description {
1061 state: "default" 0.0;
1062 rel1 { 910 rel1 {
1063 to: "video_frame_top"; 911 to: "video_frame_top";
1064 relative: 0.0 0.0; 912 relative: 0.0 0.0;
@@ -1072,12 +920,8 @@ collections {
1072 color: 255 20 20 20; 920 color: 255 20 20 20;
1073 } 921 }
1074 } 922 }
1075 part { 923 part { name: "video_resizer"; mouse_events: 1; type: RECT;
1076 name: "video_resizer"; 924 description { state: "default" 0.0;
1077 mouse_events: 1;
1078 type: RECT;
1079 description {
1080 state: "default" 0.0;
1081 rel1 { 925 rel1 {
1082 to: "video_frame_right"; 926 to: "video_frame_right";
1083 relative: 0.0 1.0; 927 relative: 0.0 1.0;
@@ -1091,13 +935,9 @@ collections {
1091 color: 20 20 255 20; 935 color: 20 20 255 20;
1092 } 936 }
1093 } 937 }
1094 part { 938 part { name: "video_progress_txt"; type: TEXT; mouse_events: 0;
1095 name: "video_progress_txt";
1096 type: TEXT;
1097 mouse_events: 0;
1098 effect: OUTLINE; 939 effect: OUTLINE;
1099 description { 940 description { state: "default" 0.0;
1100 state: "default" 0.0;
1101 align: 1.0 1.0; 941 align: 1.0 1.0;
1102 fixed: 1 1; 942 fixed: 1 1;
1103 rel1 { 943 rel1 {
@@ -1132,44 +972,37 @@ collections {
1132 // "video_state" "play" 972 // "video_state" "play"
1133 // "video_state" "pause" 973 // "video_state" "pause"
1134 // "video_state" "stop" 974 // "video_state" "stop"
1135 program { 975 program { name: "video_play";
1136 name: "video_play";
1137 signal: "mouse,down,1"; 976 signal: "mouse,down,1";
1138 source: "video_play"; 977 source: "video_play";
1139 action: SIGNAL_EMIT "video_control" "play"; 978 action: SIGNAL_EMIT "video_control" "play";
1140 } 979 }
1141 program { 980 program { name: "video_pause";
1142 name: "video_pause";
1143 signal: "mouse,down,1"; 981 signal: "mouse,down,1";
1144 source: "video_pause"; 982 source: "video_pause";
1145 action: SIGNAL_EMIT "video_control" "pause"; 983 action: SIGNAL_EMIT "video_control" "pause";
1146 } 984 }
1147 program { 985 program { name: "video_stop";
1148 name: "video_stop";
1149 signal: "mouse,down,1"; 986 signal: "mouse,down,1";
1150 source: "video_stop"; 987 source: "video_stop";
1151 action: SIGNAL_EMIT "video_control" "stop"; 988 action: SIGNAL_EMIT "video_control" "stop";
1152 } 989 }
1153 program { 990 program { name: "video_move_start";
1154 name: "video_move_start";
1155 signal: "mouse,down,*"; 991 signal: "mouse,down,*";
1156 source: "video_mover"; 992 source: "video_mover";
1157 action: SIGNAL_EMIT "frame_move" "start"; 993 action: SIGNAL_EMIT "frame_move" "start";
1158 } 994 }
1159 program { 995 program { name: "video_move_stop";
1160 name: "video_move_stop";
1161 signal: "mouse,up,*"; 996 signal: "mouse,up,*";
1162 source: "video_mover"; 997 source: "video_mover";
1163 action: SIGNAL_EMIT "frame_move" "stop"; 998 action: SIGNAL_EMIT "frame_move" "stop";
1164 } 999 }
1165 program { 1000 program { name: "video_resize_start";
1166 name: "video_resize_start";
1167 signal: "mouse,down,*"; 1001 signal: "mouse,down,*";
1168 source: "video_resizer"; 1002 source: "video_resizer";
1169 action: SIGNAL_EMIT "frame_resize" "start"; 1003 action: SIGNAL_EMIT "frame_resize" "start";
1170 } 1004 }
1171 program { 1005 program { name: "video_resize_stop";
1172 name: "video_resize_stop";
1173 signal: "mouse,up,*"; 1006 signal: "mouse,up,*";
1174 source: "video_resizer"; 1007 source: "video_resizer";
1175 action: SIGNAL_EMIT "frame_resize" "stop"; 1008 action: SIGNAL_EMIT "frame_resize" "stop";
@@ -1177,8 +1010,7 @@ collections {
1177 } 1010 }
1178 } 1011 }
1179 1012
1180 group { 1013 group { name: "video_controller/reflex";
1181 name: "video_controller/reflex";
1182 parts { 1014 parts {
1183 // need swallow parts: 1015 // need swallow parts:
1184 // "video_swallow" 1016 // "video_swallow"
@@ -1190,12 +1022,8 @@ collections {
1190 // need dragables: 1022 // need dragables:
1191 // "video_progress" horizontal 1023 // "video_progress" horizontal
1192 // "video_speed" vertical 1024 // "video_speed" vertical
1193 part { 1025 part { name: "video_swallow"; mouse_events: 0; type: SWALLOW;
1194 name: "video_swallow"; 1026 description { state: "default" 0.0;
1195 mouse_events: 0;
1196 type: SWALLOW;
1197 description {
1198 state: "default" 0.0;
1199 rel1 { 1027 rel1 {
1200 to: "video_frame_left"; 1028 to: "video_frame_left";
1201 relative: 1.0 0.0; 1029 relative: 1.0 0.0;
@@ -1209,57 +1037,47 @@ collections {
1209 } 1037 }
1210 } 1038 }
1211 1039
1212 part { 1040 part { name: "swallow_center"; type: RECT;
1213 name: "swallow_center";
1214 type: RECT;
1215 description {
1216 state: "default" 0.0;
1217 visible: 0;
1218 rel1 {
1219 to: "video_swallow";
1220 relative: 0.5 1.0;
1221 }
1222 rel2 {
1223 to: "video_swallow";
1224 relative: 0.5 1.0;
1225 }
1226 }
1227 }
1228 part {
1229 name: "swallow_mirror";
1230 type: PROXY;
1231 mouse_events: 0;
1232 description {
1233 state: "default" 0.0;
1234 source: "video_swallow";
1235 rel1 {
1236 to: "video_swallow";
1237 }
1238 rel2 {
1239 to: "video_swallow";
1240 }
1241 perspective {
1242 zplane: 0;
1243 focal: 1000;
1244 }
1245 color: 255 255 255 96;
1246 map {
1247 on: 1;
1248 smooth: 0;
1249 alpha: 1;
1250 rotation {
1251 center: "swallow_center";
1252 x: 100;
1253 }
1254 }
1255 }
1256 }
1257
1258 part {
1259 name: "video_frame_left";
1260 mouse_events: 0;
1261 description { 1041 description {
1262 state: "default" 0.0; 1042 state: "default" 0.0;
1043 visible: 0;
1044 rel1 {
1045 to: "video_swallow";
1046 relative: 0.5 1.0;
1047 }
1048 rel2 {
1049 to: "video_swallow";
1050 relative: 0.5 1.0;
1051 }
1052 }
1053 }
1054 part { name: "swallow_mirror"; type: PROXY; mouse_events: 0;
1055 description { state: "default" 0.0;
1056 source: "video_swallow";
1057 rel1 {
1058 to: "video_swallow";
1059 }
1060 rel2 {
1061 to: "video_swallow";
1062 }
1063 perspective {
1064 zplane: 0;
1065 focal: 1000;
1066 }
1067 color: 255 255 255 96;
1068 map {
1069 on: 1;
1070 smooth: 0;
1071 alpha: 1;
1072 rotation {
1073 center: "swallow_center";
1074 x: 100;
1075 }
1076 }
1077 }
1078 }
1079 part { name: "video_frame_left"; mouse_events: 0;
1080 description { state: "default" 0.0;
1263 rel1 { 1081 rel1 {
1264 relative: 0.0 0.0; 1082 relative: 0.0 0.0;
1265 offset: 0 0; 1083 offset: 0 0;
@@ -1274,11 +1092,8 @@ collections {
1274 } 1092 }
1275 } 1093 }
1276 } 1094 }
1277 part { 1095 part { name: "video_frame_right"; mouse_events: 0;
1278 name: "video_frame_right"; 1096 description { state: "default" 0.0;
1279 mouse_events: 0;
1280 description {
1281 state: "default" 0.0;
1282 rel1 { 1097 rel1 {
1283 relative: 1.0 0.0; 1098 relative: 1.0 0.0;
1284 offset: -32 0; 1099 offset: -32 0;
@@ -1293,11 +1108,8 @@ collections {
1293 } 1108 }
1294 } 1109 }
1295 } 1110 }
1296 part { 1111 part { name: "video_frame_top"; mouse_events: 0;
1297 name: "video_frame_top"; 1112 description { state: "default" 0.0;
1298 mouse_events: 0;
1299 description {
1300 state: "default" 0.0;
1301 rel1 { 1113 rel1 {
1302 to: "video_frame_left"; 1114 to: "video_frame_left";
1303 relative: 1.0 0.0; 1115 relative: 1.0 0.0;
@@ -1313,11 +1125,8 @@ collections {
1313 } 1125 }
1314 } 1126 }
1315 } 1127 }
1316 part { 1128 part { name: "video_frame_bottom"; mouse_events: 0;
1317 name: "video_frame_bottom"; 1129 description { state: "default" 0.0;
1318 mouse_events: 0;
1319 description {
1320 state: "default" 0.0;
1321 rel1 { 1130 rel1 {
1322 to: "video_frame_left"; 1131 to: "video_frame_left";
1323 relative: 1.0 1.0; 1132 relative: 1.0 1.0;
@@ -1333,12 +1142,8 @@ collections {
1333 } 1142 }
1334 } 1143 }
1335 } 1144 }
1336 part { 1145 part { name: "video_speed_txt"; type: TEXT; mouse_events: 0;
1337 name: "video_speed_txt"; 1146 description { state: "default" 0.0;
1338 type: TEXT;
1339 mouse_events: 0;
1340 description {
1341 state: "default" 0.0;
1342 rel1 { 1147 rel1 {
1343 to: "video_frame_bottom"; 1148 to: "video_frame_bottom";
1344 relative: 0.0 0.0; 1149 relative: 0.0 0.0;
@@ -1358,13 +1163,9 @@ collections {
1358 }; 1163 };
1359 } 1164 }
1360 } 1165 }
1361 part { 1166 part { name: "video_progress_confine"; mouse_events: 0; type: RECT;
1362 name: "video_progress_confine"; 1167 description { state: "default" 0.0;
1363 mouse_events: 0; 1168 fixed: 1 1;
1364 type: RECT;
1365 description {
1366 state: "default" 0.0;
1367 fixed: 1 1;
1368 min: 1 18; 1169 min: 1 18;
1369 align: 0.5 0.0; 1170 align: 0.5 0.0;
1370 rel1 { 1171 rel1 {
@@ -1380,18 +1181,14 @@ collections {
1380 color: 0 0 0 0; 1181 color: 0 0 0 0;
1381 } 1182 }
1382 } 1183 }
1383 part { 1184 part { name: "video_progress"; type: RECT; mouse_events: 1;
1384 name: "video_progress";
1385 type: RECT;
1386 mouse_events: 1;
1387 dragable { 1185 dragable {
1388 x: 1 1 0; 1186 x: 1 1 0;
1389 y: 0 0 0; 1187 y: 0 0 0;
1390 confine: "video_progress_confine"; 1188 confine: "video_progress_confine";
1391 } 1189 }
1392 description { 1190 description { state: "default" 0.0;
1393 state: "default" 0.0; 1191 fixed: 1 1;
1394 fixed: 1 1;
1395 min: 34 18; 1192 min: 34 18;
1396 rel1 { 1193 rel1 {
1397 to: "video_progress_confine"; 1194 to: "video_progress_confine";
@@ -1406,12 +1203,9 @@ collections {
1406 color: 0 0 0 0; 1203 color: 0 0 0 0;
1407 } 1204 }
1408 } 1205 }
1409 part { 1206 part { name: "video_progress_img"; mouse_events: 0;
1410 name: "video_progress_img"; 1207 description { state: "default" 0.0;
1411 mouse_events: 0; 1208 fixed: 1 1;
1412 description {
1413 state: "default" 0.0;
1414 fixed: 1 1;
1415 min: 42 26; 1209 min: 42 26;
1416 rel1 { 1210 rel1 {
1417 to: "video_progress"; 1211 to: "video_progress";
@@ -1428,12 +1222,8 @@ collections {
1428 } 1222 }
1429 } 1223 }
1430 } 1224 }
1431 part { 1225 part { name: "video_speed_confine"; mouse_events: 0; type: RECT;
1432 name: "video_speed_confine"; 1226 description { state: "default" 0.0;
1433 mouse_events: 0;
1434 type: RECT;
1435 description {
1436 state: "default" 0.0;
1437 rel1 { 1227 rel1 {
1438 to: "video_frame_left"; 1228 to: "video_frame_left";
1439 relative: 1.0 0.0; 1229 relative: 1.0 0.0;
@@ -1447,17 +1237,14 @@ collections {
1447 color: 0 0 0 0; 1237 color: 0 0 0 0;
1448 } 1238 }
1449 } 1239 }
1450 part { 1240 part { name: "video_speed"; mouse_events: 1;
1451 name: "video_speed";
1452 mouse_events: 1;
1453 dragable { 1241 dragable {
1454 x: 0 0 0; 1242 x: 0 0 0;
1455 y: -1 1 0; 1243 y: -1 1 0;
1456 confine: "video_speed_confine"; 1244 confine: "video_speed_confine";
1457 } 1245 }
1458 description { 1246 description { state: "default" 0.0;
1459 state: "default" 0.0; 1247 fixed: 1 1;
1460 fixed: 1 1;
1461 min: 24 24; 1248 min: 24 24;
1462 rel1 { 1249 rel1 {
1463 to: "video_speed_confine"; 1250 to: "video_speed_confine";
@@ -1474,12 +1261,9 @@ collections {
1474 } 1261 }
1475 } 1262 }
1476 } 1263 }
1477 part { 1264 part { name: "video_play"; mouse_events: 1;
1478 name: "video_play"; 1265 description { state: "default" 0.0;
1479 mouse_events: 1; 1266 fixed: 1 1;
1480 description {
1481 state: "default" 0.0;
1482 fixed: 1 1;
1483 min: 24 24; 1267 min: 24 24;
1484 rel1 { 1268 rel1 {
1485 to: "video_frame_bottom"; 1269 to: "video_frame_bottom";
@@ -1496,12 +1280,10 @@ collections {
1496 } 1280 }
1497 } 1281 }
1498 } 1282 }
1499 part { 1283 part { name: "video_pause";
1500 name: "video_pause";
1501 mouse_events: 1; 1284 mouse_events: 1;
1502 description { 1285 description { state: "default" 0.0;
1503 state: "default" 0.0; 1286 fixed: 1 1;
1504 fixed: 1 1;
1505 min: 24 24; 1287 min: 24 24;
1506 rel1 { 1288 rel1 {
1507 to: "video_frame_bottom"; 1289 to: "video_frame_bottom";
@@ -1518,12 +1300,9 @@ collections {
1518 } 1300 }
1519 } 1301 }
1520 } 1302 }
1521 part { 1303 part { name: "video_stop"; mouse_events: 1;
1522 name: "video_stop"; 1304 description { state: "default" 0.0;
1523 mouse_events: 1; 1305 fixed: 1 1;
1524 description {
1525 state: "default" 0.0;
1526 fixed: 1 1;
1527 min: 24 24; 1306 min: 24 24;
1528 rel1 { 1307 rel1 {
1529 to: "video_frame_bottom"; 1308 to: "video_frame_bottom";
@@ -1540,12 +1319,8 @@ collections {
1540 } 1319 }
1541 } 1320 }
1542 } 1321 }
1543 part { 1322 part { name: "video_mover"; mouse_events: 1; type: RECT;
1544 name: "video_mover"; 1323 description { state: "default" 0.0;
1545 mouse_events: 1;
1546 type: RECT;
1547 description {
1548 state: "default" 0.0;
1549 rel1 { 1324 rel1 {
1550 to: "video_frame_top"; 1325 to: "video_frame_top";
1551 relative: 0.0 0.0; 1326 relative: 0.0 0.0;
@@ -1559,12 +1334,8 @@ collections {
1559 color: 255 20 20 20; 1334 color: 255 20 20 20;
1560 } 1335 }
1561 } 1336 }
1562 part { 1337 part { name: "video_resizer"; mouse_events: 1; type: RECT;
1563 name: "video_resizer"; 1338 description { state: "default" 0.0;
1564 mouse_events: 1;
1565 type: RECT;
1566 description {
1567 state: "default" 0.0;
1568 rel1 { 1339 rel1 {
1569 to: "video_frame_right"; 1340 to: "video_frame_right";
1570 relative: 0.0 1.0; 1341 relative: 0.0 1.0;
@@ -1578,13 +1349,9 @@ collections {
1578 color: 20 20 255 20; 1349 color: 20 20 255 20;
1579 } 1350 }
1580 } 1351 }
1581 part { 1352 part { name: "video_progress_txt"; type: TEXT; mouse_events: 0;
1582 name: "video_progress_txt";
1583 type: TEXT;
1584 mouse_events: 0;
1585 effect: OUTLINE; 1353 effect: OUTLINE;
1586 description { 1354 description { state: "default" 0.0;
1587 state: "default" 0.0;
1588 align: 1.0 1.0; 1355 align: 1.0 1.0;
1589 fixed: 1 1; 1356 fixed: 1 1;
1590 rel1 { 1357 rel1 {
@@ -1619,44 +1386,37 @@ collections {
1619 // "video_state" "play" 1386 // "video_state" "play"
1620 // "video_state" "pause" 1387 // "video_state" "pause"
1621 // "video_state" "stop" 1388 // "video_state" "stop"
1622 program { 1389 program { name: "video_play";
1623 name: "video_play";
1624 signal: "mouse,down,1"; 1390 signal: "mouse,down,1";
1625 source: "video_play"; 1391 source: "video_play";
1626 action: SIGNAL_EMIT "video_control" "play"; 1392 action: SIGNAL_EMIT "video_control" "play";
1627 } 1393 }
1628 program { 1394 program { name: "video_pause";
1629 name: "video_pause";
1630 signal: "mouse,down,1"; 1395 signal: "mouse,down,1";
1631 source: "video_pause"; 1396 source: "video_pause";
1632 action: SIGNAL_EMIT "video_control" "pause"; 1397 action: SIGNAL_EMIT "video_control" "pause";
1633 } 1398 }
1634 program { 1399 program { name: "video_stop";
1635 name: "video_stop";
1636 signal: "mouse,down,1"; 1400 signal: "mouse,down,1";
1637 source: "video_stop"; 1401 source: "video_stop";
1638 action: SIGNAL_EMIT "video_control" "stop"; 1402 action: SIGNAL_EMIT "video_control" "stop";
1639 } 1403 }
1640 program { 1404 program { name: "video_move_start";
1641 name: "video_move_start";
1642 signal: "mouse,down,*"; 1405 signal: "mouse,down,*";
1643 source: "video_mover"; 1406 source: "video_mover";
1644 action: SIGNAL_EMIT "frame_move" "start"; 1407 action: SIGNAL_EMIT "frame_move" "start";
1645 } 1408 }
1646 program { 1409 program { name: "video_move_stop";
1647 name: "video_move_stop";
1648 signal: "mouse,up,*"; 1410 signal: "mouse,up,*";
1649 source: "video_mover"; 1411 source: "video_mover";
1650 action: SIGNAL_EMIT "frame_move" "stop"; 1412 action: SIGNAL_EMIT "frame_move" "stop";
1651 } 1413 }
1652 program { 1414 program { name: "video_resize_start";
1653 name: "video_resize_start";
1654 signal: "mouse,down,*"; 1415 signal: "mouse,down,*";
1655 source: "video_resizer"; 1416 source: "video_resizer";
1656 action: SIGNAL_EMIT "frame_resize" "start"; 1417 action: SIGNAL_EMIT "frame_resize" "start";
1657 } 1418 }
1658 program { 1419 program { name: "video_resize_stop";
1659 name: "video_resize_stop";
1660 signal: "mouse,up,*"; 1420 signal: "mouse,up,*";
1661 source: "video_resizer"; 1421 source: "video_resizer";
1662 action: SIGNAL_EMIT "frame_resize" "stop"; 1422 action: SIGNAL_EMIT "frame_resize" "stop";