[Genlist] Fix some sound macro
authorTae-Hwan Kim <the81.kim@samsung.com>
Thu, 2 May 2013 06:31:28 +0000 (15:31 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 11:11:52 +0000 (20:11 +0900)
1. Only BG (or BG reorder or BG dialogue) make sound.
2. text/image part just repeat it's events to below.
3. Some image part do not need to receive events.

Change-Id: I096c008242728305f8b9cb149ce6054793913cc7

themes/widgets/genlist/genlist_decorate.edc
themes/widgets/genlist/genlist_expandable.edc
themes/widgets/genlist/genlist_macro.edc
themes/widgets/genlist/genlist_normal.edc
themes/widgets/genlist/genlist_sweep.edc

index a329b57..b5e9219 100644 (file)
@@ -49,9 +49,8 @@
          )
       }
       programs {
-         GENLIST_PROGRAM_SOUND("elm.text")
-         GENLIST_PROGRAM_SOUND("bg")
          GENLIST_PROGRAM_DISABLED( target: "elm.icon"; target: "elm.text"; )
+         GENLIST_PROGRAM_SOUND("bg")
       }
    }
 
                max: DIALOGUE_PADDING_SIZE_RIGHT -1;
             }
          )
-         GENLIST_PART_RECT("sound_left",
-            description { state: "default" 0.0;
-              color: 0 0 0 0;
-              rel2.to_x: "elm.swallow.decorate.content";
-              rel2.relative: 0 1;
-            }
-         )
-         GENLIST_PART_RECT("sound_right",
-            description { state: "default" 0.0;
-              color: 0 0 0 0;
-              rel1.to_x: "elm.swallow.decorate.content";
-              rel1.relative: 1 0;
-            }
-         )
          GENLIST_PART_ICON("elm.edit.icon.1",
             GENLIST_DESCRIPTION_L("elm.padding.left",
                align: 1 0.5;
             target: "bottom_line";
             target: "bottom_line2";
          )
-         // FIXME: GENLIST_PROGRAM_SOUND("base") makes duplicated clicked sounds because
-         // swallowed edje also makes sound.
-         // I don't know why "base" part can receive "mouse,clicked,1" events
-         // even though it is below the "elm.swallow.decorate.content" and events should
-         // not be repeated!!!!!!!!
-         GENLIST_PROGRAM_SOUND("sound_left")
-         GENLIST_PROGRAM_SOUND("sound_right")
+         // BG of swallowed VIEW(it) is visible 0
+         GENLIST_PROGRAM_SOUND("bg")
+         GENLIST_PROGRAM_SOUND("bg_reorder")
          GENLIST_PROGRAM_REORDER(
            target: "bg_clip";
            target: "bg_reorder_clip";
index 7d68196..000b4c6 100644 (file)
@@ -58,8 +58,6 @@
       programs {
          GENLIST_PROGRAM_SELECT_ARROW
          GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
-         GENLIST_PROGRAM_SOUND("elm.text.1")
-         GENLIST_PROGRAM_SOUND("elm.text.2")
       }
    }
 
       programs {
          GENLIST_PROGRAM_SELECT_ARROW
          GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
-         GENLIST_PROGRAM_SOUND("elm.text.1")
-         GENLIST_PROGRAM_SOUND("elm.text.2")
       }
    }
 
       programs {
          GENLIST_PROGRAM_SELECT_ARROW
          GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
-         GENLIST_PROGRAM_SOUND("elm.text.1")
-         GENLIST_PROGRAM_SOUND("elm.text.2")
       }
    }
 
       programs {
          GENLIST_PROGRAM_SELECT_ARROW
          GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
-         GENLIST_PROGRAM_SOUND("elm.text.1")
-         GENLIST_PROGRAM_SOUND("elm.text.2")
       }
    }
 
       programs {
          GENLIST_PROGRAM_SELECT_ARROW
          GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
-         GENLIST_PROGRAM_SOUND("elm.text.1")
-         GENLIST_PROGRAM_SOUND("elm.text.2")
-         GENLIST_PROGRAM_SOUND("elm.text.3")
       }
    }
 
       programs {
          GENLIST_PROGRAM_SELECT_ARROW
          GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
-         GENLIST_PROGRAM_SOUND("elm.text")
       }
    }
 #if 0
       programs {
          GENLIST_PROGRAM_DISABLED
          GENLIST_PROGRAM_SELECT_BOTTOMLINE( target: "elm.text"; )
-         GENLIST_PROGRAM_SOUND("elm.text")
       }
    }
 
       programs {
          GENLIST_PROGRAM_DISABLED
          GENLIST_PROGRAM_SELECT_BOTTOMLINE( target: "elm.text"; )
-         GENLIST_PROGRAM_SOUND("elm.text")
       }
    }
 
             action: STATE_SET "default" 0.0;
             target: "disclip";
          }
