genlist: Remove all of elm.image.rename, elm.icon.eraser parts, programs. These parts...
authorYoungbok Shin <youngb.shin@samsung.com>
Mon, 27 May 2013 04:09:08 +0000 (13:09 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 11:28:40 +0000 (20:28 +0900)
themes/widgets/genlist/genlist_macro.edc
themes/widgets/genlist/genlist_normal.edc

index 88654d1..4e573d5 100644 (file)
       target: "bottom_line_clip"; \
       target: "elm.padding.left"; \
       target: "elm.padding.right"; \
-   ) \
-   program { \
-      signal: "elm,state,eraser,show"; \
-      action: STATE_SET "show" 0.0; \
-      target: "elm.icon.eraser"; \
-   } \
-   program { \
-      signal: "elm,state,eraser,hide"; \
-      action: STATE_SET "default" 0.0; \
-      target: "elm.icon.eraser"; \
-   } \
-    program { \
-      signal: "elm,state,rename,show"; \
-      action: STATE_SET "default" 0.0; \
-      target: "elm.image.rename"; \
-   } \
-   program { \
-      signal: "elm,state,rename,hide"; \
-      action: STATE_SET "hide" 0.0; \
-      target: "elm.image.rename"; \
-   }
+   )
 
 #define GENLIST_PROGRAMS_DIALOGUE_ENTRY( TARGET ) \
    GENLIST_PROGRAM_DEFAULT( TARGET \
       target: "elm.padding.right"; \
    ) \
    GENLIST_PROGRAM_FLIP \
-   GENLIST_PROGRAM_EDITMODE \
-   program { \
-      signal: "elm,state,eraser,show"; \
-      action: STATE_SET "show" 0.0; \
-      target: "elm.icon.eraser"; \
-   } \
-   program { \
-      signal: "elm,state,eraser,hide"; \
-      action: STATE_SET "default" 0.0; \
-      target: "elm.icon.eraser"; \
-   } \
-    program { \
-      signal: "elm,state,rename,show"; \
-      action: STATE_SET "default" 0.0; \
-      target: "elm.image.rename"; \
-   } \
-   program { \
-      signal: "elm,state,rename,hide"; \
-      action: STATE_SET "hide" 0.0; \
-      target: "elm.image.rename"; \
-   }
+   GENLIST_PROGRAM_EDITMODE
 
 
 #define GENLIST_PROGRAMS_THUMB \
index 8e6860b..50358b0 100644 (file)
       alias: "elm/layout/item/editfield/default";
 
       GENLIST_PROLOG_NORMAL
-      images {
-         image: "00_edit_field_rename.png" COMP;
-      }
 
-      data.item: "contents" "elm.icon.entry elm.icon.eraser";
+      data.item: "contents" "elm.icon.entry";
 
       parts {
          GENLIST_PART_BASE
 
          GENLIST_PART_ICON("elm.icon.entry",
             GENLIST_DESCRIPTION(
-               "elm.padding.left", "elm.icon.eraser",
+               "elm.padding.left", "elm.padding.right",
                "elm.padding.top", "elm.padding.bottom",
                min: 0 48; // This is tuned value for exact entry size.
             )
          )
-         GENLIST_PART_IMAGE("elm.image.rename",
-            mouse_events: 0;
-            GENLIST_DESCRIPTION_ENVELOP("elm.icon.eraser",
-               fixed: 1 0;
-               visible: 1;
-               image.normal: "00_edit_field_rename.png";
-               min: GENLIST_ICON_ENTRY_SIZE GENLIST_ICON_ENTRY_SIZE;
-               max: GENLIST_ICON_ENTRY_SIZE GENLIST_ICON_ENTRY_SIZE;
-               color: GENLIST_ENTRY_RENAME_COLOR;
-            )
-            description { state: "hide" 0.0;
-               inherit: "default" 0.0;
-               visible: 0;
-            }
-         )
-         GENLIST_PART_ICON("elm.icon.eraser",
-            GENLIST_DESCRIPTION_RTB("elm.padding.right",
-               "elm.padding.top", "elm.padding.bottom",
-               fixed: 1 0;
-               visible: 0;
-               min: GENLIST_ICON_ENTRY_SIZE GENLIST_ICON_ENTRY_SIZE;
-               max: GENLIST_ICON_ENTRY_SIZE GENLIST_ICON_ENTRY_SIZE;
-            )
-            description { state: "show" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-            }
-         )
          GENLIST_PART_FLIP
          GENLIST_PART_FOCUS
       }
