[genlist] add elm.flip.icon part
[profile/ivi/efl-theme-tizen.git] / themes / widgets / genlist / genlist_macro.edc
index 8efcf2a..bfef1f8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved 
+ * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved
  *
  * PROPRIETARY/CONFIDENTIAL
  *
          }
 
 #define GENLIST_PART_FLIP \
+         part { name: "elm.flip.icon"; \
+            clip_to: "disclip"; \
+            type: SWALLOW; \
+            scale: 1; \
+            description { state: "default" 0.0; \
+               visible: 0; \
+               fixed: 1 1; \
+               align: 1 0; \
+               min: 80 0; \
+               rel1 { \
+                  relative: 0.0  0.0; \
+                  to_x: "elm.padding.right"; \
+               } \
+               rel2 { \
+                  relative: 0.0  1.0; \
+                  to_x: "elm.padding.right"; \
+               } \
+            } \
+            description { state: "flip_enabled" 0.0; \
+               inherit: "default" 0.0; \
+               visible: 1; \
+            } \
+         } \
          part { name: "elm.flip.content"; \
             clip_to: "disclip"; \
             type: SWALLOW; \
-            mouse_events: 1; \
             scale: 1; \
             description { state: "default" 0.0; \
                visible: 0; \
                } \
                rel2 { \
                   relative: 0.0  0.5; \
-                  to_x: "elm.padding.right"; \
+                  to_x: "elm.flip.icon"; \
                } \
             } \
             description { state: "flip_enabled" 0.0; \
             source: "elm"; \
             action: STATE_SET "flip_enabled" 0.0; \
             target: "elm.text"; \
+            target: "elm.flip.icon"; \
             target: "elm.flip.content"; \
          } \
          program { name: "flip_disabled"; \
             source: "elm"; \
             action: STATE_SET "default" 0.0; \
             target: "elm.text"; \
+            target: "elm.flip.icon"; \
             target: "elm.flip.content"; \
          }