From: Hyoyoung Chang Date: Fri, 18 May 2012 07:56:24 +0000 (+0900) Subject: [genlist] add multisense sound feature X-Git-Tag: 2.0_alpha~126 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43ea0cb226bcc78154730b6f178bcc34ef355def;p=framework%2Fuifw%2Fefl-theme-tizen.git [genlist] add multisense sound feature Change-Id: I391be5bbb8026d9bde4e3baa8c26c555c4376db4 --- diff --git a/themes/widgets/genlist/genlist_macro.edc b/themes/widgets/genlist/genlist_macro.edc index 36bf9ea..0c5093f 100644 --- a/themes/widgets/genlist/genlist_macro.edc +++ b/themes/widgets/genlist/genlist_macro.edc @@ -847,3 +847,12 @@ target: "elm.flip.content"; \ } +/* genlist multisense macro - start */ +#define GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS \ + after: "play_button_press"; + +#define GENLIST_PROGRAM_PLAY_BUTTON_PRESS \ + program { name: "play_button_press"; \ + action: PLAY_SAMPLE "button-pressed" 1.0; \ + } +/* genlist multisense macro - end */ diff --git a/themes/widgets/genlist/genlist_normal.edc b/themes/widgets/genlist/genlist_normal.edc index a08b5fd..003b7a4 100644 --- a/themes/widgets/genlist/genlist_normal.edc +++ b/themes/widgets/genlist/genlist_normal.edc @@ -19,6 +19,14 @@ * vim:ts=3 */ +/* genlist multisense sample/tone listing */ + sounds { + sample { + name: "button-pressed" RAW; + source: "button-pressed.wav"; + } + } + group { name: "elm/list/item/matchlist"; alias: "elm/list/item_odd/matchlist"; alias: "elm/list/item_compress/matchlist"; @@ -383,6 +391,7 @@ source: "elm"; action: STATE_SET "selected" 0.0; GENLIST_PROGRAM_SCRIPT_FLIP_SELECT_1TEXT + GENLIST_PROGRAM_AFTER_PLAY_BUTTON_PRESS } program { name: "go_passive"; signal: "elm,state,unselected"; @@ -405,6 +414,7 @@ target: "disclip"; } GENLIST_PROGRAM_FLIP_1TEXT + GENLIST_PROGRAM_PLAY_BUTTON_PRESS } }