summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-31 14:38:13 +0200
committerCedric BAIL <cedric.bail@free.fr>2019-08-01 14:36:45 -0700
commit010f81357297e5473244c5ef42cb56a5f2f0fa16 (patch)
tree1afa35597474d640208cc86593121cb19eb5350e /src/tests
parentca813f41a652d00bb1df253456e013929c65d375 (diff)
efl_ui_range_interactive: add a new event
the steady event from slider now moved here. A spec test suite and the corresponding implementations will follow. ref T7894 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D9458
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/elementary/efl_ui_test_slider.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/elementary/efl_ui_test_slider.c b/src/tests/elementary/efl_ui_test_slider.c
index 39b11b5c7c..a891841329 100644
--- a/src/tests/elementary/efl_ui_test_slider.c
+++ b/src/tests/elementary/efl_ui_test_slider.c
@@ -27,7 +27,7 @@ EFL_START_TEST(efl_ui_test_slider_events)
27 efl_gfx_entity_size_set(win, EINA_SIZE2D(400, 100)); 27 efl_gfx_entity_size_set(win, EINA_SIZE2D(400, 100));
28 slider = efl_add(EFL_UI_SLIDER_CLASS, win, 28 slider = efl_add(EFL_UI_SLIDER_CLASS, win,
29 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED, slider_changed, NULL), 29 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED, slider_changed, NULL),
30 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_STEADY, slider_changed, NULL), 30 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_STEADY, slider_changed, NULL),
31 efl_gfx_entity_size_set(efl_added, EINA_SIZE2D(400, 100)) 31 efl_gfx_entity_size_set(efl_added, EINA_SIZE2D(400, 100))
32 ); 32 );
33 33
@@ -61,7 +61,7 @@ EFL_START_TEST(efl_ui_test_slider_step)
61 efl_gfx_entity_size_set(win, EINA_SIZE2D(400, 100)); 61 efl_gfx_entity_size_set(win, EINA_SIZE2D(400, 100));
62 slider = efl_add(EFL_UI_SLIDER_CLASS, win, 62 slider = efl_add(EFL_UI_SLIDER_CLASS, win,
63 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED, slider_changed, NULL), 63 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED, slider_changed, NULL),
64 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_STEADY, slider_changed, NULL), 64 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_STEADY, slider_changed, NULL),
65 efl_gfx_entity_size_set(efl_added, EINA_SIZE2D(400, 100)) 65 efl_gfx_entity_size_set(efl_added, EINA_SIZE2D(400, 100))
66 ); 66 );
67 efl_ui_range_limits_set(slider, 0, 100); 67 efl_ui_range_limits_set(slider, 0, 100);