-         GENLIST_PROGRAM_SOUND("elm.text")
       }
    }
 
index a6faaa7..2810c86 100644 (file)
          ) \
          GENLIST_PART_IMAGE("elm.thumb", \
             clip_to: "elm.thumb.clip"; \
+            mouse_events: 0; \
             GENLIST_DESCRIPTION_ENVELOP(PARENT, \
                image.normal: "Content_views/Icon_masking/"SIZE_PREFIX"/00_list_circle_icon_bg_normal.png"; \
                min: MASK_SIZE MASK_SIZE; \
          ) \
          GENLIST_PART_IMAGE("elm.thumb", \
             clip_to: "elm.thumb.clip"; \
+            mouse_events: 0; \
             GENLIST_DESCRIPTION_ENVELOP(PARENT, \
                image.normal: "Content_views/Icon_masking/"SIZE_PREFIX"/00_list_square_icon_bg_normal.png"; \
                min: MASK_SIZE MASK_SIZE; \
          ) \
          GENLIST_PART_IMAGE("elm.thumb", \
             clip_to: "elm.thumb.clip"; \
+            mouse_events: 0; \
             GENLIST_DESCRIPTION_ENVELOP(PARENT, \
                image.normal: "Content_views/Icon_masking/"SIZE_PREFIX"/00_dialogue_circle_icon_bg_normal.png"; \
                min: MASK_SIZE MASK_SIZE; \
          ) \
          GENLIST_PART_IMAGE("elm.thumb", \
             clip_to: "elm.thumb.clip"; \
+            mouse_events: 0; \
             GENLIST_DESCRIPTION_ENVELOP(PARENT, \
                image.normal: "Content_views/Icon_masking/"SIZE_PREFIX"/00_dialogue_square_icon_bg_normal.png"; \
                min: MASK_SIZE MASK_SIZE; \
 //****************************************************************************//
 #define GENLIST_PART_BG_NORMAL \
       GENLIST_PART_RECT("bg_clip", \
+         mouse_events: 0; \
          description { state: "default" 0.0; \
+            visible: 1; \
             color: 255 255 255 255; \
          } \
          description { state: "decorate" 0.0; \
             inherit: "default" 0.0; \
-            color: 0 0 0 0; \
+            visible: 0; \
          } \
          description { state: "reorder" 0.0; \
             inherit: "default" 0.0; \
-            color: 0 0 0 0; \
+            visible: 0; \
          } \
          description { state: "decorate_reorder" 0.0; \
             inherit: "default" 0.0; \
-            color: 0 0 0 0; \
-         } \
-      ) \
-      GENLIST_PART_RECT("bg",  \
-         clip_to: "bg_clip"; \
-         description { state: "default" 0.0; \
-            color: GENLIST_LIST_BG_COLOR; \
-         } \
-         description { state: "selected" 0.0; \
-            inherit: "default" 0.0; \
-            color: GENLIST_LIST_PRESS_COLOR; \
-         } \
-         description { state: "disabled" 0.0; \
-            inherit: "default" 0.0; \
-            color: GENLIST_LIST_DIM_COLOR; \
+            visible: 0; \
          } \
       ) \
       GENLIST_PART_RECT("bg_reorder_clip", \
+         mouse_events: 0; \
          description { state: "default" 0.0; \
-            color: 0 0 0 0; \
+            visible: 0; \
          } \
          description { state: "reorder" 0.0; \
             inherit: "default" 0.0; \
+            visible: 1; \
             color: 255 255 255 255; \
          } \
          description { state: "decorate_reorder" 0.0; \
             inherit: "default" 0.0; \
+            visible: 0; \
          } \
          description { state: "decorate" 0.0; \
             inherit: "default" 0.0; \
+            visible: 0; \
          } \
          description { state: "reorder_flip" 0.0; \
             inherit: "default" 0.0; \
+            visible: 0; \
+         } \
+      ) \
+      GENLIST_PART_RECT("bg",  \
+         clip_to: "bg_clip"; \
+         description { state: "default" 0.0; \
+            color: GENLIST_LIST_BG_COLOR; \
+         } \
+         description { state: "selected" 0.0; \
+            inherit: "default" 0.0; \
+            color: GENLIST_LIST_PRESS_COLOR; \
+         } \
+         description { state: "disabled" 0.0; \
+            inherit: "default" 0.0; \
+            color: GENLIST_LIST_DIM_COLOR; \
          } \
       ) \
       GENLIST_PART_SPACER("bg_reorder_left", \
 
 #define GENLIST_PART_BG_NORMAL_OFF \
    GENLIST_PART_RECT("bg_clip", \
+      mouse_events: 0; \
       description { state: "default" 0.0; \
          visible: 0; \
       } \
       } \
    ) \
    GENLIST_PART_RECT("bg_reorder_clip", \
-         description { state: "default" 0.0; \
-            visible: 0; \
-         } \
-         description { state: "reorder" 0.0; \
-            visible: 0; \
-         } \
-         description { state: "decorate_reorder" 0.0; \
-            visible: 0; \
-         } \
-         description { state: "decorate" 0.0; \
-            visible: 0; \
-         } \
-         description { state: "reorder_flip" 0.0; \
-            visible: 0; \
-         } \
-      ) \
+      mouse_events: 0; \
+      description { state: "default" 0.0; \
+         visible: 0; \
+      } \
+      description { state: "reorder" 0.0; \
+         visible: 0; \
+      } \
+      description { state: "decorate_reorder" 0.0; \
+         visible: 0; \
+      } \
+      description { state: "decorate" 0.0; \
+         visible: 0; \
+      } \
+      description { state: "reorder_flip" 0.0; \
+         visible: 0; \
+      } \
+   ) \
    GENLIST_PART_IMAGE("bg_reorder", \
+      mouse_events: 0; \
       description {state: "default" 0.0;\
          visible: 0;\
       }\
 #define GENLIST_PART_BASE \
          GENLIST_PART_BASE_SIZE(0)
 
-
 #define GENLIST_PART_FOCUS \
    GENLIST_PART_IMAGE("focus_part", \
       mouse_events: 0; \
       }
 
 #define GENLIST_PROGRAM_SOUND( SRC ) \
-         program { name: "play_sound"SRC; \
-            signal: "mouse,clicked,1"; \
-            source: SRC; \
-            script { \
-               new st[31]; \
-               new Float:vl; \
-               get_state(PART:"base", st, 30, vl); \
-               if (strcmp(st, "disabled")) \
-                  run_program(PROGRAM:"play_button_press"SRC); \
-            } \
+      program { name: "play_sound"SRC; \
+         signal: "mouse,clicked,1"; \
+         source: SRC; \
+         script { \
+            new st[31]; \
+            new Float:vl; \
+            get_state(PART:"base", st, 30, vl); \
+            if (strcmp(st, "disabled")) \
+               run_program(PROGRAM:"play_button_press"SRC); \
          } \
-         program { name: "play_button_press"SRC; \
-            action: PLAY_SAMPLE "button-pressed" 1.0; \
-         }
+      } \
+      program { name: "play_button_press"SRC; \
+         action: PLAY_SAMPLE "button-pressed" 1.0; \
+      }
 
 #define GENLIST_PROGRAM_SELECT( TARGET ) \
          program { name: "selected"; \
          target: "bottom_line2"; \
          target: "bg_reorder"; \
       ) \
-      GENLIST_PROGRAM_SOUND( "bg" ) \
-      GENLIST_PROGRAM_SOUND( "bg_reorder" ) \
+      GENLIST_PROGRAM_SOUND("bg") \
+      GENLIST_PROGRAM_SOUND("bg_reorder") \
       GENLIST_PROGRAM_DECORATE_REORDER("normal", TARGET \
          target: "bg_clip"; \
          target: "bg_reorder_clip"; \
       GENLIST_PROGRAM_EDITMODE \
    }
 
-#define GENLIST_PROGRAMS_READ_TEXT( TARGET ) \
-   programs { \
-      GENLIST_PROGRAM_DEFAULT( TARGET \
-         target: "bg"; \
-         target: "bg_clip"; \
-         target: "bottom_line"; \
-         target: "bottom_line2"; \
-         target: "bottom_line_clip"; \
-         target: "bg_reorder"; \
-         target: "elm.padding.left"; \
-         target: "elm.padding.right"; \
-      ) \
-      GENLIST_PROGRAM_DISABLED( TARGET \
-         target: "bg"; \
-         target: "bottom_line"; \
-         target: "bottom_line2"; \
-         target: "bg_reorder"; \
-      ) \
-      GENLIST_PROGRAM_FOCUS \
-      GENLIST_PROGRAM_SELECT( TARGET \
-         target: "bg"; \
-         target: "bottom_line"; \
-         target: "bottom_line2"; \
-         target: "bg_reorder"; \
-      ) \
-      GENLIST_PROGRAM_SOUND("bg") \
-      GENLIST_PROGRAM_DECORATE_REORDER( "normal", \
-         target: "bg_clip"; \
-         target: "bg_reorder_clip"; \
-         target: "bottom_line_clip"; \
-         target: "elm.padding.left"; \
-         target: "elm.padding.right"; \
-      ) \
-      program { name: "unselected_target"; \
-         action: STATE_SET "default" 0.0; \
-         TARGET \
-      } \
-      program { name: "unselected_read"; \
-         signal: "elm,state,unselected"; \
-         source: "elm"; \
-         script { \
-            if (get_int(readed) == 1) \
-               run_program(PROGRAM:"go_read_target"); \
-            else \
-               run_program(PROGRAM:"unselected_target"); \
-         } \
-      } \
-      program { name: "go_read"; \
-         signal: "elm,state,read"; \
-         source: "*"; \
-         script { \
-           set_int(readed, 1); \
-           run_program(PROGRAM:"go_read_target"); \
-         } \
-      } \
-      program { name: "go_unread"; \
-         signal: "elm,state,unread"; \
-         source: "*"; \
-         script { \
-           set_int(readed, 0); \
-           run_program(PROGRAM:"go_unread_target"); \
-         } \
-      } \
-      program { name: "go_read_target"; \
-         action: STATE_SET "read" 0.0; \
-         TARGET \
-      } \
-      program { name: "go_unread_target"; \
-         action: STATE_SET "unread" 0.0; \
-         TARGET \
-      } \
-   }
-
 #define GENLIST_PROGRAMS_DECORATE_EFFECT( TARGET ) \
    program { name: "decorate_enabled_effect_ef"; \
       signal: "elm,state,decorate,enabled,effect";\
 #define GENLIST_PART_TEXT(NAME, DESCRIPION) \
     part { name: NAME; \
       scale: 1; \
+      repeat_events: 1; \
       type: TEXT; \
       DESCRIPION \
    }
 #define GENLIST_PART_TEXTBLOCK(NAME, DESCRIPION) \
     part { name: NAME; \
       scale: 1; \
+      repeat_events: 1; \
       type: TEXTBLOCK; \
       DESCRIPION \
    }
 // FIXME: Need to find why rel2.offset: 9 -1 will not fix the alignment of bubble text ?
 #define GENLIST_PART_LIST_BUBBLE_TEXT_RTB(NAME, HEIGHT, RIGHT, TOP, BOTTOM) \
          GENLIST_PART_IMAGE("elm.bubble", \
+            mouse_events: 0; \
             GENLIST_DESCRIPTION_ENVELOP(NAME, \
                image { \
                   normal: "00_list_bubble_bg.png"; \
index fb96238..4e8e77a 100644 (file)
@@ -57,7 +57,6 @@
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.swallow.icon"; target: "elm.swallow.end"; )
-      GENLIST_PROGRAM_SOUND("elm.text")
    }
 
 // -------------------------------------------------------------------
@@ -91,6 +90,7 @@
             )
          )
          GENLIST_PART_IMAGE("elm.image.rename",
+            mouse_events: 0;
             GENLIST_DESCRIPTION_ENVELOP("elm.icon.eraser",
                fixed: 1 0;
                visible: 1;
             )
          )
          GENLIST_PART_IMAGE("elm.image.rename",
+            mouse_events: 0;
             GENLIST_DESCRIPTION_ENVELOP("elm.icon.eraser",
                visible: 1;
                fixed: 1 0;
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; )
-      GENLIST_PROGRAM_SOUND("elm.text")
    }
 // 2.2.1.1 (textblock)
    group { GENLIST_NAME("1text.tb/default")
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; )
-      GENLIST_PROGRAM_SOUND("elm.text")
    }
 
 // 2.2.1.2
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.1.3
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text")
    }
 
 // 2.2.1.5
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
-      GENLIST_PROGRAM_SOUND("elm.text")
    }
 
 // 2.2.1.9 (textblock)
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
-      GENLIST_PROGRAM_SOUND("elm.text")
    }
 
 // 2.2.1.10
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text")
    }
 
 // 2.2.1.10.1 (circle)
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text")
    }
 
 // 2.2.1.11
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.1.12
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
-      GENLIST_PROGRAM_SOUND("elm.text")
    }
 
 // 2.2.1.13 (textblock)
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
-      GENLIST_PROGRAM_SOUND("elm.text")
    }
 
 // 2.2.1.14
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; )
-      GENLIST_PROGRAM_SOUND("elm.text")
    }
 
 // 2.2.1.19
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; )
-      GENLIST_PROGRAM_SOUND("elm.text")
    }
 
 // 2.2.1.21
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text"; target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; )
-      GENLIST_PROGRAM_SOUND("elm.text")
    }
 
 // 2.2.1.26
       GENLIST_PROGRAMS_NORMAL(
          target: "elm.text.1"; target: "elm.text.2";
          target: "elm.divider1"; target: "elm.divider2"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.1.26 (textblock)
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.divider1"; target: "elm.divider2"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.1.27
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.divider1"; target: "elm.divider2"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.1.28
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.1 (textblock)
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.2
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.3
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
-      GENLIST_PROGRAM_SOUND("elm.text.3")
    }
 
 // 2.2.2.3 (textblock)
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
-      GENLIST_PROGRAM_SOUND("elm.text.3")
    }
 
 // 2.2.2.4
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.4 (textblock)
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.6
       }
       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_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.7
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
          target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
