[genlist] add elm.flip.icon part
authorHyoyoung Chang <hyoyoung.chang@samsung.com>
Thu, 28 Jun 2012 10:48:05 +0000 (19:48 +0900)
committerTae-Hwan Kim <the81.kim@samsung.com>
Mon, 23 Jul 2012 06:41:28 +0000 (15:41 +0900)
Conflicts:

themes/widgets/genlist/genlist_normal.edc

Change-Id: I8a3dadbd142c68a8bbcbdd747d162491c35c7d28

themes/widgets/genlist/genlist_macro.edc
themes/widgets/genlist/genlist_normal.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"; \
          }
 
index 9f9dd25..7611afc 100644 (file)
       data.item: "stacking" "above";
       data.item: "selectraise" "on";
       data.item: "texts" "elm.text";
-      data.item: "flips" "elm.flip.content";
+      data.item: "flips" "elm.flip.icon elm.flip.content";
       images {
          image: "00_list_bar_press_1x80.png" COMP;
       }
          }
          GENLIST_PROGRAM_FLIP_2TEXT
          GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+         //GENLIST_PROGRAM_FLIP_1TEXT
       }
    }
 
          }
          GENLIST_PROGRAM_FLIP_1TEXT_3ICON
          GENLIST_PROGRAM_PLAY_BUTTON_PRESS
+         //GENLIST_PROGRAM_FLIP_1TEXT
       }
    }