summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2013-07-04 09:25:10 +0000
committerCarsten Haitzler <raster@rasterman.com>2013-07-04 09:25:10 +0000
commit0dc589f3d6d84a594d4354feb61b7360f38c94c7 (patch)
tree005d756f335cf9185bb38b970738b6ea56059ac5
parent95b9175889c9f3952db72c0cb05686d272935d7e (diff)
more work on list - horizontal... only started. not done.
SVN revision: 84574
-rw-r--r--trunk/THEMES/dark/edje/edc/elm/list.edc307
1 files changed, 307 insertions, 0 deletions
diff --git a/trunk/THEMES/dark/edje/edc/elm/list.edc b/trunk/THEMES/dark/edje/edc/elm/list.edc
index 89ec5b6b1c..cf6f0ff74c 100644
--- a/trunk/THEMES/dark/edje/edc/elm/list.edc
+++ b/trunk/THEMES/dark/edje/edc/elm/list.edc
@@ -395,6 +395,313 @@ COMPRESS_ODD("elm/list/item_compress_odd/default", "elm/list/item/default")
395// elm/list/h_item_compress/default 395// elm/list/h_item_compress/default
396// elm/list/h_item_compress_odd/default 396// elm/list/h_item_compress_odd/default
397 397
398
399
400
401
402
403
404
405
406
407
408
409
410
411group { name: "elm/list/h_item/default";
412 data.item: "selectraise" "on";
413 images.image: "bevel_curved_horiz_out.png" COMP;
414 images.image: "shadow_rounded_horiz.png" COMP;
415 images.image: "vgrad_med_dark.png" COMP;
416 images.image: "bevel_horiz_out.png" COMP;
417 images.image: "shine.png" COMP;
418 parts {
419 part { name: "event"; type: RECT;
420 description { state: "default" 0.0;
421 color: 0 0 0 0;
422 }
423 description { state: "disabled" 0.0;
424 inherit: "default" 0.0;
425 visible: 0;
426 }
427 }
428 part { name: "base"; type: RECT; mouse_events: 0;
429 description { state: "default" 0.0;
430 color: 64 64 64 255;
431 color_class: "list_item_base";
432 }
433 description { state: "odd" 0.0;
434 color: 56 56 56 255;
435 color_class: "list_item_base_odd";
436 }
437 }
438 program {
439 signal: "elm,state,odd"; source: "elm";
440 action: STATE_SET "odd" 1.0;
441 target: "base";
442 }
443 program {
444 signal: "elm,state,even"; source: "elm";
445 action: STATE_SET "default" 0.0;
446 target: "base";
447 }
448 part { name: "bevel"; mouse_events: 0;
449 description { state: "default" 0.0;
450 image.normal: "bevel_curved_horiz_out.png";
451 image.border: 0 0 2 2;
452 image.middle: 0;
453 fill.smooth: 0;
454 }
455 }
456 part { name: "sel_shadow"; mouse_events: 0;
457 description { state: "default" 0.0;
458 image.normal: "shadow_rounded_horiz.png";
459 image.border: 0 0 9 9;
460 rel1.offset: 0 -4;
461 rel2.offset: -1 5;
462 fill.smooth: 0;
463 visible: 0;
464 }
465 description { state: "selected" 0.0;
466 inherit: "default" 0.0;
467 visible: 1;
468 }
469 }
470 part { name: "sel_base"; mouse_events: 0;
471 description { state: "default" 0.0;
472 image.normal: "vgrad_med_dark.png";
473 fill.smooth: 0;
474 visible: 0;
475 TILED_HORIZ(120)
476 }
477 description { state: "selected" 0.0;
478 inherit: "default" 0.0;
479 visible: 1;
480 }
481 }
482 part { name: "sel_bevel"; mouse_events: 0;
483 description { state: "default" 0.0;
484 image.normal: "bevel_horiz_out.png";
485 image.border: 0 0 2 2;
486 image.middle: 0;
487 fill.smooth: 0;
488 visible: 0;
489 }
490 description { state: "selected" 0.0;
491 inherit: "default" 0.0;
492 visible: 1;
493 }
494 }
495 program {
496 signal: "elm,state,selected"; source: "elm";
497 action: STATE_SET "selected" 0.0;
498 target: "sel_shadow";
499 target: "sel_base";
500 target: "sel_bevel";
501 }
502 program {
503 signal: "elm,state,unselected"; source: "elm";
504 action: STATE_SET "default" 0.0;
505 target: "sel_shadow";
506 target: "sel_base";
507 target: "sel_bevel";
508 }
509 program {
510 signal: "elm,state,disabled"; source: "elm";
511 action: STATE_SET "disabled" 0.0;
512 target: "event";
513 }
514 program {
515 signal: "elm,state,enabled"; source: "elm";
516 action: STATE_SET "default" 0.0;
517 target: "event";
518 }
519
520 //##//
521 part { name: "elm.text"; type: TEXT; mouse_events: 0;
522 effect: SHADOW BOTTOM;
523 scale: 1;
524 description { state: "default" 0.0;
525 rel1.offset: 2 3;
526 rel1.relative: 1.0 0.0;
527 rel1.to_x: "elm.swallow.icon";
528 rel2.offset: -3 -3;
529 rel2.relative: 0.0 1.0;
530 rel2.to_x: "elm.swallow.end";
531 color: 255 255 255 255;
532 color3: 0 0 0 128;
533 color_class: "list_item";
534 text { font: "Sans"; size: 10;
535 min: 1 1;
536 align: 0.0 0.5;
537 text_class: "list_item";
538 }
539 }
540 description { state: "selected" 0.0;
541 inherit: "default" 0.0;
542 visible: 0;
543 }
544 description { state: "disabled" 0.0;
545 inherit: "default" 0.0;
546 visible: 0;
547 }
548 }
549 part { name: "label2"; type: TEXT; mouse_events: 0;
550 effect: SHADOW BOTTOM;
551 scale: 1;
552 description { state: "default" 0.0;
553 rel1.to: "elm.text";
554 rel2.to: "elm.text";
555 color: 21 21 21 255;
556 color3: 255 255 255 25;
557 color_class: "list_item_disabled";
558 text { font: "Sans"; size: 10;
559 text_source: "elm.text";
560 align: 0.0 0.5;
561 text_class: "list_item";
562 }
563 visible: 0;
564 }
565 description { state: "selected" 0.0;
566 inherit: "default" 0.0;
567 visible: 0;
568 }
569 description { state: "disabled" 0.0;
570 inherit: "default" 0.0;
571 visible: 1;
572 }
573 }
574 part { name: "label3"; type: TEXT; mouse_events: 0;
575 effect: GLOW;
576 scale: 1;
577 description { state: "default" 0.0;
578 rel1.offset: -2 -3;
579 rel1.to: "elm.text";
580 rel2.offset: -1 1;
581 rel2.to: "elm.text";
582 color: 51 153 255 255;
583 color2: 51 153 255 24;
584 color3: 51 153 255 18;
585 color_class: "list_item_selected";
586 text { font: "Sans"; size: 10;
587 text_source: "elm.text";
588 align: 0.0 0.5;
589 text_class: "list_item";
590 }
591 visible: 0;
592 }
593 description { state: "selected" 0.0;
594 inherit: "default" 0.0;
595 visible: 1;
596 }
597 description { state: "disabled" 0.0;
598 inherit: "default" 0.0;
599 visible: 0;
600 }
601 }
602 program {
603 signal: "elm,state,selected"; source: "elm";
604 action: STATE_SET "selected" 0.0;
605 target: "elm.text";
606 target: "label2";
607 target: "label3";
608 }
609 program {
610 signal: "elm,state,unselected"; source: "elm";
611 action: STATE_SET "default" 0.0;
612 target: "elm.text";
613 target: "label2";
614 target: "label3";
615 }
616 program {
617 signal: "elm,state,disabled"; source: "elm";
618 action: STATE_SET "disabled" 0.0;
619 target: "elm.text";
620 target: "label2";
621 target: "label3";
622 }
623 program {
624 signal: "elm,state,enabled"; source: "elm";
625 action: STATE_SET "default" 0.0;
626 target: "elm.text";
627 target: "label2";
628 target: "label3";
629 }
630 //##//
631 part { name: "elm.swallow.icon"; type: SWALLOW;
632 description { state: "default" 0.0;
633 fixed: 1 0;
634 align: 0.0 0.5;
635 aspect: 1.0 1.0;
636 rel1.offset: 2 2;
637 rel2.relative: 0.0 1.0;
638 rel2.offset: 2 -3;
639 }
640 }
641 part { name: "elm.swallow.end"; type: SWALLOW;
642 description { state: "default" 0.0;
643 fixed: 1 0;
644 align: 1.0 0.5;
645 aspect: 1.0 1.0;
646 rel1.offset: -3 2;
647 rel1.relative: 1.0 0.0;
648 rel2.offset: -3 -3;
649 }
650 }
651 //##//
652
653 part { name: "sel_shine"; mouse_events: 0;
654 description { state: "default" 0.0;
655 image.normal: "shine.png";
656 rel1.offset: 0 -2;
657 rel1.to: "sel_base";
658 rel2.relative: 1.0 0.0;
659 rel2.offset: -1 2;
660 rel2.to: "sel_base";
661 visible: 0;
662 FIXED_SIZE(69, 5)
663 }
664 description { state: "selected" 0.0;
665 inherit: "default" 0.0;
666 visible: 1;
667 }
668 }
669 part { name: "event_block"; type: RECT;
670 description { state: "default" 0.0;
671 color: 0 0 0 0;
672 visible: 0;
673 }
674 description { state: "disabled" 0.0;
675 inherit: "default" 0.0;
676 visible: 1;
677 }
678 }
679 program {
680 signal: "elm,state,selected"; source: "elm";
681 action: STATE_SET "selected" 0.0;
682 target: "sel_shine";
683 }
684 program {
685 signal: "elm,state,unselected"; source: "elm";
686 action: STATE_SET "default" 0.0;
687 target: "sel_shine";
688 }
689 program {
690 signal: "elm,state,disabled"; source: "elm";
691 action: STATE_SET "disabled" 0.0;
692 target: "event_block";
693 }
694 program {
695 signal: "elm,state,enabled"; source: "elm";
696 action: STATE_SET "default" 0.0;
697 target: "event_block";
698 }
699 }
700}
701ODD("elm/list/h_item_odd/default", "elm/list/h_item/default")
702COMPRESS("elm/list/h_item_compress/default", "elm/list/h_item/default")
703COMPRESS_ODD("elm/list/h_item_compress_odd/default", "elm/list/h_item/default")
704
398#undef ODD 705#undef ODD
399#undef COMPRESS 706#undef COMPRESS
400#undef COMPRESS_ODD 707#undef COMPRESS_ODD