-      GENLIST_PROGRAM_SOUND("elm.text.3")
    }
 
 // 2.2.2.7 (textblock)
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
          target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
-      GENLIST_PROGRAM_SOUND("elm.text.3")
    }
 
 // 2.2.2.8
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.9
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.11
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.13
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.14
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.14.1 (circle)
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.15
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
          target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
-      GENLIST_PROGRAM_SOUND("elm.text.3")
    }
 
 // 2.2.2.16
       }
       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_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.17 (textblock)
       }
       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_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.18
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2";)
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.19
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2";)
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.19 (textblock)
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2";)
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.20
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.20 (textblock)
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2";)
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.21
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.swallow.progress";)
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.22
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.swallow.progress"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
-      GENLIST_PROGRAM_SOUND("elm.text.3")
    }
 
 // 2.2.2.23
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon"; target: "elm.divider1"; target: "elm.divider2"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.30
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.31
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2";)
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.35
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 
       }
       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_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
-      GENLIST_PROGRAM_SOUND("elm.text.3")
-      GENLIST_PROGRAM_SOUND("elm.text.4")
    }
 
 // 2.2.2.38 textblock
       }
       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_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
-      GENLIST_PROGRAM_SOUND("elm.text.3")
-      GENLIST_PROGRAM_SOUND("elm.text.4")
    }
 
 // 2.2.2.39
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4";
          target: "elm.icon.1";)
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
-      GENLIST_PROGRAM_SOUND("elm.text.3")
-      GENLIST_PROGRAM_SOUND("elm.text.4")
    }
 // 2.2.2.39 (TEXTBLOCK)
    group { GENLIST_NAME("4text.1icon.2.tb/default")
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4";
          target: "elm.icon.1";)
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
-      GENLIST_PROGRAM_SOUND("elm.text.3")
-      GENLIST_PROGRAM_SOUND("elm.text.4")
    }
 
 // 2.2.2.40
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; target: "elm.text.4";
          target: "elm.bubble"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
