Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/data/themes


Modified Files:
        default_shelf.edc 


Log Message:


a lot of patches - also my work on moving the IO stuff in e_fm to a slave
process to stop e from ever "locking up". this unfortunately breaks the other
source stuff and thus breaks the app editor config dialogs and anything using
fm2 for .desktop stuff from the e applications/all repo. i am doing this as i
expect this to go away with efreet anyway so not too much of an issue. not
all fm operatiosn work currently - note. so beware. it can view files though :)

===================================================================
RCS file: /cvs/e/e17/apps/e/data/themes/default_shelf.edc,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- default_shelf.edc   1 Sep 2006 19:31:32 -0000       1.14
+++ default_shelf.edc   2 Mar 2007 17:00:20 -0000       1.15
@@ -15,10 +15,101 @@
    }
    parts {
       part {
+        name:          "item_clip_bottom";
+        type:          RECT;
+        mouse_events:  0;
+        description {
+           state:    "default" 0.0;
+           color: 255 255 255 0;
+        }
+        description {
+           state:    "hidden" 0.0;
+           inherit: "default" 0.0;
+           rel1 {
+              relative: 0.0 1.0;
+              offset: 0 -2;
+           }
+           rel2 {
+              relative: 1.0 2.0;
+              offset: -1 -3;
+           }
+        }
+      }
+      part {
+        name:          "item_clip_top";
+        type:          RECT;
+        mouse_events:  0;
+        description {
+           state:    "default" 0.0;
+           color: 255 255 255 0;
+        }
+        description {
+           state:    "hidden" 0.0;
+           inherit: "default" 0.0;
+           rel1 {
+              relative: 0.0 -1.0;
+              offset: 0 2;
+           }
+           rel2 {
+              relative: 1.0 0.0;
+              offset: -1 1;
+           }
+        }
+      }
+      part {
+        name:          "item_clip_left";
+        type:          RECT;
+        mouse_events:  0;
+        description {
+           state:    "default" 0.0;
+           color: 255 255 255 0;
+        }
+        description {
+           state:    "hidden" 0.0;
+           inherit: "default" 0.0;
+           rel1 {
+              relative: -1.0 0.0;
+              offset: 2 0;
+           }
+           rel2 {
+              relative: 0.0 1.0;
+              offset: 1 -1;
+           }
+        }
+      }
+      part {
+        name:          "item_clip_right";
+        type:          RECT;
+        mouse_events:  0;
+        description {
+           state:    "default" 0.0;
+           color: 255 255 255 0;
+        }
+        description {
+           state:    "hidden" 0.0;
+           inherit: "default" 0.0;
+           rel1 {
+              relative: 1.0 0.0;
+              offset: -2 0;
+           }
+           rel2 {
+              relative: 2.0 1.0;
+              offset: -3 -1;
+           }
+        }
+      }
+      part {
         name:          "base";
         mouse_events:  0;
+//      clip_to:       "item_clip";
         description {
            state:    "default" 0.0;
+           rel1 {
+              to: "item_clip_top";
+           }
+           rel2 {
+              to: "item_clip_top";
+           }
            image {
               normal: "e17_shelf_bg_h.png";
               border: 19 19 9 9;
@@ -35,6 +126,12 @@
         description {
            state:    "top_left" 0.0;
            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_top";
+           }
+           rel2 {
+              to: "item_clip_top";
+           }
            fill {
               origin {
                  offset: -16 -6;
@@ -47,6 +144,12 @@
         description {
            state:    "top_right" 0.0;
            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_top";
+           }
+           rel2 {
+              to: "item_clip_top";
+           }
            fill {
               origin {
                  offset: 0 -6;
@@ -59,6 +162,12 @@
         description {
            state:    "bottom" 0.0;
            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_bottom";
+           }
+           rel2 {
+              to: "item_clip_bottom";
+           }
            fill {
               origin {
                  offset: 0 0;
@@ -71,6 +180,12 @@
         description {
            state:    "bottom_left" 0.0;
             inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_bottom";
+           }
+           rel2 {
+              to: "item_clip_bottom";
+           }
            fill {
               origin {
                  offset: -16 0;
@@ -83,6 +198,12 @@
         description {
            state:    "bottom_right" 0.0;
             inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_bottom";
+           }
+           rel2 {
+              to: "item_clip_bottom";
+           }
            fill {
               origin {
                  offset: 0 0;
@@ -94,6 +215,13 @@
         }
         description {
            state:    "left" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_left";
+           }
+           rel2 {
+              to: "item_clip_left";
+           }
            image {
               normal: "e17_shelf_bg_v.png";
               border: 9 9 19 19;
@@ -109,6 +237,13 @@
         }
         description {
            state:    "left_top" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_left";
+           }
+           rel2 {
+              to: "item_clip_left";
+           }
            image {
               normal: "e17_shelf_bg_v.png";
               border: 9 9 19 19;
@@ -124,6 +259,13 @@
         }
         description {
            state:    "left_bottom" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_left";
+           }
+           rel2 {
+              to: "item_clip_left";
+           }
            image {
               normal: "e17_shelf_bg_v.png";
               border: 9 9 19 19;
@@ -139,6 +281,13 @@
         }
         description {
            state:    "right" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_right";
+           }
+           rel2 {
+              to: "item_clip_right";
+           }
            image {
               normal: "e17_shelf_bg_v.png";
               border: 9 9 19 19;
@@ -154,6 +303,13 @@
         }
         description {
            state:    "right_top" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_right";
+           }
+           rel2 {
+              to: "item_clip_right";
+           }
            image {
               normal: "e17_shelf_bg_v.png";
               border: 9 9 19 19;
@@ -169,6 +325,13 @@
         }
         description {
            state:    "right_bottom" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_right";
+           }
+           rel2 {
+              to: "item_clip_right";
+           }
            image {
               normal: "e17_shelf_bg_v.png";
               border: 9 9 19 19;
@@ -187,134 +350,170 @@
         name:          "e.swallow.content";
         mouse_events:  0;
         type:          SWALLOW;
+//      clip_to:       "item_clip";
         description {
            state:    "default" 0.0;
            rel1 {
+              to: "item_clip_top";
               relative: 0.0  0.0;
               offset:   18   2;
            }
            rel2 {
+              to: "item_clip_top";
               relative: 1.0  1.0;
               offset:   -19   -3;
            }
         }
         description {
            state:    "top_left" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_top";
               relative: 0.0  0.0;
               offset:   2    2;
            }
            rel2 {
+              to: "item_clip_top";
               relative: 1.0  1.0;
               offset:   -19   -3;
            }
         }
         description {
            state:    "top_right" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_top";
               relative: 0.0  0.0;
               offset:   18   2;
            }
            rel2 {
+              to: "item_clip_top";
               relative: 1.0  1.0;
               offset:   -3   -3;
            }
         }
         description {
            state:    "bottom" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_bottom";
               relative: 0.0  0.0;
               offset:   18   2;
            }
            rel2 {
+              to: "item_clip_bottom";
               relative: 1.0  1.0;
               offset:   -19   -3;
            }
         }
         description {
            state:    "bottom_left" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_bottom";
               relative: 0.0  0.0;
               offset:   2   2;
            }
            rel2 {
+              to: "item_clip_bottom";
               relative: 1.0  1.0;
               offset:   -19   -3;
            }
         }
         description {
            state:    "bottom_right" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_bottom";
               relative: 0.0  0.0;
               offset:   18   2;
            }
            rel2 {
+              to: "item_clip_bottom";
               relative: 1.0  1.0;
               offset:   -3   -3;
            }
         }
         description {
            state:    "left" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_left";
               relative: 0.0  0.0;
               offset:   2    18;
            }
            rel2 {
+              to: "item_clip_left";
               relative: 1.0  1.0;
               offset:   -3   -19;
            }
         }
         description {
            state:    "left_top" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_left";
               relative: 0.0  0.0;
               offset:   2    2;
            }
            rel2 {
+              to: "item_clip_left";
               relative: 1.0  1.0;
               offset:   -3   -19;
            }
         }
         description {
            state:    "left_bottom" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_left";
               relative: 0.0  0.0;
               offset:   2    18;
            }
            rel2 {
+              to: "item_clip_left";
               relative: 1.0  1.0;
               offset:   -3   -3;
            }
         }
         description {
            state:    "right" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_right";
               relative: 0.0  0.0;
               offset:   2    18;
            }
            rel2 {
+              to: "item_clip_right";
               relative: 1.0  1.0;
               offset:   -3   -19;
            }
         }
         description {
            state:    "right_top" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_right";
               relative: 0.0  0.0;
               offset:   2    2;
            }
            rel2 {
+              to: "item_clip_right";
               relative: 1.0  1.0;
               offset:   -3   -19;
            }
         }
         description {
            state:    "right_bottom" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_right";
               relative: 0.0  0.0;
               offset:   2    18;
            }
            rel2 {
+              to: "item_clip_right";
               relative: 1.0  1.0;
               offset:   -3   -3;
            }
@@ -323,6 +522,28 @@
    }
    programs {
       program {
+        name:    "hide";
+        signal:  "e,state,hidden";
+        source:  "e";
+        action:  STATE_SET "hidden" 0.0;
+        transition: ACCELERATE 0.3;
+        target:  "item_clip_bottom";
+        target:  "item_clip_top";
+        target:  "item_clip_left";
+        target:  "item_clip_right";
+      }
+      program {
+        name:    "show";
+        signal:  "e,state,visible";
+        source:  "e";
+        transition: DECELERATE 0.3;
+        action:  STATE_SET "default" 0.0;
+        target:  "item_clip_bottom";
+        target:  "item_clip_top";
+        target:  "item_clip_left";
+        target:  "item_clip_right";
+      }
+      program {
         name:    "orient1";
         signal:  "e,state,orientation,top";
         source:  "e";
@@ -553,6 +774,7 @@
 
 
 
+
 group {
    name: "e/shelf/gold/base";
    data {
@@ -561,10 +783,101 @@
    }
    parts {
       part {
+        name:          "item_clip_bottom";
+        type:          RECT;
+        mouse_events:  0;
+        description {
+           state:    "default" 0.0;
+           color: 255 255 255 0;
+        }
+        description {
+           state:    "hidden" 0.0;
+           inherit: "default" 0.0;
+           rel1 {
+              relative: 0.0 1.0;
+              offset: 0 -2;
+           }
+           rel2 {
+              relative: 1.0 2.0;
+              offset: -1 -3;
+           }
+        }
+      }
+      part {
+        name:          "item_clip_top";
+        type:          RECT;
+        mouse_events:  0;
+        description {
+           state:    "default" 0.0;
+           color: 255 255 255 0;
+        }
+        description {
+           state:    "hidden" 0.0;
+           inherit: "default" 0.0;
+           rel1 {
+              relative: 0.0 -1.0;
+              offset: 0 2;
+           }
+           rel2 {
+              relative: 1.0 0.0;
+              offset: -1 1;
+           }
+        }
+      }
+      part {
+        name:          "item_clip_left";
+        type:          RECT;
+        mouse_events:  0;
+        description {
+           state:    "default" 0.0;
+           color: 255 255 255 0;
+        }
+        description {
+           state:    "hidden" 0.0;
+           inherit: "default" 0.0;
+           rel1 {
+              relative: -1.0 0.0;
+              offset: 2 0;
+           }
+           rel2 {
+              relative: 0.0 1.0;
+              offset: 1 -1;
+           }
+        }
+      }
+      part {
+        name:          "item_clip_right";
+        type:          RECT;
+        mouse_events:  0;
+        description {
+           state:    "default" 0.0;
+           color: 255 255 255 0;
+        }
+        description {
+           state:    "hidden" 0.0;
+           inherit: "default" 0.0;
+           rel1 {
+              relative: 1.0 0.0;
+              offset: -2 0;
+           }
+           rel2 {
+              relative: 2.0 1.0;
+              offset: -3 -1;
+           }
+        }
+      }
+      part {
         name:          "base";
         mouse_events:  0;
+//      clip_to:       "item_clip";
         description {
            state:    "default" 0.0;
+           rel1 {
+              to: "item_clip_top";
+           }
+           rel2 {
+              to: "item_clip_top";
+           }
            image {
               normal: "e17_shelf_bg2_h.png";
               border: 19 19 9 9;
@@ -581,6 +894,12 @@
         description {
            state:    "top_left" 0.0;
            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_top";
+           }
+           rel2 {
+              to: "item_clip_top";
+           }
            fill {
               origin {
                  offset: -16 -6;
@@ -593,6 +912,12 @@
         description {
            state:    "top_right" 0.0;
            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_top";
+           }
+           rel2 {
+              to: "item_clip_top";
+           }
            fill {
               origin {
                  offset: 0 -6;
@@ -605,6 +930,12 @@
         description {
            state:    "bottom" 0.0;
            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_bottom";
+           }
+           rel2 {
+              to: "item_clip_bottom";
+           }
            fill {
               origin {
                  offset: 0 0;
@@ -617,6 +948,12 @@
         description {
            state:    "bottom_left" 0.0;
             inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_bottom";
+           }
+           rel2 {
+              to: "item_clip_bottom";
+           }
            fill {
               origin {
                  offset: -16 0;
@@ -629,6 +966,12 @@
         description {
            state:    "bottom_right" 0.0;
             inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_bottom";
+           }
+           rel2 {
+              to: "item_clip_bottom";
+           }
            fill {
               origin {
                  offset: 0 0;
@@ -640,6 +983,13 @@
         }
         description {
            state:    "left" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_left";
+           }
+           rel2 {
+              to: "item_clip_left";
+           }
            image {
               normal: "e17_shelf_bg2_v.png";
               border: 9 9 19 19;
@@ -655,6 +1005,13 @@
         }
         description {
            state:    "left_top" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_left";
+           }
+           rel2 {
+              to: "item_clip_left";
+           }
            image {
               normal: "e17_shelf_bg2_v.png";
               border: 9 9 19 19;
@@ -670,6 +1027,13 @@
         }
         description {
            state:    "left_bottom" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_left";
+           }
+           rel2 {
+              to: "item_clip_left";
+           }
            image {
               normal: "e17_shelf_bg2_v.png";
               border: 9 9 19 19;
@@ -685,6 +1049,13 @@
         }
         description {
            state:    "right" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_right";
+           }
+           rel2 {
+              to: "item_clip_right";
+           }
            image {
               normal: "e17_shelf_bg2_v.png";
               border: 9 9 19 19;
@@ -700,6 +1071,13 @@
         }
         description {
            state:    "right_top" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_right";
+           }
+           rel2 {
+              to: "item_clip_right";
+           }
            image {
               normal: "e17_shelf_bg2_v.png";
               border: 9 9 19 19;
@@ -715,6 +1093,13 @@
         }
         description {
            state:    "right_bottom" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_right";
+           }
+           rel2 {
+              to: "item_clip_right";
+           }
            image {
               normal: "e17_shelf_bg2_v.png";
               border: 9 9 19 19;
@@ -733,134 +1118,170 @@
         name:          "e.swallow.content";
         mouse_events:  0;
         type:          SWALLOW;
+//      clip_to:       "item_clip";
         description {
            state:    "default" 0.0;
            rel1 {
+              to: "item_clip_top";
               relative: 0.0  0.0;
               offset:   18   2;
            }
            rel2 {
+              to: "item_clip_top";
               relative: 1.0  1.0;
               offset:   -19   -3;
            }
         }
         description {
            state:    "top_left" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_top";
               relative: 0.0  0.0;
               offset:   2    2;
            }
            rel2 {
+              to: "item_clip_top";
               relative: 1.0  1.0;
               offset:   -19   -3;
            }
         }
         description {
            state:    "top_right" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_top";
               relative: 0.0  0.0;
               offset:   18   2;
            }
            rel2 {
+              to: "item_clip_top";
               relative: 1.0  1.0;
               offset:   -3   -3;
            }
         }
         description {
            state:    "bottom" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_bottom";
               relative: 0.0  0.0;
               offset:   18   2;
            }
            rel2 {
+              to: "item_clip_bottom";
               relative: 1.0  1.0;
               offset:   -19   -3;
            }
         }
         description {
            state:    "bottom_left" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_bottom";
               relative: 0.0  0.0;
               offset:   2   2;
            }
            rel2 {
+              to: "item_clip_bottom";
               relative: 1.0  1.0;
               offset:   -19   -3;
            }
         }
         description {
            state:    "bottom_right" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_bottom";
               relative: 0.0  0.0;
               offset:   18   2;
            }
            rel2 {
+              to: "item_clip_bottom";
               relative: 1.0  1.0;
               offset:   -3   -3;
            }
         }
         description {
            state:    "left" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_left";
               relative: 0.0  0.0;
               offset:   2    18;
            }
            rel2 {
+              to: "item_clip_left";
               relative: 1.0  1.0;
               offset:   -3   -19;
            }
         }
         description {
            state:    "left_top" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_left";
               relative: 0.0  0.0;
               offset:   2    2;
            }
            rel2 {
+              to: "item_clip_left";
               relative: 1.0  1.0;
               offset:   -3   -19;
            }
         }
         description {
            state:    "left_bottom" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_left";
               relative: 0.0  0.0;
               offset:   2    18;
            }
            rel2 {
+              to: "item_clip_left";
               relative: 1.0  1.0;
               offset:   -3   -3;
            }
         }
         description {
            state:    "right" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_right";
               relative: 0.0  0.0;
               offset:   2    18;
            }
            rel2 {
+              to: "item_clip_right";
               relative: 1.0  1.0;
               offset:   -3   -19;
            }
         }
         description {
            state:    "right_top" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_right";
               relative: 0.0  0.0;
               offset:   2    2;
            }
            rel2 {
+              to: "item_clip_right";
               relative: 1.0  1.0;
               offset:   -3   -19;
            }
         }
         description {
            state:    "right_bottom" 0.0;
+           inherit:  "default" 0.0;
            rel1 {
+              to: "item_clip_right";
               relative: 0.0  0.0;
               offset:   2    18;
            }
            rel2 {
+              to: "item_clip_right";
               relative: 1.0  1.0;
               offset:   -3   -3;
            }
@@ -869,6 +1290,28 @@
    }
    programs {
       program {
+        name:    "hide";
+        signal:  "e,state,hidden";
+        source:  "e";
+        action:  STATE_SET "hidden" 0.0;
+        transition: ACCELERATE 0.3;
+        target:  "item_clip_bottom";
+        target:  "item_clip_top";
+        target:  "item_clip_left";
+        target:  "item_clip_right";
+      }
+      program {
+        name:    "show";
+        signal:  "e,state,visible";
+        source:  "e";
+        transition: DECELERATE 0.3;
+        action:  STATE_SET "default" 0.0;
+        target:  "item_clip_bottom";
+        target:  "item_clip_top";
+        target:  "item_clip_left";
+        target:  "item_clip_right";
+      }
+      program {
         name:    "orient1";
         signal:  "e,state,orientation,top";
         source:  "e";
@@ -1097,12 +1540,350 @@
    }
    parts {
       part {
+        name:          "item_clip_bottom";
+        type:          RECT;
+        mouse_events:  0;
+        description {
+           state:    "default" 0.0;
+           color: 255 255 255 0;
+        }
+        description {
+           state:    "hidden" 0.0;
+           inherit: "default" 0.0;
+           rel1 {
+              relative: 0.0 1.0;
+              offset: 0 -2;
+           }
+           rel2 {
+              relative: 1.0 2.0;
+              offset: -1 -3;
+           }
+        }
+      }
+      part {
+        name:          "item_clip_top";
+        type:          RECT;
+        mouse_events:  0;
+        description {
+           state:    "default" 0.0;
+           color: 255 255 255 0;
+        }
+        description {
+           state:    "hidden" 0.0;
+           inherit: "default" 0.0;
+           rel1 {
+              relative: 0.0 -1.0;
+              offset: 0 2;
+           }
+           rel2 {
+              relative: 1.0 0.0;
+              offset: -1 1;
+           }
+        }
+      }
+      part {
+        name:          "item_clip_left";
+        type:          RECT;
+        mouse_events:  0;
+        description {
+           state:    "default" 0.0;
+           color: 255 255 255 0;
+        }
+        description {
+           state:    "hidden" 0.0;
+           inherit: "default" 0.0;
+           rel1 {
+              relative: -1.0 0.0;
+              offset: 2 0;
+           }
+           rel2 {
+              relative: 0.0 1.0;
+              offset: 1 -1;
+           }
+        }
+      }
+      part {
+        name:          "item_clip_right";
+        type:          RECT;
+        mouse_events:  0;
+        description {
+           state:    "default" 0.0;
+           color: 255 255 255 0;
+        }
+        description {
+           state:    "hidden" 0.0;
+           inherit: "default" 0.0;
+           rel1 {
+              relative: 1.0 0.0;
+              offset: -2 0;
+           }
+           rel2 {
+              relative: 2.0 1.0;
+              offset: -3 -1;
+           }
+        }
+      }
+      part {
         name:          "e.swallow.content";
         mouse_events:  0;
         type:          SWALLOW;
+//      clip_to:       "item_clip";
+        description {
+           state:    "default" 0.0;
+           rel1 {
+              to: "base";
+           }
+           rel2 {
+              to: "base";
+           }
+        }
+      }
+      part {
+        name:          "base";
+        mouse_events:  1;
+        type:          RECT;
+        repeat_events: 1;
+//      clip_to:       "item_clip";
         description {
            state:    "default" 0.0;
+           color:    255 255 255 0;
+           rel1 {
+              to: "item_clip_top";
+           }
+           rel2 {
+              to: "item_clip_top";
+           }
+        }
+        description {
+           state:    "top_left" 0.0;
+           inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_top";
+           }
+           rel2 {
+              to: "item_clip_top";
+           }
+        }
+        description {
+           state:    "top_right" 0.0;
+           inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_top";
+           }
+           rel2 {
+              to: "item_clip_top";
+           }
+        }
+        description {
+           state:    "bottom" 0.0;
+           inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_bottom";
+           }
+           rel2 {
+              to: "item_clip_bottom";
+           }
+        }
+        description {
+           state:    "bottom_left" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_bottom";
+           }
+           rel2 {
+              to: "item_clip_bottom";
+           }
+        }
+        description {
+           state:    "bottom_right" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_bottom";
+           }
+           rel2 {
+              to: "item_clip_bottom";
+           }
+        }
+        description {
+           state:    "left" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_left";
+           }
+           rel2 {
+              to: "item_clip_left";
+           }
+        }
+        description {
+           state:    "left_top" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_left";
+           }
+           rel2 {
+              to: "item_clip_left";
+           }
+        }
+        description {
+           state:    "left_bottom" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_left";
+           }
+           rel2 {
+              to: "item_clip_left";
+           }
+        }
+        description {
+           state:    "right" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_right";
+           }
+           rel2 {
+              to: "item_clip_right";
+           }
+        }
+        description {
+           state:    "right_top" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_right";
+           }
+           rel2 {
+              to: "item_clip_right";
+           }
+        }
+        description {
+           state:    "right_bottom" 0.0;
+            inherit:  "default" 0.0;
+           rel1 {
+              to: "item_clip_right";
+           }
+           rel2 {
+              to: "item_clip_right";
+           }
         }
+      }
+   }
+   programs {
+      program {
+        name:    "hide";
+        signal:  "e,state,hidden";
+        source:  "e";
+        action:  STATE_SET "hidden" 0.0;
+        transition: ACCELERATE 0.3;
+        target:  "item_clip_bottom";
+        target:  "item_clip_top";
+        target:  "item_clip_left";
+        target:  "item_clip_right";
+      }
+      program {
+        name:    "show";
+        signal:  "e,state,visible";
+        source:  "e";
+        transition: DECELERATE 0.3;
+        action:  STATE_SET "default" 0.0;
+        target:  "item_clip_bottom";
+        target:  "item_clip_top";
+        target:  "item_clip_left";
+        target:  "item_clip_right";
+      }
+      program {
+        name:    "orient1";
+        signal:  "e,state,orientation,top";
+        source:  "e";
+        action:  STATE_SET "default" 0.0;
+        target:  "base";
+        target:  "e.swallow.content";
+      }
+      program {
+        name:    "orient2";
+        signal:  "e,state,orientation,top_left";
+        source:  "e";
+        action:  STATE_SET "top_left" 0.0;
+        target:  "base";
+        target:  "e.swallow.content";
+      }
+      program {
+        name:    "orient3";
+        signal:  "e,state,orientation,top_right";
+        source:  "e";
+        action:  STATE_SET "top_right" 0.0;
+        target:  "base";
+        target:  "e.swallow.content";
+      }
+      program {
+        name:    "orient4";
+        signal:  "e,state,orientation,bottom";
+        source:  "e";
+        action:  STATE_SET "bottom" 0.0;
+        target:  "base";
+        target:  "e.swallow.content";
+      }
+      program {
+        name:    "orient5";
+        signal:  "e,state,orientation,bottom_left";
+        source:  "e";
+        action:  STATE_SET "bottom_left" 0.0;
+        target:  "base";
+        target:  "e.swallow.content";
+      }
+      program {
+        name:    "orient6";
+        signal:  "e,state,orientation,bottom_right";
+        source:  "e";
+        action:  STATE_SET "bottom_right" 0.0;
+        target:  "base";
+        target:  "e.swallow.content";
+      }
+      program {
+        name:    "orient7";
+        signal:  "e,state,orientation,left";
+        source:  "e";
+        action:  STATE_SET "left" 0.0;
+        target:  "base";
+        target:  "e.swallow.content";
+      }
+      program {
+        name:    "orient8";
+        signal:  "e,state,orientation,left_top";
+        source:  "e";
+        action:  STATE_SET "left_top" 0.0;
+        target:  "base";
+        target:  "e.swallow.content";
+      }
+      program {
+        name:    "orient9";
+        signal:  "e,state,orientation,left_bottom";
+        source:  "e";
+        action:  STATE_SET "left_bottom" 0.0;
+        target:  "base";
+        target:  "e.swallow.content";
+      }
+      program {
+        name:    "orient10";
+        signal:  "e,state,orientation,right";
+        source:  "e";
+        action:  STATE_SET "right" 0.0;
+        target:  "base";
+        target:  "e.swallow.content";
+      }
+      program {
+        name:    "orient11";
+        signal:  "e,state,orientation,right_top";
+        source:  "e";
+        action:  STATE_SET "right_top" 0.0;
+        target:  "base";
+        target:  "e.swallow.content";
+      }
+      program {
+        name:    "orient12";
+        signal:  "e,state,orientation,right_bottom";
+        source:  "e";
+        action:  STATE_SET "right_bottom" 0.0;
+        target:  "base";
+        target:  "e.swallow.content";
       }
    }
 }



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to