[Genlist] Fix focus frame for dialogue / reorder, etc.
authorTae-Hwan Kim <the81.kim@samsung.com>
Wed, 5 Jun 2013 08:27:21 +0000 (17:27 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 11:38:07 +0000 (20:38 +0900)
Change-Id: Ifadc19f2eaa3a2accf3d90212e42f2d8c78a947e

themes/widgets/genlist/genlist_decorate.edc
themes/widgets/genlist/genlist_email.edc
themes/widgets/genlist/genlist_groupindex.edc
themes/widgets/genlist/genlist_macro.edc
themes/widgets/genlist/genlist_normal.edc

index 506a6d3..b696af8 100644 (file)
          GENLIST_PART_LISTITEM_("elm.text", 80,
             "elm.padding.icon.right", "elm.padding.right", "elm.padding.top", "elm.padding.bottom",
          )
+         GENLIST_PART_FOCUS
       }
       programs {
          GENLIST_PROGRAM_SOUND("elm.text")
          GENLIST_PROGRAM_DISABLED( target: "elm.icon"; target: "elm.text"; )
          GENLIST_PROGRAM_SOUND("bg")
+         GENLIST_PROGRAM_FOCUS
       }
    }
 
                align: 0 0.5;
             }
          )
+         GENLIST_PART_FOCUS_NORMAL
       }
       programs {
          GENLIST_PROGRAM_DISABLED(
                }
             }
          }
+         GENLIST_PROGRAM_FOCUS_NORMAL
       }
    }
index 24ea72d..ab4a46f 100755 (executable)
          target: "bottom_line2"; \
          target: "bg_reorder"; \
       ) \
-      GENLIST_PROGRAM_FOCUS \
+      GENLIST_PROGRAM_FOCUS_NORMAL \
       GENLIST_PROGRAM_SELECT( TARGET \
          target: "bg"; \
          target: "bottom_line"; \
             )
             DESCRIPTION_EMAIL_CONTENTS_OTHERS
          )
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_EMAIL( target: "elm.text.1";
          target: "elm.text.2"; target: "elm.text.3";
                fixed: 1 1;
             )
          )
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_EMAIL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
          target: "elm.text.4";
             GENLIST_DESCRIPTION_ENVELOP("elm.check",
             )
          )
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_EMAIL( target: "elm.text.1";
          target: "elm.text.2"; target: "elm.text.3";
index 6f8cc1a..5d1d38d 100644 (file)
          */
         GENLIST_PART_PADDING_GROUPINDEX_LEFT
         GENLIST_PART_PADDING_GROUPINDEX_RIGHT
+        GENLIST_PART_FOCUS
       }
       program { name: "default";
          signal: "elm,state,default";
                }
             }
          }
+         GENLIST_PROGRAM_FOCUS
       }
    }
 
             GENLIST_DESCRIPTION_INDEX_LIST
          )
          GENLIST_PART_INDEX_LINE("elm.padding.icon.right", "elm.padding.right", "elm.text", "elm.padding.bottom")
+         GENLIST_PART_FOCUS
       }
       programs {
          GENLIST_PROGRAM_DISABLED( target: "elm.text"; target: "index_line"; )
          GENLIST_PROGRAM_SELECT( target: "elm.text"; target: "index_line"; target: "bg"; )
+         GENLIST_PROGRAM_FOCUS
       }
    }
index 83c996e..42db8e7 100755 (executable)
             } \
          ) \
          GENLIST_PART_IMAGE("elm.thumb", \
+            insert_before: "focus_part"; \
             clip_to: "elm.thumb.clip"; \
             mouse_events: 0; \
             GENLIST_DESCRIPTION_ENVELOP(PARENT, \
                inherit: "reorder" 0.0; \
             } \
          ) \
-         GENLIST_PART_FLIP \
       }
 
 #define GENLIST_INHERIT_THUMB_SQUARE(SIZE_PREFIX, MASK_SIZE, PARENT) \
             } \
          ) \
          GENLIST_PART_IMAGE("elm.thumb", \
+            insert_before: "focus_part"; \
             clip_to: "elm.thumb.clip"; \
             mouse_events: 0; \
             GENLIST_DESCRIPTION_ENVELOP(PARENT, \
                inherit: "reorder" 0.0; \
             } \
          ) \