-      GENLIST_PROGRAM_SOUND("elm.text.3")
-      GENLIST_PROGRAM_SOUND("elm.text.4")
-
    }
 
 // 2.2.2.41
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
          target: "elm.icon.1";)
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
-      GENLIST_PROGRAM_SOUND("elm.text.3")
    }
 
 // 2.2.2.42
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
          target: "elm.icon.1";)
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
-      GENLIST_PROGRAM_SOUND("elm.text.3")
    }
 
 
       }
       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";)
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.44
       }
       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_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
-      GENLIST_PROGRAM_SOUND("elm.text.3")
-      GENLIST_PROGRAM_SOUND("elm.text.4")
    }
 
 // 2.2.2.45
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
          target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
-      GENLIST_PROGRAM_SOUND("elm.text.3")
    }
 
 // 2.2.2.46
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon.1"; target: "elm.icon.2";)
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.2.47
          target: "elm.divider1"; target:"elm.divider2";
          target: "center_line"; target:"center_line2";
       )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
    }
 
 // 2.2.4.2
          target: "elm.text";
          target: "elm.divider1"; target:"elm.divider2";
       )
-      GENLIST_PROGRAM_SOUND("elm.text")
    }
 
 // 2.2.4.3
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.2.4.4
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.4.4.5
          GENLIST_PART_FOCUS
       }
       GENLIST_PROGRAMS_NORMAL( target: "elm.text.1"; target: "elm.text.2"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 /************************************************************/
       */
       GENLIST_DIALOGUE_INHERIT_BODY(;)
       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; )
