diff options
author | Subhransu Mohanty <sub.mohanty@samsung.com> | 2015-09-02 13:42:47 +0900 |
---|---|---|
committer | Subhransu Mohanty <sub.mohanty@samsung.com> | 2015-09-02 13:42:47 +0900 |
commit | dfc016880090ca06a6d512d94a62465bc73e39a8 (patch) | |
tree | 0e5c9ec375660838e0daa43e180323d7dad28b40 /mobile/widgets/radio.edc | |
parent | 4575bf351336b7ba60eca93f1dd0b3190234da3c (diff) | |
download | efl-theme-tizen-mobile-dfc016880090ca06a6d512d94a62465bc73e39a8.tar.gz efl-theme-tizen-mobile-dfc016880090ca06a6d512d94a62465bc73e39a8.tar.bz2 efl-theme-tizen-mobile-dfc016880090ca06a6d512d94a62465bc73e39a8.zip |
radio: added "elm,radio,state,toggle" and "elm,radio,action,toggle" signal for animation and no animation case
Change-Id: I500a392c7dcd5f1bb903e1e849b50cac9d9f3347
Diffstat (limited to 'mobile/widgets/radio.edc')
-rw-r--r-- | mobile/widgets/radio.edc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile/widgets/radio.edc b/mobile/widgets/radio.edc index 674d22bf..4853f943 100644 --- a/mobile/widgets/radio.edc +++ b/mobile/widgets/radio.edc @@ -249,8 +249,10 @@ group { name: "elm/radio/base/default"; if (get_int(animate) == 0) { set_state(PART:"tizen_vg_shape_clipper", "on", 0.0); set_state(PART:"tizen_vg_shape_clipper2", "on", 0.0); + emit("elm,radio,state,toggle", "tizen_vg"); } else { run_program(PROGRAM:"toggle_on_effect"); + emit("elm,radio,action,toggle", "tizen_vg"); } } set_int(animate, 0); @@ -272,8 +274,10 @@ group { name: "elm/radio/base/default"; if (get_int(animate) == 0) { set_state(PART:"tizen_vg_shape_clipper", "default", 0.0); set_state(PART:"tizen_vg_shape_clipper2", "default", 0.0); + emit("elm,radio,state,toggle", "tizen_vg"); } else { run_program(PROGRAM:"toggle_off_effect"); + emit("elm,radio,action,toggle", "tizen_vg"); } } set_int(animate, 0); |