From f3d2d6a0b6c81218eef8c01da9970ce4024c1cdb Mon Sep 17 00:00:00 2001 From: Denis Dolzhenko Date: Thu, 10 Nov 2016 11:56:37 +0200 Subject: [PATCH] Removed unused sounds. Change-Id: If4cb16fbc519b21dbefced9e816d981a2451f375 Signed-off-by: Denis Dolzhenko --- edje/sounds/Tizen_Touch.wav | Bin 7668 -> 0 bytes edje/sounds/button-pressed.wav | Bin 24740 -> 0 bytes res/edje/button_theme.edc | 175 --------------------------------- 3 files changed, 175 deletions(-) delete mode 100755 edje/sounds/Tizen_Touch.wav delete mode 100755 edje/sounds/button-pressed.wav diff --git a/edje/sounds/Tizen_Touch.wav b/edje/sounds/Tizen_Touch.wav deleted file mode 100755 index ef6e6ae1fb9a6115a706dc45e8b4a85eafc3e5d4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7668 zcmWIYbaQ(n%fJxs80MOmTcRMqz`(!=gf43s7&;;t8JHLZ7*Y~T5^I2JM!{$ZjE2By z2#kinNDl!vV7>6;e-gtUhIodG|405E`uFbtEXGXc8s^uGpZ>@GUGwM9zgDIy)-!Bt zSa$te^y~C5j(_`@bGf6qb2w)*u>E}Y&E$6+TNq!I@DsimrnWD3@0`9cv8jnzNMs4S zF|oXV^Q_{16BC;_li~s?XNK9&7Tme}Z1vw*nGVCd+ED^O-c7nAb(iP+Gg&=z0sRu; z{C5FYU2iRCVKGqikZ?;=dh{vo=Dw?yKfN^W>N(Za7FdNGL?V zI&->c-?FQg!d0dv8f&gwZYw&!=E=3%37R#{yPG z9MJ!|(_pLbV#^Z(X?N-lTss^8I$Tc7#?$7x?2ae@j!IqJ^qNUF!1k7XjdJ0yh&x;F zt9-SP`C`Fm<*c@YdC$Y8cQ1TA!tbHRquU^{=!eeZxsNV=T*rGy<$@-k1oOYjS3M8e zURg8vi1WxMiP$jdeT;uO>4ON<6Tw=sTSBW?uYURV?$H-Nrp96U&ajw|{p3Eckbqbq|L*dlvJwf9AhM{=EJ#!hD1EKkHAXJO7jZ8vWhy zkB!lbDV6cwe*p$pa0AZ|KK7J8IULl za{%KW#zv-L`bX)}5Eu=C(GVC7fzc2c4S~@R7!85Z5Eu=C(GVC7fzc2c4S~@R7!85Z e5Eu=C(GVC70pdfz*(Ed01*jZ^8Hv}1RV4r(g8qsC diff --git a/edje/sounds/button-pressed.wav b/edje/sounds/button-pressed.wav deleted file mode 100755 index 99ba74d953ddc929ae302303c0a815f202697151..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24740 zcmeIx>rY#C7zgm*Ifu5V6iP2!YblhD%AkNwWQt4N#v(9qUPwb=iNP=jyJ*yy%sFID z*j{XlMv`f_MJ0iSZOJx`lT8V8Av2oe29C_~_u*7_yC*OBZ z@+6-;kFBbrqP>BTx*fIU``$ieRuMv|wJ!ULkW;%ULK78f+;eEpk+m5V1Rwwb2tWV= z5P$##9)*A?z9lY*KT@}nUSVAdhjKQpEUh}lDx*j@7ham1?{F(8#PMI;`ybS=b`f)0 zVP>^8TEsk?UfiEwYYHfz7kd1rsqsIPf8YM=jeF7I7iMZ!zM$JQpP086bQGl&AJ~+a zt1#B3oQP-pznwZU)HV3gy=vF#zgy@33gssWnyDcEQw=t1GN6EXvcFJ?pN^Jds&kpLXSF=1@K+vDvHy5jll8I8f{G1pjL&YsV7=(MSO>9gEr|CPCy z+?L5#r*6);eUeax@EIFYA2u|aD$Ts<%k+!d(c~1WihE~iuXoZ@I(^+kd3*c?|Fnuf zv3hla+uXrf$$Y-=U?7V>Li$*l>eBjDL(EY1Sn0Z* z%79cQ)^UzN(?i>XcCT$=i$An77AdEi**>LRyG?gjr&zyDJ*23U91wcBK(NbS_|WD1 zbg>|?E4(k}q-b_m>Snb~`?1!gZd9I=`xri9<6Borz`Uec`eB(~ZRWm@Tj&>Mor*r? zYpNR6HD#ybsH}&+oydx84ck|8f>pthm9N9ik-lfj@H3&7&_uX|FN=L6nCL2rQ+8Zln(UKbX4|AbCP1V@U2IEaf~)2(a6j{o=xDrN z9H4^C6-lo&U3Ob~M^c{jCf!8r!rgdF>{|4LXn(XL=89Jc{bC9A9=)3xXCll+CYdqO z8z>cdT5J$JiL;5TiQzvFDCj=k> z0SG_<0uX=z1Rwwb2tWV=5P$##AOHafKmY;|fB*y_009U<00Izz00bZa0SG_<0uX=z z1Rwwb2tWV=5P$##AOHafKmY;|fB*y_009U<00Izz00bZa0SG_<0uX=z1Rwwb2tWV= K5P-n{S>Rue2ZFNz diff --git a/res/edje/button_theme.edc b/res/edje/button_theme.edc index 178a54cd..e4abb46d 100755 --- a/res/edje/button_theme.edc +++ b/res/edje/button_theme.edc @@ -74,13 +74,6 @@ externals { */ } } - -sounds { - sample { - name: "touch_sound" AS_IS; - source: "Tizen_Touch.wav"; - } -} styles { style { name: "title_textstyle"; @@ -88,174 +81,6 @@ styles { } } -/////////////////////////////////////////////////////////////////////////////////////// -#define BUTTON_ICON_STYLES(style_name , min_width, min_height) \ - group { name: "elm/button/base/"style_name; \ - images { \ - } \ - script { \ - public mouse_down = 0; \ - public multi_down = 0; \ - } \ - parts { \ - part { name: "button_image"; \ - type: SPACER; \ - scale: 1; \ - description { state: "default" 0.0; \ - min: min_width min_height; \ - max: min_width min_height; \ - } \ - } \ - part { name: "button_center_part"; \ - type : SWALLOW ; \ - mouse_events: 0; \ - scale: 1; \ - description { state: "default" 0.0; \ - rel1.to: "button_image"; \ - rel2.to: "button_image"; \ - } \ - description { state: "pressed" 0.0; \ - inherit: "default" 0.0; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - } \ - } \ - part { name: "over1"; \ - type: RECT; \ - repeat_events: 1; \ - ignore_flags: ON_HOLD; \ - description { state: "default" 0.0; \ - rel1.to: "button_image"; \ - rel2.to: "button_image"; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "over2"; \ - type: RECT; \ - repeat_events: 1; \ - description { state: "default" 0.0; \ - rel1.to: "button_image"; \ - rel2.to: "button_image"; \ - color: 0 0 0 0; \ - } \ - } \ - part { name: "disabler"; \ - type: RECT; \ - description { state: "default" 0.0; \ - rel1.to: "button_image"; \ - rel2.to: "button_image"; \ - color: 0 0 0 0; \ - visible: 0; \ - } \ - description { state: "disabled" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } \ - } \ - programs { \ - program { name: "button_press"; \ - signal: "mouse,down,1*"; \ - source: "over1"; \ - script { \ - if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) \ - { \ - set_int(mouse_down, 1); \ - run_program(PROGRAM:"button_press2"); \ - } \ - } \ - } \ - program { name: "button_press2"; \ - action: SIGNAL_EMIT "elm,action,press" ""; \ - after: "button_press_anim"; \ - } \ - program { name: "button_press_anim"; \ - action: STATE_SET "pressed" 0.0; \ - target: "button_center_part"; \ - } \ - program { name: "key_press"; \ - signal: "elm,action,pressed"; \ - source: "elm"; \ - action: STATE_SET "pressed" 0.0; \ - target: "button_center_part"; \ - } \ - program { name: "key_unpress"; \ - signal: "elm,action,unpressed"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "button_center_part"; \ - } \ - program { name: "button_unpress"; \ - signal: "mouse,up,1*"; \ - source: "over2"; \ - script { \ - if (get_int(mouse_down) == 1) \ - { \ - set_int(mouse_down, 0); \ - run_program(PROGRAM:"button_unpress2"); \ - run_program(PROGRAM:"button_unpress_anim"); \ - } \ - } \ - } \ - program { name: "button_unpress2"; \ - action: SIGNAL_EMIT "elm,action,unpress" ""; \ - } \ - program { name: "button_unpress_anim"; \ - action: STATE_SET "default" 0.0; \ - target: "button_center_part"; \ - } \ - program { name: "button_click"; \ - signal: "mouse,clicked,1"; \ - source: "over2"; \ - script { \ - if (get_int(multi_down) == 0) { \ - run_program(PROGRAM:"touch_sound"); \ - run_program(PROGRAM:"button_click2"); \ - } \ - } \ - } \ - program { name: "touch_sound"; \ - action: RUN_PLUGIN "touch_sound"; \ - } \ - program { name: "button_click2"; \ - action: SIGNAL_EMIT "elm,action,click" ""; \ - } \ - program { name: "disable"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "disabler"; \ - target: "button_center_part"; \ - } \ - program { name: "enable"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "disabler"; \ - target: "button_center_part"; \ - } \ - program { \ - name: "multi_down"; \ - signal: "elm,action,multi,down"; \ - source: "elm"; \ - script { \ - set_int(multi_down, 1); \ - } \ - } \ - program { \ - name: "multi_up"; \ - signal: "elm,action,multi,up"; \ - source: "elm"; \ - script { \ - set_int(multi_down, 0); \ - } \ - } \ - } \ - } - -BUTTON_ICON_STYLES("send_custom", 46 , 40) - #define BUTTON_BODY_STYLES(style_name ,img_width, img_height, bg_width, bg_height) \ group { name: "elm/button/base/"style_name; \ images { \ -- 2.34.1