-      GENLIST_PROGRAM_SOUND("elm.text")
    }
 
 // 2.4.1.2
          GENLIST_PART_FOCUS_DIALOGUE
       }
       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text")
    }
 
 // 2.4.1.10
       }
       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.4.1.10 (Textblock)
       }
       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2";
          target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.4.1.12
 
       GENLIST_DIALOGUE_INHERIT_BODY( ; )
       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.4.1.13
 
 #define GENLIST_PART_PASSWORD_RTB(NAME, BG_NAME, RIGHT, TOP, BOTTOM) \
    GENLIST_PART_IMAGE(BG_NAME, \
+      mouse_events: 0; \
       GENLIST_DESCRIPTION_RTB(RIGHT, TOP, BOTTOM, \
          GENLIST_PARAM_PASSWORD_IMAGE \
          fixed: 1 0; \
 
 #define GENLIST_PART_PASSWORD_LTB(NAME, BG_NAME, LEFT, TOP, BOTTOM) \
    GENLIST_PART_IMAGE(BG_NAME, \
+      mouse_events: 0; \
       GENLIST_DESCRIPTION_LTB(LEFT, TOP, BOTTOM, \
          GENLIST_PARAM_PASSWORD_IMAGE \
          fixed: 1 0; \
       }
       programs {
          GENLIST_PROGRAM_DISABLED( target: "elm.text"; )
-         GENLIST_PROGRAM_SOUND("elm.text")
       }
    }
 
       }
       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1";
          target: "elm.text.2"; target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.4.2.18
          GENLIST_PART_FOCUS_DIALOGUE
       }
       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; target: "elm.icon"; )
