summaryrefslogtreecommitdiff
path: root/legacy/elementary/data
diff options
context:
space:
mode:
authorRajeev Ranjan <rajeev.r@samsung.com>2012-02-13 04:19:22 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-02-13 04:19:22 +0000
commit7f80b6c11041f298bf7cdcc75952b7185e21a9e5 (patch)
treee0653fa0f57ad012624f9f650788505cea76077f /legacy/elementary/data
parenta36ff02e72aba5164365935d3b4ef1dfe6ed9da0 (diff)
From: Rajeev Ranjan <rajeev.r@samsung.com>
Subject: [E-devel] [Patch] elm_panes patch Attached to the mail is patch for Elementary Widget elm_panes. This patch addresses the issue of API elm_panes_fixed_set not working as the signal required to do so is not handled in default theme. SVN revision: 67867
Diffstat (limited to 'legacy/elementary/data')
-rw-r--r--legacy/elementary/data/themes/widgets/panes.edc90
1 files changed, 70 insertions, 20 deletions
diff --git a/legacy/elementary/data/themes/widgets/panes.edc b/legacy/elementary/data/themes/widgets/panes.edc
index 495c40a..10423e8 100644
--- a/legacy/elementary/data/themes/widgets/panes.edc
+++ b/legacy/elementary/data/themes/widgets/panes.edc
@@ -6,8 +6,6 @@ group {
6 image: "bt_hilight.png" COMP; 6 image: "bt_hilight.png" COMP;
7 image: "bt_shine.png" COMP; 7 image: "bt_shine.png" COMP;
8 image: "bt_glow.png" COMP; 8 image: "bt_glow.png" COMP;
9 image: "bt_dis_base.png" COMP;
10 image: "bt_dis_hilight.png" COMP;
11 image: "arrow_right.png" COMP; 9 image: "arrow_right.png" COMP;
12 image: "arrow_left.png" COMP; 10 image: "arrow_left.png" COMP;
13 } 11 }
@@ -103,10 +101,7 @@ group {
103 } 101 }
104 description { state: "disabled" 0.0; 102 description { state: "disabled" 0.0;
105 inherit: "default" 0.0; 103 inherit: "default" 0.0;
106 image { 104 visible: 0;
107 normal: "bt_dis_base.png";
108 border: 4 4 4 4;
109 }
110 } 105 }
111 } 106 }
112 part { name: "over1"; 107 part { name: "over1";
@@ -122,10 +117,7 @@ group {
122 } 117 }
123 description { state: "disabled" 0.0; 118 description { state: "disabled" 0.0;
124 inherit: "default" 0.0; 119 inherit: "default" 0.0;
125 image { 120 visible: 0;
126 normal: "bt_dis_hilight.png";
127 border: 4 4 4 0;
128 }
129 } 121 }
130 } 122 }
131 part { name: "over2"; 123 part { name: "over2";
@@ -164,6 +156,19 @@ group {
164 color: 255 255 255 255; 156 color: 255 255 255 255;
165 } 157 }
166 } 158 }
159 part { name:"bar_disabled";
160 type: RECT;
161 description { state:"default" 0.0;
162 rel1.to_x: "elm.bar";
163 rel2.to_x: "elm.bar";
164 color: 0 0 0 0;
165 visible: 0;
166 }
167 description { state: "disabled" 0.0;
168 inherit: "default" 0.0;
169 visible: 1;
170 }
171 }
167 172
168 //Arrow 173 //Arrow
169 part { 174 part {
@@ -463,6 +468,26 @@ group {
463 } 468 }
464 } 469 }
465 } 470 }
471 //fix the pane
472 program {
473 name: "panes_fixed";
474 signal: "elm.panes.fixed";
475 source: "elm";
476 action: STATE_SET "disabled" 0.0;
477 target: "elm.bar";
478 target: "over1";
479 target: "bar_disabled";
480 }
481 //allow the movement by interaction
482 program {
483 name: "panes_unfixed";
484 signal: "elm.panes.unfixed";
485 source: "elm";
486 action: STATE_SET "default" 0.0;
487 target: "elm.bar";
488 target: "over1";
489 target: "bar_disabled";
490 }
466 } 491 }
467} 492}
468 493
@@ -474,8 +499,6 @@ group {
474 image: "bt_hilight.png" COMP; 499 image: "bt_hilight.png" COMP;
475 image: "bt_shine.png" COMP; 500 image: "bt_shine.png" COMP;
476 image: "bt_glow.png" COMP; 501 image: "bt_glow.png" COMP;
477 image: "bt_dis_base.png" COMP;
478 image: "bt_dis_hilight.png" COMP;
479 image: "arrow_up.png" COMP; 502 image: "arrow_up.png" COMP;
480 image: "arrow_down.png" COMP; 503 image: "arrow_down.png" COMP;
481 } 504 }
@@ -571,10 +594,7 @@ group {
571 } 594 }
572 description { state: "disabled" 0.0; 595 description { state: "disabled" 0.0;
573 inherit: "default" 0.0; 596 inherit: "default" 0.0;
574 image { 597 visible: 0;
575 normal: "bt_dis_base.png";
576 border: 4 4 4 4;
577 }
578 } 598 }
579 } 599 }
580 part { name: "over1"; 600 part { name: "over1";
@@ -590,10 +610,7 @@ group {
590 } 610 }
591 description { state: "disabled" 0.0; 611 description { state: "disabled" 0.0;
592 inherit: "default" 0.0; 612 inherit: "default" 0.0;
593 image { 613 visible: 0;
594 normal: "bt_dis_hilight.png";
595 border: 4 4 4 0;
596 }
597 } 614 }
598 } 615 }
599 part { name: "over2"; 616 part { name: "over2";
@@ -632,6 +649,19 @@ group {
632 color: 255 255 255 255; 649 color: 255 255 255 255;
633 } 650 }
634 } 651 }
652 part { name:"bar_disabled";
653 type: RECT;
654 description { state:"default" 0.0;
655 rel1.to_y: "elm.bar";
656 rel2.to_y: "elm.bar";
657 color: 0 0 0 0;
658 visible: 0;
659 }
660 description { state: "disabled" 0.0;
661 inherit: "default" 0.0;
662 visible: 1;
663 }
664 }
635 665
636 //Arrow 666 //Arrow
637 part { 667 part {
@@ -796,6 +826,26 @@ group {
796 target: "arrow_left"; 826 target: "arrow_left";
797 transition: DECELERATE 0.4; 827 transition: DECELERATE 0.4;
798 } 828 }
829 //fix the pane
830 program {
831 name: "panes_fixed";
832 signal: "elm.panes.fixed";
833 source: "elm";
834 action: STATE_SET "disabled" 0.0;
835 target: "elm.bar";
836 target: "over1";
837 target: "bar_disabled";
838 }
839 //allow the movement by interaction
840 program {
841 name: "panes_unfixed";
842 signal: "elm.panes.unfixed";
843 source: "elm";
844 action: STATE_SET "default" 0.0;
845 target: "elm.bar";
846 target: "over1";
847 target: "bar_disabled";
848 }
799 } 849 }
800} 850}
801 851