-         GENLIST_PART_FLIP \
       }
 
 
             } \
          ) \
          GENLIST_PART_IMAGE("elm.thumb", \
+            insert_before: "focus_part_dialogue"; \
             clip_to: "elm.thumb.clip"; \
             mouse_events: 0; \
             GENLIST_DESCRIPTION_ENVELOP(PARENT, \
             } \
          ) \
          GENLIST_PART_IMAGE("elm.thumb", \
+            insert_before: "focus_part_dialogue"; \
             clip_to: "elm.thumb.clip"; \
             mouse_events: 0; \
             GENLIST_DESCRIPTION_ENVELOP(PARENT, \
          visible: 0; \
          image { \
             normal: "00_focus.png"; \
-            border: 7 7 7 7; \
+            border: 6 6 6 6; \
+            border_scale: 1; \
          } \
       } \
       description { state: "focused" 0.0; \
          inherit: "default" 0.0; \
          visible: 1; \
       } \
+   ) \
+   GENLIST_PART_ICON("elm.icon.focus", \
+      repeat_events: 1; \
+      GENLIST_DESCRIPTION_ENVELOP("focus_part", \
+         fixed: 1 1; \
+      ) \
+   )
+
+#define GENLIST_PART_FOCUS_REORDER \
+   GENLIST_PART_IMAGE("focus_part_reorder", \
+      mouse_events: 0; \
+      GENLIST_DESCRIPTION_LR("bg_reorder_left", "bg_reorder_right", \
+         visible: 0; \
+         image { \
+            normal: "00_focus.png"; \
+            border: 6 6 6 6; \
+            border_scale: 1; \
+         } \
+      ) \
+      description { state: "focused" 0.0; \
+         inherit: "default" 0.0; \
+         visible: 1; \
+      } \
    )
 
+#define GENLIST_PART_FOCUS_NORMAL \
+   GENLIST_PART_FOCUS \
+   GENLIST_PART_FOCUS_REORDER
+
+
 #define GENLIST_PART_FOCUS_DIALOGUE \
-   GENLIST_PART_IMAGE("focus_part", \
+   GENLIST_PART_IMAGE("focus_part_dialogue", \
       mouse_events: 0; \
       GENLIST_DESCRIPTION_LR("bg_dialogue_left", "bg_dialogue_right", \
          visible: 0; \
          image { \
             normal: "00_focus.png"; \
-            border: 7 7 7 7; \
+            border: 6 6 6 6; \
+            border_scale: 1; \
          } \
       ) \
       description { state: "focused" 0.0; \
    ) \
    GENLIST_PART_ICON("elm.icon.focus", \
       repeat_events: 1; \
-      GENLIST_DESCRIPTION_ENVELOP("focus_part", \
+      GENLIST_DESCRIPTION_ENVELOP("focus_part_dialogue", \
          fixed: 1 1; \
       ) \
    )
          target: "focus_part"; \
       }
 
+#define GENLIST_PROGRAM_FOCUS_NORMAL \
+      program { name: "focused"; \
+         signal: "elm,state,focused"; \
+         source: "elm"; \
+         script { \
+            new st[31]; \
+            new Float:vl; \
+            get_state(PART:"bg_reorder_clip", st, 30, vl); \
+            if (!strcmp(st, "reorder") || !strcmp(st, "decorate_reorder")) \
+               set_state(PART:"focus_part_reorder", "focused", 0.0); \
+            else \
+               set_state(PART:"focus_part", "focused", 0.0); \
+         } \
+      } \
+      program { name: "unfocused"; \
+         signal: "elm,state,unfocused"; \
+         source: "elm"; \
+         action: STATE_SET "default" 0.0; \
+         target: "focus_part_reorder"; \
+         target: "focus_part"; \
+      }
+
 #define GENLIST_PROGRAM_FOCUS_DIALOGUE \
       program { name: "focused"; \
          signal: "elm,state,focused"; \
             new Float:vl; \
             get_state(PART:"bg_dialogue", st, 30, vl); \
             if (!strcmp(st, "top") || !strcmp(st, "top_selected")) \
-               set_state(PART:"focus_part", "top_focused", 0.0); \
+               set_state(PART:"focus_part_dialogue", "top_focused", 0.0); \
             else if (!strcmp(st, "center") || !strcmp(st, "center_selected")) \
-               set_state(PART:"focus_part", "center_focused", 0.0); \
+               set_state(PART:"focus_part_dialogue", "center_focused", 0.0); \
             else if (!strcmp(st, "bottom") || !strcmp(st, "bottom_selected")) \
-               set_state(PART:"focus_part", "bottom_focused", 0.0); \
+               set_state(PART:"focus_part_dialogue", "bottom_focused", 0.0); \
             else if (!strcmp(st, "default") || !strcmp(st, "selected")) \
-               set_state(PART:"focus_part", "focused", 0.0); \
+               set_state(PART:"focus_part_dialogue", "focused", 0.0); \
          } \
       } \
       program { name: "unfocused"; \
          signal: "elm,state,unfocused"; \
          source: "elm"; \
          action: STATE_SET "default" 0.0; \
-         target: "focus_part"; \
+         target: "focus_part_dialogue"; \
       }
 
 #define GENLIST_PROGRAM_SOUND( SRC ) \
          target: "bottom_line2"; \
          target: "bg_reorder"; \
       ) \