-      GENLIST_PROGRAM_SOUND("elm.text.1")
-      GENLIST_PROGRAM_SOUND("elm.text.2")
    }
 
 // 2.4.2.20
       }
       GENLIST_PROGRAM_DISABLED( target: "elm.text"; )
       GENLIST_PROGRAM_FOCUS
-      GENLIST_PROGRAM_SOUND("elm.text")
    }
 
 // 2.4.4.3
             action: STATE_SET "urgency_read" 0.0;
             target: "elm.text.subject";
          }
-         GENLIST_PROGRAM_SOUND("elm.text.subject")
-         GENLIST_PROGRAM_SOUND("elm.text.name")
-         GENLIST_PROGRAM_SOUND("elm.text.date")
       }
    }
 
             action: STATE_SET "default" 0.0;
             target: "disclip";
          }
-         GENLIST_PROGRAM_SOUND("msgcount")
-         GENLIST_PROGRAM_SOUND("elm.text")
       }
    }
 
             action: STATE_SET "default" 0.0;
             target: "disclip";
          }
-         GENLIST_PROGRAM_SOUND("elm.text.msgcount")
-         GENLIST_PROGRAM_SOUND("elm.text")
       }
    }
 
             target: "disclip";
          }
          GENLIST_PROGRAM_FLIP_2TEXT
