Elementary bubble-theme: Fixed UI-Mirroring.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 22 Feb 2011 16:33:43 +0000 (16:33 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 22 Feb 2011 16:33:43 +0000 (16:33 +0000)
UI-mirroring didn't change the arrow of the bubble, fixed that.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@57245 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

data/themes/default.edc

index 9139cb7..4d9d55f 100644 (file)
@@ -9118,6 +9118,13 @@ collections {
           image.middle: SOLID;
           fill.smooth: 0;
         }
+        description { state: "rtl" 0.0;
+           inherit: "default" 0.0;
+           image {
+              normal: "bubble_4.png";
+              border: 11 36 18 9;
+           }
+        }
       }
       part { name: "elm.swallow.content";
         type: SWALLOW;
@@ -9174,12 +9181,28 @@ collections {
         action: STATE_SET "default" 0.0;
         target: "elm.swallow.icon";
       }
+      program { name: "to_rtl";
+         signal: "edje,state,rtl";
+         source: "edje";
+         action: STATE_SET "rtl" 0.0;
+         target: "base0";
+         target: "shine";
+      }
+      program { name: "to_ltr";
+         signal: "edje,state,ltr";
+         source: "edje";
+         action: STATE_SET "default" 0.0;
+         target: "base0";
+         target: "shine";
+      }
     }
   }
 
   group { name: "elm/bubble/top_right/default";
     images {
+      image: "bubble_3.png" COMP;
       image: "bubble_4.png" COMP;
+      image: "bubble_shine3.png" COMP;
       image: "bubble_shine4.png" COMP;
     }
     parts {
@@ -9280,6 +9303,13 @@ collections {
           image.middle: SOLID;
           fill.smooth: 0;
         }
+        description { state: "rtl" 0.0;
+           inherit: "default" 0.0;
+           image {
+              normal: "bubble_3.png";
+              border: 36 11 18 9;
+           }
+        }
       }
       part { name: "elm.swallow.content";
         type: SWALLOW;
@@ -9336,12 +9366,27 @@ collections {
         action: STATE_SET "default" 0.0;
         target: "elm.swallow.icon";
       }
+      program { name: "to_rtl";
+         signal: "edje,state,rtl";
+         source: "edje";
+         action: STATE_SET "rtl" 0.0;
+         target: "base0";
+         target: "shine";
+      }
+      program { name: "to_ltr";
+         signal: "edje,state,ltr";
+         source: "edje";
+         action: STATE_SET "default" 0.0;
+         target: "base0";
+         target: "shine";
+      }
     }
   }
 
   group { name: "elm/bubble/bottom_left/default";
     images {
       image: "bubble_1.png" COMP;
+      image: "bubble_2.png" COMP;
       image: "bubble_shine.png" COMP;
     }
     parts {
@@ -9442,6 +9487,13 @@ collections {
           image.middle: SOLID;
           fill.smooth: 0;
         }
+        description { state: "rtl" 0.0;
+           inherit: "default" 0.0;
+           image {
+              normal: "bubble_2.png";
+              border: 11 36 10 19;
+           }
+        }
       }
       part { name: "elm.swallow.content";
         type: SWALLOW;
@@ -9474,6 +9526,13 @@ collections {
           }
           fill.smooth: 0;
         }
+        description { state: "rtl" 0.0;
+           inherit: "default" 0.0;
+           image {
+              normal: "bubble_shine4.png";
+              border: 5 36 14 0;
+           }
+        }
       }
     }
     programs {
@@ -9491,11 +9550,24 @@ collections {
         action: STATE_SET "default" 0.0;
         target: "elm.swallow.icon";
       }
+      program { name: "to_rtl";
+         signal: "edje,state,rtl";
+         source: "edje";
+         action: STATE_SET "rtl" 0.0;
+         target: "base0";
+      }
+      program { name: "to_ltr";
+         signal: "edje,state,ltr";
+         source: "edje";
+         action: STATE_SET "default" 0.0;
+         target: "base0";
+      }
     }
   }
 
   group { name: "elm/bubble/bottom_right/default";
     images {
+      image: "bubble_1.png" COMP;
       image: "bubble_2.png" COMP;
       image: "bubble_shine.png" COMP;
     }
@@ -9597,6 +9669,13 @@ collections {
           image.middle: SOLID;
           fill.smooth: 0;
         }
+        description { state: "rtl" 0.0;
+           inherit: "default" 0.0;
+           image {
+              normal: "bubble_1.png";
+              border: 36 11 10 19;
+           }
+        }
       }
       part { name: "elm.swallow.content";
         type: SWALLOW;
@@ -9629,6 +9708,13 @@ collections {
           }
           fill.smooth: 0;
         }
+        description { state: "rtl" 0.0;
+           inherit: "default" 0.0;
+           image {
+              normal: "bubble_shine3.png";
+              border: 36 5 14 0;
+           }
+        }
       }
     }
     programs {
@@ -9646,6 +9732,18 @@ collections {
         action: STATE_SET "default" 0.0;
         target: "elm.swallow.icon";
       }
+      program { name: "to_rtl";
+         signal: "edje,state,rtl";
+         source: "edje";
+         action: STATE_SET "rtl" 0.0;
+         target: "base0";
+      }
+      program { name: "to_ltr";
+         signal: "edje,state,ltr";
+         source: "edje";
+         action: STATE_SET "default" 0.0;
+         target: "base0";
+      }
     }
   }