-      GENLIST_PROGRAM_FOCUS \
+      GENLIST_PROGRAM_FOCUS_NORMAL \
       GENLIST_PROGRAM_SELECT( TARGET \
          target: "bg"; \
          target: "bottom_line"; \
       target: "elm.padding.right"; \
    ) \
    GENLIST_PROGRAM_DISABLED( TARGET ) \
-   GENLIST_PROGRAM_FOCUS \
+   GENLIST_PROGRAM_FOCUS_NORMAL \
    GENLIST_PROGRAM_DECORATE_REORDER("editfield", TARGET \
       target: "bg_clip"; \
       target: "bg_reorder_clip"; \
index 50358b0..8cf236a 100644 (file)
@@ -54,7 +54,7 @@
             )
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.swallow.icon"; target: "elm.swallow.end"; )
       GENLIST_PROGRAM_SOUND("elm.text")
@@ -88,7 +88,7 @@
             )
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_ENTRY( target: "elm.icon.entry"; )
    }
             )
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_ENTRY( target: "elm.text"; target: "elm.icon.entry"; )
    }
             )
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAM_DEFAULT( target: "elm.icon"; )
       GENLIST_PROGRAM_DISABLED( target: "elm.icon"; )
       GENLIST_PROGRAM_SELECT( target: "elm.icon"; )
       GENLIST_PROGRAM_FLIP