-         GENLIST_PROGRAM_SOUND("elm.text.1")
-         GENLIST_PROGRAM_SOUND("elm.text.2")
       }
    }
 
             target: "disclip";
          }
          GENLIST_PROGRAM_FLIP_2TEXT_1ICON
-         GENLIST_PROGRAM_SOUND("elm.text.1")
-         GENLIST_PROGRAM_SOUND("elm.text.2")
       }
    }
 
             target: "disclip";
          }
          GENLIST_PROGRAM_FLIP_2TEXT_1ICON
-         GENLIST_PROGRAM_SOUND("elm.text.1")
-         GENLIST_PROGRAM_SOUND("elm.text.2")
       }
    }
 
             target: "disclip";
          }
          GENLIST_PROGRAM_FLIP_2TEXT_2ICON
-         GENLIST_PROGRAM_SOUND("elm.text.1")
-         GENLIST_PROGRAM_SOUND("elm.text.2")
       }
    }
 
             target: "disclip";
          }
          GENLIST_PROGRAM_FLIP_2TEXT_2ICON
-         GENLIST_PROGRAM_SOUND("elm.text.1")
-         GENLIST_PROGRAM_SOUND("elm.text.2")
       }
    }
 
             action: STATE_SET "default" 0.0;
             target: "disclip";
          }
-         GENLIST_PROGRAM_SOUND("elm.text")
       }
    }
 
             action: STATE_SET "default" 0.0;
             target: "disclip";
          }
-         GENLIST_PROGRAM_SOUND("elm.text.1")
-         GENLIST_PROGRAM_SOUND("elm.text.2")
       }
    }
 
          GENLIST_PART_FLIP
          GENLIST_PART_FOCUS
       }
-      GENLIST_PROGRAMS_READ_TEXT( target: "elm.text.1"; target: "elm.text.2";
+      GENLIST_PROGRAMS_EMAIL( 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.icon.2";
          target: "elm.icon.3"; target: "elm.icon.4"; target: "elm.icon.5"; )
          GENLIST_PART_FLIP
          GENLIST_PART_FOCUS
       }
-      GENLIST_PROGRAMS_READ_TEXT( target: "elm.text.1"; target: "elm.text.2";
+      GENLIST_PROGRAMS_EMAIL( 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.icon.2";
          target: "elm.icon.3"; target: "elm.icon.4"; )
          GENLIST_PART_FLIP
          GENLIST_PART_FOCUS
       }
-      GENLIST_PROGRAMS_READ_TEXT( target: "elm.text.1"; target: "elm.text.2";
+      GENLIST_PROGRAMS_EMAIL( 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.icon.2";
          target: "elm.icon.3"; target: "elm.icon.4"; )
          GENLIST_PART_FLIP
          GENLIST_PART_FOCUS
       }
-      GENLIST_PROGRAMS_READ_TEXT( target: "elm.text.1"; target: "elm.text.2";
+      GENLIST_PROGRAMS_EMAIL( 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.icon.2";
          target: "elm.icon.3"; )
index 83e7e65..be22df9 100644 (file)
@@ -36,6 +36,7 @@
 
       parts {
          GENLIST_PART_IMAGE("bg_sweep",
+            mouse_events: 0;
             description { state: "default" 0.0;
                image {
                   normal: "00_quick_menu_bg.png";
@@ -56,6 +57,7 @@
                max: -1 GENLIST_BTN_01_HEIGHT; )
          )
          GENLIST_PART_RECT("overlay",
+            mouse_events: 0;
             description { state: "default" 0.0;
                color: 0 0 0 128;
             }