summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Aguirre <aguirre.nicolas@gmail.com>2011-06-07 17:04:01 +0000
committerNicolas Aguirre <aguirre.nicolas@gmail.com>2011-06-07 17:04:01 +0000
commitef0b85bbaeed4cd2a757ba382c20abd7c0c64f70 (patch)
tree3f0edaa869f2393d6014d622b377c37a73c3d93b
parent4a27564d6c8d5e170c95efad2a723d2ff7802113 (diff)
Elfe: Better grid layout for all applications
SVN revision: 60045
-rw-r--r--data/themes/default/elm.edc191
1 files changed, 84 insertions, 107 deletions
diff --git a/data/themes/default/elm.edc b/data/themes/default/elm.edc
index 4aed94a..d46159b 100644
--- a/data/themes/default/elm.edc
+++ b/data/themes/default/elm.edc
@@ -708,141 +708,118 @@ group { name: "elm/gengrid/item/default/default";
708 708
709 } 709 }
710 parts { 710 parts {
711 part { 711 images {
712 name: "event"; 712 image: "app_text_bg.png" COMP;
713 type: RECT;
714 repeat_events: 1;
715 description {
716 state: "default" 0.0;
717 color: 0 0 0 0;
718
719 }
720 } 713 }
714
721 part { 715 part {
722 name: "base"; 716 name: "clip";
723 mouse_events: 0;
724 type: RECT; 717 type: RECT;
725 description { 718 description {
726 state: "default" 0.0; 719 state: "default" 0.0;
727 color: 255 255 255 0;
728 //rel1.offset: 16 16;
729 //rel2.offset: -15 -15;
730 }
731 }
732 part { name: "bg";
733 mouse_events: 0;
734 description { state: "default" 0.0;
735 visible: 0;
736 color: 255 255 255 0;
737 image {
738 normal: "sel_bg.png";
739 border: 15 15 15 15;
740 }
741 rel1.to: "base";
742 rel2.to: "base";
743 }
744 description { state: "selected" 0.0;
745 inherit: "default" 0.0;
746 visible: 1;
747 color: 255 255 255 255; 720 color: 255 255 255 255;
748 rel1.to: "base";
749 rel2.to: "base";
750 } 721 }
751 } 722 description {
752 part { name: "elm.swallow.icon"; 723 state: "active" 0.0;
753 clip_to: "disclip"; 724 color: 255 255 255 100;
754 type: SWALLOW;
755 description { state: "default" 0.0;
756 aspect: 1 1;
757 aspect_preference: BOTH;
758 align: 0.5 0.5;
759 rel1 {
760 to: "bg";
761 relative: 0.0 0.0;
762 offset: 4 4;
763 }
764 rel2 {
765 to_y: "elm.text";
766 relative: 1.0 0.0;
767 offset: -3 -3;
768 }
769 } 725 }
770 } 726 }
771 727
772 part { name: "elm.text"; 728 part {
773 type: TEXT; 729 name: "text.bg";
774 mouse_events: 0; 730 clip_to: "clip";
731 description {
732 rel1.to: "elm.text";
733 rel1.offset: -2 -1;
734 rel2.to: "elm.text";
735 rel2.offset: 1 -1;
736 image.normal: "app_text_bg.png";
737 image.border: 4 4 4 4;
738 }
739 }
740 part {
741 name: "elm.text";
742 type: TEXT;
743 effect: SHADOW;
744 clip_to: "clip";
775 scale: 1; 745 scale: 1;
776 description { 746 description {
777 state: "default" 0.0; 747 state: "default" 0.0;
778 rel1 { 748 rel1.relative: 0 1;
779 relative: 0.0 1.0; 749 rel1.offset: 4 2;
780 to: "base"; 750 rel1.to_y: "elm.swallow.icon";
781 } 751 rel2.relative: 1 1;
782 rel2 { 752 rel2.offset: -4 -2;
783 relative: 1.0 1.0; 753 color3: 0 0 0 0;
784 to: "base"; 754 color: 220 220 220 0;
785 } 755 visible: 0;
786 align: 0 1; 756 align: 0.5 0;
787 color: 200 200 200 255;
788 text { 757 text {
789 font: "Sans"; 758 font: "Sans";
790 size: 10; 759 size: 10;
791 min: 0 1; 760 min: 0 1;
792 align: 0.5 0.5; 761 max: 1 1;
793 } 762 }
794 } 763 }
795 description { state: "selected" 0.0; 764 description {
796 inherit: "default" 0.0; 765 state: "normal" 0.0;
797 color: 255 255 255 255; 766 rel1.relative: 0 1;
798 color3: 0 0 0 64; 767 rel1.offset: 4 2;
768 rel1.to_y: "elm.swallow.icon";
769 rel2.relative: 1 1;
770 rel2.offset: -4 -2;
771 align: 0.5 0;
772 color3: 0 0 0 200;
773 color: 220 220 220 255;
774 text {
775 font: "Sans";
776 size: 10;
777 min: 0 1;
778 max: 1 1;
779 }
799 } 780 }
800 } 781 }
801 782
802 783 part {
803 part { name: "disclip"; 784 name: "elm.swallow.icon";
804 type: RECT; 785 type: SWALLOW;
805 description { state: "default" 0.0; 786 clip_to: "clip";
787 description {
788 state: "default" 0.0;
806 } 789 }
807 description { state: "disabled" 0.0; 790 program {
808 inherit: "default" 0.0; 791 name: "bt_click";
809 color: 255 255 255 64; 792 signal: "mouse,clicked,1";
793 source: "elm.swallow.icon";
794 action: SIGNAL_EMIT "elfe,action,click" "";
795 }
796 program {
797 name: "bt_down";
798 signal: "mouse,down,1";
799 source: "elm.swallow.icon";
800 action: STATE_SET "active" 0.0;
801 transition: ACCELERATE 0.5;
802 target: "clip";
803 }
804 program {
805 name: "bt_up";
806 signal: "mouse,up,1";
807 source: "elm.swallow.icon";
808 action: STATE_SET "default" 0.0;
809 transition: ACCELERATE 0.5;
810 target: "clip";
810 } 811 }
811 } 812 }
813
814
812 } 815 }
813 programs { 816 programs {
814 program { 817 program {
815 name: "go_disabled"; 818 name: "load,text";
816 signal: "elm,state,disabled"; 819 signal: "load";
817 source: "elm"; 820 action: STATE_SET "normal" 0.0;
818 action: STATE_SET "disabled" 0.0; 821 target: "elm.text";
819 target: "disclip"; 822 transition: ACCELERATE 0.2;
820 }
821 program {
822 name: "go_enabled";
823 signal: "elm,state,enabled";
824 source: "elm";
825 action: STATE_SET "default" 0.0;
826 target: "disclip";
827 }
828 program {
829 name: "go_active";
830 signal: "elm,state,selected";
831 source: "elm";
832 action: STATE_SET "selected" 0.0;
833 target: "bg";
834
835 target: "elm.text";
836 }
837 program {
838 name: "go_passive";
839 signal: "elm,state,unselected";
840 source: "elm";
841 action: STATE_SET "default" 0.0;
842 target: "bg";
843
844 target: "elm.text";
845 transition: LINEAR 0.1;
846 } 823 }
847 } 824 }
848} 825}