summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-12-30 11:08:53 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-12-30 11:10:43 -0500
commitcdb21cd30d26a39cd33362698b1098ee1b3f957b (patch)
tree3bfc4dc1fe360c93cbe7a4a698c78c487596fb71 /src/bin
parent25731f84da4f9f7a43065d9ed14ed2d0be8bf30c (diff)
efl_ui_progressbar: rename from pulse to infinite_mode
Summary: ref T8501 Depends on D10942 Reviewers: cedric, woohyun, zmike, segfaultxavi Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T8501 Differential Revision: https://phab.enlightenment.org/D10943
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/elementary/test_part_shadow.c20
-rw-r--r--src/bin/elementary/test_ui_progressbar.c2
2 files changed, 11 insertions, 11 deletions
diff --git a/src/bin/elementary/test_part_shadow.c b/src/bin/elementary/test_part_shadow.c
index dd6f388..12b202c 100644
--- a/src/bin/elementary/test_part_shadow.c
+++ b/src/bin/elementary/test_part_shadow.c
@@ -37,11 +37,11 @@ pulse_start(void *data, const Efl_Event *ev EINA_UNUSED)
37{ 37{
38 Test_Data *td = data; 38 Test_Data *td = data;
39 39
40 efl_ui_progressbar_pulse_set(td->pb1, EINA_TRUE); 40 efl_ui_progressbar_infinite_mode_set(td->pb1, EINA_TRUE);
41 efl_ui_progressbar_pulse_set(td->pb2, EINA_TRUE); 41 efl_ui_progressbar_infinite_mode_set(td->pb2, EINA_TRUE);
42 efl_ui_progressbar_pulse_set(td->pb3, EINA_TRUE); 42 efl_ui_progressbar_infinite_mode_set(td->pb3, EINA_TRUE);
43 efl_ui_progressbar_pulse_set(td->pb4, EINA_TRUE); 43 efl_ui_progressbar_infinite_mode_set(td->pb4, EINA_TRUE);
44 efl_ui_progressbar_pulse_set(td->pb5, EINA_TRUE); 44 efl_ui_progressbar_infinite_mode_set(td->pb5, EINA_TRUE);
45 45
46 efl_ui_widget_disabled_set(td->btn_start, EINA_TRUE); 46 efl_ui_widget_disabled_set(td->btn_start, EINA_TRUE);
47 efl_ui_widget_disabled_set(td->btn_stop, EINA_FALSE); 47 efl_ui_widget_disabled_set(td->btn_stop, EINA_FALSE);
@@ -54,11 +54,11 @@ pulse_stop(void *data, const Efl_Event *ev EINA_UNUSED)
54{ 54{
55 Test_Data *td = data; 55 Test_Data *td = data;
56 56
57 efl_ui_progressbar_pulse_set(td->pb1, EINA_FALSE); 57 efl_ui_progressbar_infinite_mode_set(td->pb1, EINA_FALSE);
58 efl_ui_progressbar_pulse_set(td->pb2, EINA_FALSE); 58 efl_ui_progressbar_infinite_mode_set(td->pb2, EINA_FALSE);
59 efl_ui_progressbar_pulse_set(td->pb3, EINA_FALSE); 59 efl_ui_progressbar_infinite_mode_set(td->pb3, EINA_FALSE);
60 efl_ui_progressbar_pulse_set(td->pb4, EINA_FALSE); 60 efl_ui_progressbar_infinite_mode_set(td->pb4, EINA_FALSE);
61 efl_ui_progressbar_pulse_set(td->pb5, EINA_FALSE); 61 efl_ui_progressbar_infinite_mode_set(td->pb5, EINA_FALSE);
62 62
63 efl_ui_widget_disabled_set(td->btn_start, EINA_FALSE); 63 efl_ui_widget_disabled_set(td->btn_start, EINA_FALSE);
64 efl_ui_widget_disabled_set(td->btn_stop, EINA_TRUE); 64 efl_ui_widget_disabled_set(td->btn_stop, EINA_TRUE);
diff --git a/src/bin/elementary/test_ui_progressbar.c b/src/bin/elementary/test_ui_progressbar.c
index a9ca9a8..faea211 100644
--- a/src/bin/elementary/test_ui_progressbar.c
+++ b/src/bin/elementary/test_ui_progressbar.c
@@ -179,7 +179,7 @@ test_ui_progressbar(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, void *event_inf
179 pd->pb2 = efl_add(EFL_UI_PROGRESSBAR_CLASS, bx, 179 pd->pb2 = efl_add(EFL_UI_PROGRESSBAR_CLASS, bx,
180 efl_pack(bx, efl_added), 180 efl_pack(bx, efl_added),
181 efl_text_set(efl_added, "10-100"), 181 efl_text_set(efl_added, "10-100"),
182 efl_ui_progressbar_pulse_set(efl_added, EINA_TRUE), 182 efl_ui_progressbar_infinite_mode_set(efl_added, EINA_TRUE),
183 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(250, 20)), 183 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(250, 20)),
184 efl_ui_range_limits_set(efl_added, 10, 100), 184 efl_ui_range_limits_set(efl_added, 10, 100),
185 efl_ui_range_value_set(efl_added, 10) 185 efl_ui_range_value_set(efl_added, 10)