-      GENLIST_PROGRAMS_ENTRY( target: "elm.icon.entry"; target: "elm.image.rename"; )
+      GENLIST_PROGRAMS_ENTRY( target: "elm.icon.entry"; )
    }
 
 // 2.2.6.1 (without genlist background)
       alias: "elm/layout/editfield/title/default";
 
       GENLIST_PROLOG_NORMAL
-      images {
-         image: "00_edit_field_rename.png" COMP;
-      }
-      data.item: "contents" "elm.icon.entry elm.icon.eraser";
+      data.item: "contents" "elm.icon.entry";
       data.item: "texts" "elm.text";
       parts {
          GENLIST_PART_BASE
          )
          GENLIST_PART_ICON("elm.icon.entry",
             GENLIST_DESCRIPTION(
-               "elm.padding.left", "elm.icon.eraser",
+               "elm.padding.left", "elm.padding.right",
                "elm.text", "elm.padding.bottom",
                min: 0 48; // This is tuned value for exact entry size.
             )
          )
-         GENLIST_PART_IMAGE("elm.image.rename",
-            mouse_events: 0;
-            GENLIST_DESCRIPTION_ENVELOP("elm.icon.eraser",
-               visible: 1;
-               fixed: 1 0;
-               image.normal: "00_edit_field_rename.png";
-               min: GENLIST_ICON_ENTRY_SIZE GENLIST_ICON_ENTRY_SIZE;
-               max: GENLIST_ICON_ENTRY_SIZE GENLIST_ICON_ENTRY_SIZE;
-               color: GENLIST_ENTRY_RENAME_COLOR;
-            )
-            description { state: "hide" 0.0;
-               inherit: "default" 0.0;
-               visible: 0;
-            }
-         )
-         GENLIST_PART_ICON("elm.icon.eraser",
-            GENLIST_DESCRIPTION_RTB("elm.padding.right",
-               "elm.text", "elm.padding.bottom",
-               fixed: 1 0;
-               visible: 0;
-               min: GENLIST_ICON_ENTRY_SIZE GENLIST_ICON_ENTRY_SIZE;
-               max: GENLIST_ICON_ENTRY_SIZE GENLIST_ICON_ENTRY_SIZE;
-            )
-            description { state: "show" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-            }
-         )
          GENLIST_PART_FLIP
          GENLIST_PART_FOCUS
       }
-      GENLIST_PROGRAMS_ENTRY( target: "elm.text"; target: "elm.icon.entry"; target: "elm.image.rename"; )
+      GENLIST_PROGRAMS_ENTRY( target: "elm.text"; target: "elm.icon.entry"; )
    }
 
 // 2.2.6.2 (without genlist background)
       alias: "elm/layout/dialogue/editfield/default";
       inherit: "elm/genlist/item/editfield/default";
 
-      data.item: "contents" "elm.icon.entry elm.image.rename elm.icon.eraser elm.icon.edit";
+      data.item: "contents" "elm.icon.entry elm.icon.edit";
 
       GENLIST_DIALOGUE_INHERIT_BODY( ; )
-      GENLIST_PROGRAMS_DIALOGUE_ENTRY( target: "elm.icon.entry"; target: "elm.image.rename"; target: "elm.icon.edit";)
+      GENLIST_PROGRAMS_DIALOGUE_ENTRY( target: "elm.icon.entry"; target: "elm.icon.edit";)
    }
 
 // 2.2.6.2 (Dialogue)
       alias: "elm/layout/dialogue/editfield/title/default";
       inherit: "elm/genlist/item/editfield/title/default";
 
-      data.item: "contents" "elm.icon.entry elm.image.rename elm.icon.eraser elm.icon.edit";
+      data.item: "contents" "elm.icon.entry elm.icon.edit";
 
       GENLIST_DIALOGUE_INHERIT_BODY( ; )
-      GENLIST_PROGRAMS_DIALOGUE_ENTRY( target: "elm.icon.entry"; target: "elm.image.rename"; target: "elm.icon.edit";)
+      GENLIST_PROGRAMS_DIALOGUE_ENTRY( target: "elm.icon.entry"; target: "elm.icon.edit";)
    }
 
 // Dialogue Group Separators