-      GENLIST_PROGRAM_FOCUS
+      GENLIST_PROGRAM_FOCUS_NORMAL
    }
 
    group { GENLIST_NAME("1icon/with_no_line/default")
             "elm.padding.top", "elm.padding.bottom",
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; )
       GENLIST_PROGRAM_SOUND("elm.text")
             "elm.padding.top", "elm.padding.bottom",
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; )
       GENLIST_PROGRAM_SOUND("elm.text")
             "elm.padding.top", "elm.padding.bottom"
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
       GENLIST_PROGRAM_SOUND("elm.text.1")
          GENLIST_PART_ICON_BTN_01_RTB("elm.icon",
             "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; )
       GENLIST_PROGRAM_SOUND("elm.text")
 
       parts {
          GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon", "elm.padding.right")
+         GENLIST_PART_FOCUS_NORMAL
       }
    }
 
          GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
          GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon.1", "elm.padding.right")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
       GENLIST_PROGRAM_SOUND("elm.text")
          GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
          GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon.1", "elm.padding.right")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
       GENLIST_PROGRAM_SOUND("elm.text")
          GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE,
             "elm.padding.icon.right", "elm.padding.right", )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; )
       GENLIST_PROGRAM_SOUND("elm.text")
          GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon")
          GENLIST_PART_LISTITEM_LR_TB("elm.text", GENLIST_HEIGHT_1LINE, "elm.padding.icon.right", "elm.padding.right",)
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; )
       GENLIST_PROGRAM_SOUND("elm.text")
          GENLIST_PART_LISTITEM_LR("elm.text.1", GENLIST_HEIGHT_1LINE, "elm.padding.icon.right", "elm.text.2",)
          GENLIST_PART_SUBITEM_R("elm.text.2", GENLIST_HEIGHT_1LINE, "elm.padding.right")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
       GENLIST_PROGRAM_SOUND("elm.text.1")
          GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
          GENLIST_PART_ICON_BTN_01_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
       GENLIST_PROGRAM_SOUND("elm.text")
          GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
          GENLIST_PART_ICON_BTN_01_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
       GENLIST_PROGRAM_SOUND("elm.text")
          GENLIST_PART_PADDING_L("elm.padding.icon2.right", "elm.icon.2")
          GENLIST_PART_LISTITEM_LR("elm.text", GENLIST_HEIGHT_1LINE, "elm.padding.icon2.right", "elm.padding.right",)
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
       GENLIST_PROGRAM_SOUND("elm.text")
          GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3")
          GENLIST_PART_ICON_BTN_02_RTB("elm.icon.3", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; )
       GENLIST_PROGRAM_SOUND("elm.text")
          GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3")
          GENLIST_PART_ICON_BTN_02_RTB("elm.icon.3", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; )
       GENLIST_PROGRAM_SOUND("elm.text")
          GENLIST_PART_SUBITEM_R_FIXED("elm.text.2", 200, GENLIST_HEIGHT_1LINE,
             "elm.padding.right")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL(
          target: "elm.text.1"; target: "elm.text.2";
          GENLIST_PART_SUBITEM_R_FIXED_TB("elm.text.2", 206, GENLIST_HEIGHT_1LINE,
             "elm.padding.right")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.divider1"; target: "elm.divider2"; )
          GENLIST_PART_SUBITEM_LR("elm.text.1", GENLIST_HEIGHT_1LINE,
             "elm.divider.right", "elm.padding.right", )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.divider1"; target: "elm.divider2"; )
       GENLIST_PROGRAM_SOUND("elm.text.1")
          GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
             "elm.padding.left", "elm.padding.right", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
       GENLIST_PROGRAM_SOUND("elm.text.1")
             "elm.padding.left", "elm.padding.right", "elm.padding.bottom"
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
       GENLIST_PROGRAM_SOUND("elm.text.1")
             "elm.text.2", "elm.padding.bottom",
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
       GENLIST_PROGRAM_SOUND("elm.text.1")
          GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
             "elm.padding.left", "elm.padding.right", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; )
       GENLIST_PROGRAM_SOUND("elm.text.1")
             "elm.padding.left", "elm.padding.right", "elm.padding.bottom"
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; )
       GENLIST_PROGRAM_SOUND("elm.text.1")
          GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon")
          GENLIST_PART_ICON_BTN_01_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
       GENLIST_PROGRAM_SOUND("elm.text.1")
          GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon")
          GENLIST_PART_ICON_BTN_01_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
       GENLIST_PROGRAM_SOUND("elm.text.1")
          GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon")
          GENLIST_PART_ICON_BTN_02_RTB("elm.icon", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
       GENLIST_PROGRAM_SOUND("elm.text.1")
          GENLIST_PART_ICON_STAR_RTB("elm.icon.1",
             "elm.padding.right", "elm.padding.top", "elm.text.2")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5";)
          GENLIST_PART_SUBITEM_RB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB,
             "elm.padding.right", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
          target: "elm.icon"; )
          GENLIST_PART_SUBITEM_RTB_TB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB,
             "elm.padding.right", "elm.text.1", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
          target: "elm.icon"; )
             fixed: 1 1;
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2"; )
          GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon")
          GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon", "elm.padding.right")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
       GENLIST_PROGRAM_SOUND("elm.text.1")
          GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
          GENLIST_PART_ICON_BIG_R("elm.icon.1", "elm.padding.right")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2"; )
          GENLIST_PART_PADDING_R("elm.padding.icon.left", "elm.icon")
          GENLIST_PART_ICON_BIG_R("elm.icon", "elm.padding.right")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon"; )
          GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
             "elm.padding.icon.right", "elm.padding.right", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon"; )
          GENLIST_PART_SUBITEM_LRB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
             "elm.padding.icon.right", "elm.padding.right", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon"; )
          GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
             "elm.padding.icon.right", "elm.padding.right", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
          target: "elm.icon"; )
          GENLIST_PART_ICON_STAR_RTB("elm.icon.1",
             "elm.padding.right", "elm.padding.top", "elm.text.2")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5"; target: "elm.icon.6"; )
          GENLIST_PART_ICON_STAR_RTB("elm.icon.1",
             "elm.padding.right", "elm.padding.top", "elm.text.2")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5"; target: "elm.icon.6"; )
          GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
          GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2"; )
          GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
          GENLIST_PART_ICON_BTN_02_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2";)
          GENLIST_PART_ICON_SMALL_RTB("elm.icon.2",
             "elm.padding.right", "elm.text.1", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2";)
          GENLIST_PART_ICON_SMALL_RTB("elm.icon.2",
             "elm.padding.right", "elm.text.1", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
 
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
          GENLIST_PART_ICON_BTN_01_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2"; )
          GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
          GENLIST_PART_ICON_BTN_01_RTB("elm.icon.2", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2";)
             fixed: 1 1;)
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.swallow.progress";)
             max: 156 GENLIST_BTN_01_HEIGHT;)
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.swallow.progress"; )
          GENLIST_PART_PADDING_R_SIZE("elm.padding.icon.left", "elm.icon", 26)
          GENLIST_PART_ICON_BTN_ONOFF_R("elm.icon", "elm.padding.right")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon"; target: "elm.divider1"; target: "elm.divider2"; )
          GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
          GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon.1", "elm.padding.right")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; )
       inherit: "elm/genlist/item/2text.1icon.2/default";
       parts {
          GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon", "elm.padding.right")
+         GENLIST_PART_FOCUS_NORMAL
       }
    }
 
       inherit: "elm/genlist/item/2text.1icon.2.tb/default";
       parts {
          GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon", "elm.padding.right")
+         GENLIST_PART_FOCUS_NORMAL
       }
    }
 
          GENLIST_PART_SUBITEM_LRB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
             "elm.padding.icon2.right", "elm.padding.right", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2";)
          GENLIST_PART_PADDING_R("elm.padding.icon3.left", "elm.icon.3")
          GENLIST_PART_ICON_BTN_02_RTB("elm.icon.3", "elm.padding.right", "elm.padding.top", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
       GENLIST_PROGRAM_SOUND("elm.text.1")
          GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
             "elm.padding.right", "elm.text.1", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4";
          target: "elm.icon.1"; target: "elm.bubble"; )
             "elm.padding.right", "elm.text.1", "elm.padding.bottom"
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4";
          target: "elm.icon.1"; target: "elm.bubble"; )
          GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
             "elm.padding.right", "elm.text.1", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4";
          target: "elm.icon.1";)
             "elm.padding.right", "elm.text.1", "elm.padding.bottom"
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4";
          target: "elm.icon.1";)
          GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
             "elm.padding.right", "elm.text.1", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4";
          target: "elm.bubble"; )
          GENLIST_PART_SUBITEM_RTB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
             "elm.padding.right", "elm.text.1", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
          target: "elm.icon.1";)
          GENLIST_PART_SUBITEM_RTB_TB("elm.text.2", GENLIST_HEIGHT_2LINE_SUB,
             "elm.padding.right", "elm.text.1", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
          target: "elm.icon.1";)
          GENLIST_PART_PADDING_R("elm.padding.icon1.left", "elm.icon.1")
          GENLIST_PART_ICON_BIG_R("elm.icon.1", "elm.padding.right")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; target: "elm.icon.4";)
             "elm.padding.right", "elm.text.1", "elm.padding.bottom"
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4";
          target: "elm.swallow.colorbar"; target: "elm.icon.1"; target: "elm.bubble"; )
          GENLIST_PART_SUBITEM_RTB("elm.text.3", GENLIST_HEIGHT_2LINE_SUB,
             "elm.padding.right", "elm.text.1", "elm.padding.bottom")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
          target: "elm.icon"; )
          GENLIST_PART_PADDING_R("elm.padding.icon2.left", "elm.icon.2")
          GENLIST_PART_ICON_THUMBNAIL1_R("elm.icon.2", "elm.padding.right")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2";)
          )
          GENLIST_PART_CENTER_LINE_LT("elm.divider2", "elm.text.1")
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.title"; target: "elm.text.1"; target: "elm.text.2";
          target: "elm.divider1"; target:"elm.divider2";
             GENLIST_DESCRIPTION_LISTITEM_OTHERS_TB_WRAP
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.title";
          target: "elm.text";
             GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
       GENLIST_PROGRAM_SOUND("elm.text.1")
             GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
       GENLIST_PROGRAM_SOUND("elm.text.1")
             GENLIST_DESCRIPTION_SUBITEM_DEFAULT_OTHERS_TB_WRAP
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
       GENLIST_PROGRAM_SOUND("elm.text.1")
                min: 0 GENLIST_HEIGHT_GROUPTITLE;
             )
          )
-
          GENLIST_PART_ICON("elm.icon",
             GENLIST_DESCRIPTION_RTB("elm.padding.right",
                "elm.padding.top", "elm.padding.bottom",
             )
          )
          GENLIST_PART_FLIP
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAM_DISABLED( target: "elm.text"; target: "elm.icon"; )
+      GENLIST_PROGRAM_FOCUS_NORMAL
    }
 
 // 2.4.4.2 Help Text
             min: 0 38;
          )
          GENLIST_PART_FLIP
-         GENLIST_PART_FOCUS
+         GENLIST_PART_FOCUS_NORMAL
       }
       GENLIST_PROGRAM_DISABLED( target: "elm.text"; )
       GENLIST_PROGRAM_FOCUS