Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : apps/elicit

Dir     : e17/apps/elicit/data/themes/summer/parts


Modified Files:
        panel.about.edc panel.color.edc panel.shots.edc 
        panel.theme.edc 


Log Message:

avoid resizing the containers on open/close (drastic speedup, but still a bit slow).
fix layout of panel contents to a nonchanging rect, so they look like they're actually 
sliding under the outside parts

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/apps/elicit/data/themes/summer/parts/panel.about.edc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- panel.about.edc     12 Aug 2004 22:26:29 -0000      1.1
+++ panel.about.edc     13 Aug 2004 03:05:25 -0000      1.2
@@ -32,13 +32,13 @@
   description {
     color: TEXT_COLOR 255;
     rel1 {
-      to: "tabs.trough";
-      relative: 0 1;
+      to: "shots.box";
+      relative: 0 0;
       offset: 4 4;
     }
     rel2 {
-      to: "tabs.trough";
-      relative: 1 1;
+      to: "shots.box";
+      relative: 1 0;
       offset: -3 10;
     }
     text {
@@ -56,13 +56,13 @@
   description {
     color: TEXT_COLOR 255;
     rel1 {
-      to_x: "tabs.trough";
+      to_x: "shots.box";
       to_y: "about.1";
       relative: 0 1;
       offset: 4 4;
     }
     rel2 {
-      to_x: "tabs.trough";
+      to_x: "shots.box";
       to_y: "about.1";
       relative: 1 1;
       offset: -3 10;
@@ -82,13 +82,13 @@
   description {
     color: TEXT_COLOR 255;
     rel1 {
-      to_x: "tabs.trough";
+      to_x: "shots.box";
       to_y: "panel.inset";
       relative: 0 1;
       offset: 4 -10;
     }
     rel2 {
-      to_x: "tabs.trough";
+      to_x: "shots.box";
       to_y: "panel.inset";
       relative: 1 1;
       offset: -3 -4;
@@ -109,13 +109,13 @@
     min: 23 23;
     max: 23 23;
     rel1 {
-      to_x: "tabs.trough";
+      to_x: "shots.box";
       to_y: "about.2";
       relative: 0 1;
       offset: 4 2;
     }
     rel2 {
-      to_x: "tabs.trough";
+      to_x: "shots.box";
       to_y: "about.3";
       relative: 1 0;
       offset: -10 -2;
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/apps/elicit/data/themes/summer/parts/panel.color.edc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- panel.color.edc     12 Aug 2004 22:26:29 -0000      1.1
+++ panel.color.edc     13 Aug 2004 03:05:25 -0000      1.2
@@ -26,6 +26,31 @@
   }
 }
 
+/* layout everything relative to this */
+part {
+  name: "color.box";
+  type: RECT;
+  clip_to: "color.clip";
+  description {
+    state: "default" 0.0;
+    color: 255 255 255 0;
+    min: 91 63;
+    max: 91 63;
+    visible, 0;
+    rel1 {
+      to: "tabs.trough";
+      relative: 0 1;
+      offset: 0 1;
+    }
+    rel2 {
+      to: "panel.clip";
+      relative: 1 1;
+      offset: -2 -2;
+    }
+  }
+}
+
+
 #if 1
 part {
   name: "red.label";
@@ -35,13 +60,13 @@
     state: "default" 0.0;
     color: TEXT_COLOR 255;
     rel1 {
-      to_x: "panel.inset";
+      to_x: "color.box";
       to_y: "tabs.trough";
       relative: 0 1;
       offset: 4 2;
     }
     rel2 {
-      to_x: "panel.inset";
+      to_x: "color.box";
       to_y: "tabs.trough";
       relative: 0 1;
       offset: 12 10;
@@ -162,13 +187,13 @@
     state: "default" 0.0;
     color: TEXT_COLOR 255;
     rel1 {
-      to_x: "panel.inset";
+      to_x: "color.box";
       to_y: "tabs.trough";
       relative: 1 1;
       offset: -13 2;
     }
     rel2 {
-      to_x: "panel.inset";
+      to_x: "color.box";
       to_y: "tabs.trough";
       relative: 1 1;
       offset: -5 10;
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/apps/elicit/data/themes/summer/parts/panel.shots.edc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- panel.shots.edc     12 Aug 2004 22:26:29 -0000      1.1
+++ panel.shots.edc     13 Aug 2004 03:05:25 -0000      1.2
@@ -6,10 +6,14 @@
     color: 255 255 255 0;
     visible, 0;
     rel1 {
-      to: "panel.clip";
+      to: "tabs.trough";
+      relative: 0 1;
+      offset: 0 1;
     }
     rel2 {
       to: "panel.clip";
+      relative: 1 1;
+      offset: -2 -2;
     }
   }
   description {
@@ -17,26 +21,54 @@
     color: 255 255 255 255;
     visible, 1;
     rel1 {
-      to: "panel.clip";
+      to: "tabs.trough";
+      relative: 0 1;
+      offset: 0 1;
     }
     rel2 {
       to: "panel.clip";
+      relative: 1 1;
+      offset: -2 -2;
     }
   }
 }
+/* layout everything relative to this */
 part {
-  name: "swatches.trough";
+  name: "shots.box";
+  type: RECT;
   clip_to: "shots.clip";
   description {
     state: "default" 0.0;
+    color: 255 255 255 128;
+    min: 91 0;
+    max: 91 9999;
+    visible, 0;
     rel1 {
       to: "tabs.trough";
       relative: 0 1;
-      offset: 0 5;
+      offset: 0 1;
     }
     rel2 {
-      to: "tabs.trough";
+      to: "panel.clip";
       relative: 1 1;
+      offset: -2 -2;
+    }
+  }
+}
+
+part {
+  name: "swatches.trough";
+  clip_to: "shots.clip";
+  description {
+    state: "default" 0.0;
+    rel1 {
+      to: "shots.box";
+      relative: 0 0;
+      offset: 0 5;
+    }
+    rel2 {
+      to: "shots.box";
+      relative: 1 0;
       offset: -1 25;
     }
     image {
@@ -68,14 +100,12 @@
     state: "default" 0.0;
     max: 9999 32;
     rel1 {
-      to_x: "tabs.trough";
-      to_y: "swatches.trough";
+      to: "swatches.trough";
       relative: 0 1;
       offset: 0 4;
     }
     rel2 {
-      to_x: "tabs.trough";
-      to_y: "swatches.trough";
+      to: "swatches.trough";
       relative: 1 1;
       offset: -1 34;
     }
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/apps/elicit/data/themes/summer/parts/panel.theme.edc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- panel.theme.edc     12 Aug 2004 22:26:29 -0000      1.1
+++ panel.theme.edc     13 Aug 2004 03:05:25 -0000      1.2
@@ -30,11 +30,12 @@
   clip_to: "theme.clip";
   description {
     state: "default" 0.0;
+    min: 91 0;
+    max: 91 9999;
     rel1 {
-      to_x: "tabs.trough";
-      to_y: "theme.label";
+      to: "tabs.trough";
       relative: 0 1;
-      offset: 0 3;
+      offset: 0 13;
     }
     rel2 {
       to_x: "tabs.trough";
@@ -56,12 +57,14 @@
   description {
     color: TEXT_COLOR 255;
     rel1 {
-      to: "tabs.trough";
+      to_x: "theme.trough";
+      to_y: "tabs.trough";
       relative: 0 1;
       offset: 4 3;
     }
     rel2 {
-      to: "tabs.trough";
+      to_x: "theme.trough";
+      to_y: "tabs.trough";
       relative: 1 1;
       offset: -3 9;
     }




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to