diff options
author | Michaël Bouchaud (yoz) <yoz@efl.so> | 2016-09-02 01:58:27 +0200 |
---|---|---|
committer | Michaël Bouchaud (yoz) <yoz@efl.so> | 2016-09-02 02:13:19 +0200 |
commit | a9a9240421e9f99f3f7a6d0ac45bea875c070e5d (patch) | |
tree | 3f5faee68ac02b3b4aa26d4474ceb1239d1d8796 /data/elementary/objects | |
parent | 8f966466056464b1d5cae2fa4b94bbcc8ba4ddcd (diff) |
elementary: Introduce a new edje_external param to the progressbar widget.
This widget was lacking an edje_external param to notify the widget to start or
stop pulsing from edje.
@fix Now the edje_external progressbar test works as expected.
Diffstat (limited to 'data/elementary/objects')
-rw-r--r-- | data/elementary/objects/test_external.edc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/data/elementary/objects/test_external.edc b/data/elementary/objects/test_external.edc index 3a77ef06a1..f2b7a3b7aa 100644 --- a/data/elementary/objects/test_external.edc +++ b/data/elementary/objects/test_external.edc | |||
@@ -735,6 +735,18 @@ embryo script and from C code."; | |||
735 | } | 735 | } |
736 | program { name: "disable_button3"; | 736 | program { name: "disable_button3"; |
737 | action: PARAM_SET "ext_button3" "disabled" 1; | 737 | action: PARAM_SET "ext_button3" "disabled" 1; |
738 | after: "start_pulsing1"; | ||
739 | } | ||
740 | program { name: "start_pulsing1"; | ||
741 | action: PARAM_SET "ext_pbar2" "pulsing" 1; | ||
742 | after: "start_pulsing2"; | ||
743 | } | ||
744 | program { name: "start_pulsing2"; | ||
745 | action: PARAM_SET "ext_pbar5" "pulsing" 1; | ||
746 | after: "start_pulsing3"; | ||
747 | } | ||
748 | program { name: "start_pulsing3"; | ||
749 | action: PARAM_SET "ext_pbar7" "pulsing" 1; | ||
738 | after: "anim_0"; | 750 | after: "anim_0"; |
739 | } | 751 | } |
740 | program { name: "anim_0"; | 752 | program { name: "anim_0"; |
@@ -801,6 +813,18 @@ embryo script and from C code."; | |||
801 | } | 813 | } |
802 | program { name: "reenable_button3"; | 814 | program { name: "reenable_button3"; |
803 | action: PARAM_SET "ext_button3" "disabled" 0; | 815 | action: PARAM_SET "ext_button3" "disabled" 0; |
816 | after: "stop_pulsing1"; | ||
817 | } | ||
818 | program { name: "stop_pulsing1"; | ||
819 | action: PARAM_SET "ext_pbar2" "pulsing" 0; | ||
820 | after: "stop_pulsing2"; | ||
821 | } | ||
822 | program { name: "stop_pulsing2"; | ||
823 | action: PARAM_SET "ext_pbar5" "pulsing" 0; | ||
824 | after: "stop_pulsing3"; | ||
825 | } | ||
826 | program { name: "stop_pulsing3"; | ||
827 | action: PARAM_SET "ext_pbar7" "pulsing" 0; | ||
804 | } | 828 | } |
805 | script { | 829 | script { |
806 | public my_value; | 830 | public my_value; |
@@ -819,6 +843,9 @@ embryo script and from C code."; | |||
819 | external_param_set_bool(PART:"ext_button1", "disabled", 0); | 843 | external_param_set_bool(PART:"ext_button1", "disabled", 0); |
820 | external_param_set_bool(PART:"ext_button2", "disabled", 0); | 844 | external_param_set_bool(PART:"ext_button2", "disabled", 0); |
821 | external_param_set_bool(PART:"ext_button3", "disabled", 0); | 845 | external_param_set_bool(PART:"ext_button3", "disabled", 0); |
846 | external_param_set_bool(PART:"ext_pbar2", "pulsing", 0); | ||
847 | external_param_set_bool(PART:"ext_pbar5", "pulsing", 0); | ||
848 | external_param_set_bool(PART:"ext_pbar7", "pulsing", 0); | ||
822 | } | 849 | } |
823 | } | 850 | } |
824 | } | 851 | } |
@@ -830,6 +857,9 @@ embryo script and from C code."; | |||
830 | external_param_set_bool(PART:"ext_button1", "disabled", 1); | 857 | external_param_set_bool(PART:"ext_button1", "disabled", 1); |
831 | external_param_set_bool(PART:"ext_button2", "disabled", 1); | 858 | external_param_set_bool(PART:"ext_button2", "disabled", 1); |
832 | external_param_set_bool(PART:"ext_button3", "disabled", 1); | 859 | external_param_set_bool(PART:"ext_button3", "disabled", 1); |
860 | external_param_set_bool(PART:"ext_pbar2", "pulsing", 1); | ||
861 | external_param_set_bool(PART:"ext_pbar5", "pulsing", 1); | ||
862 | external_param_set_bool(PART:"ext_pbar7", "pulsing", 1); | ||
833 | timer_cb(0); | 863 | timer_cb(0); |
834 | } | 864 | } |
835 | } | 865 | } |