summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-22 12:27:20 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-07-31 10:18:20 +0200
commitc0082b1c71ed63f982bb4b9aed2af4b50d46dabe (patch)
treecdb98e30f30f4f4c20c52403efdf98f08977a917
parent911eab34207f6f9355f4ed15009d57e079183849 (diff)
efl_ui_range_display: move events from spin
we concluded min,reached and max,reached should be on every widget that implements range_display. This here is the start of that work, the events are moved, next commit fixes all widgets, the last commits enables tests in the spec unit test. ref T7897 ref T7895 Differential Revision: https://phab.enlightenment.org/D9371
-rw-r--r--src/bin/elementary/test_evas_snapshot.c2
-rw-r--r--src/bin/elementary/test_ui_box.c14
-rw-r--r--src/bin/elementary/test_ui_pager.c4
-rw-r--r--src/bin/elementary/test_ui_pager_scroll.c8
-rw-r--r--src/bin/elementary/test_ui_relative_layout.c6
-rw-r--r--src/bin/elementary/test_ui_slider.c2
-rw-r--r--src/bin/elementary/test_ui_slider_interval.c2
-rw-r--r--src/bin/elementary/test_ui_spin.c6
-rw-r--r--src/bin/elementary/test_ui_spin_button.c2
-rw-r--r--src/bin/elementary/test_ui_spotlight.c4
-rw-r--r--src/bin/elementary/test_ui_table.c12
-rw-r--r--src/bin/elementary/test_ui_textpath.c4
-rw-r--r--src/lib/efl/interfaces/efl_ui_range_display.eo5
-rw-r--r--src/lib/elementary/efl_ui_datepicker.c6
-rw-r--r--src/lib/elementary/efl_ui_progressbar.c2
-rw-r--r--src/lib/elementary/efl_ui_progressbar.eo3
-rw-r--r--src/lib/elementary/efl_ui_slider.c4
-rw-r--r--src/lib/elementary/efl_ui_slider.eo3
-rw-r--r--src/lib/elementary/efl_ui_slider_interval.c8
-rw-r--r--src/lib/elementary/efl_ui_spin.c6
-rw-r--r--src/lib/elementary/efl_ui_spin.eo5
-rw-r--r--src/lib/elementary/efl_ui_timepicker.c4
-rw-r--r--src/lib/elementary/elc_player.c4
-rw-r--r--src/lib/elementary/elm_slider.c4
-rw-r--r--src/modules/elementary/prefs/elm_slider.c2
-rw-r--r--src/tests/elementary/efl_ui_test_slider.c6
-rw-r--r--src/tests/elementary/efl_ui_test_spin.c12
-rw-r--r--src/tests/elementary/efl_ui_test_spin_button.c30
28 files changed, 83 insertions, 87 deletions
diff --git a/src/bin/elementary/test_evas_snapshot.c b/src/bin/elementary/test_evas_snapshot.c
index dba6570..ea79aa8 100644
--- a/src/bin/elementary/test_evas_snapshot.c
+++ b/src/bin/elementary/test_evas_snapshot.c
@@ -173,7 +173,7 @@ test_evas_snapshot(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e
173 elm_slider_unit_format_set(efl_added, "%.0f px"), 173 elm_slider_unit_format_set(efl_added, "%.0f px"),
174 efl_gfx_hint_weight_set(efl_added, 1.0, 0.0), 174 efl_gfx_hint_weight_set(efl_added, 1.0, 0.0),
175 efl_pack_table(table, efl_added, 0, TABLE_SIZE, TABLE_SIZE, 1), 175 efl_pack_table(table, efl_added, 0, TABLE_SIZE, TABLE_SIZE, 1),
176 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, _radius_set, win)); 176 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED, _radius_set, win));
177 177
178 box = efl_add(EFL_UI_BOX_CLASS, win, 178 box = efl_add(EFL_UI_BOX_CLASS, win,
179 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL), 179 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL),
diff --git a/src/bin/elementary/test_ui_box.c b/src/bin/elementary/test_ui_box.c
index 01414b9..8b2e8ef 100644
--- a/src/bin/elementary/test_ui_box.c
+++ b/src/bin/elementary/test_ui_box.c
@@ -379,7 +379,7 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
379 elm_slider_horizontal_set(o, 0); 379 elm_slider_horizontal_set(o, 0);
380 efl_gfx_hint_align_set(o, 0.5, -1); 380 efl_gfx_hint_align_set(o, 0.5, -1);
381 efl_gfx_hint_weight_set(o, 1, 1); 381 efl_gfx_hint_weight_set(o, 1, 1);
382 efl_event_callback_add(o, EFL_UI_SLIDER_EVENT_CHANGED, user_min_slider_cb, NULL); 382 efl_event_callback_add(o, EFL_UI_RANGE_EVENT_CHANGED, user_min_slider_cb, NULL);
383 elm_slider_min_max_set(o, 0, 250); 383 elm_slider_min_max_set(o, 0, 250);
384 elm_slider_inverted_set(o, 1); 384 elm_slider_inverted_set(o, 1);
385 elm_slider_value_set(o, 0); 385 elm_slider_value_set(o, 0);
@@ -406,7 +406,7 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
406 elm_slider_horizontal_set(o, 0); 406 elm_slider_horizontal_set(o, 0);
407 efl_gfx_hint_align_set(o, 0.5, -1); 407 efl_gfx_hint_align_set(o, 0.5, -1);
408 efl_gfx_hint_weight_set(o, 1, 1); 408 efl_gfx_hint_weight_set(o, 1, 1);
409 efl_event_callback_add(o, EFL_UI_SLIDER_EVENT_CHANGED, padding_slider_cb, win); 409 efl_event_callback_add(o, EFL_UI_RANGE_EVENT_CHANGED, padding_slider_cb, win);
410 elm_slider_min_max_set(o, 0, 40); 410 elm_slider_min_max_set(o, 0, 40);
411 elm_slider_inverted_set(o, 1); 411 elm_slider_inverted_set(o, 1);
412 elm_slider_value_set(o, 10); 412 elm_slider_value_set(o, 10);
@@ -433,7 +433,7 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
433 elm_slider_horizontal_set(o, 0); 433 elm_slider_horizontal_set(o, 0);
434 efl_gfx_hint_align_set(o, 0.5, -1); 434 efl_gfx_hint_align_set(o, 0.5, -1);
435 efl_gfx_hint_weight_set(o, 1, 1); 435 efl_gfx_hint_weight_set(o, 1, 1);
436 efl_event_callback_add(o, EFL_UI_SLIDER_EVENT_CHANGED, margin_slider_cb, win); 436 efl_event_callback_add(o, EFL_UI_RANGE_EVENT_CHANGED, margin_slider_cb, win);
437 elm_slider_min_max_set(o, 0, 40); 437 elm_slider_min_max_set(o, 0, 40);
438 elm_slider_inverted_set(o, 1); 438 elm_slider_inverted_set(o, 1);
439 elm_slider_value_set(o, 10); 439 elm_slider_value_set(o, 10);
@@ -460,7 +460,7 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
460 elm_slider_horizontal_set(o, 0); 460 elm_slider_horizontal_set(o, 0);
461 efl_gfx_hint_align_set(o, 0.5, -1); 461 efl_gfx_hint_align_set(o, 0.5, -1);
462 efl_gfx_hint_weight_set(o, 1, 1); 462 efl_gfx_hint_weight_set(o, 1, 1);
463 efl_event_callback_add(o, EFL_UI_SLIDER_EVENT_CHANGED, alignv_slider_cb, win); 463 efl_event_callback_add(o, EFL_UI_RANGE_EVENT_CHANGED, alignv_slider_cb, win);
464 elm_slider_min_max_set(o, -0.1, 1.0); 464 elm_slider_min_max_set(o, -0.1, 1.0);
465 elm_slider_step_set(o, 0.1); 465 elm_slider_step_set(o, 0.1);
466 elm_slider_value_set(o, 0.5); 466 elm_slider_value_set(o, 0.5);
@@ -474,7 +474,7 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
474 efl_gfx_hint_align_set(o, 0.5, -1); 474 efl_gfx_hint_align_set(o, 0.5, -1);
475 efl_gfx_hint_weight_set(o, 1, 0); 475 efl_gfx_hint_weight_set(o, 1, 0);
476 efl_gfx_hint_size_min_set(o, EINA_SIZE2D(100, 0)); 476 efl_gfx_hint_size_min_set(o, EINA_SIZE2D(100, 0));
477 efl_event_callback_add(o, EFL_UI_SLIDER_EVENT_CHANGED, alignh_slider_cb, win); 477 efl_event_callback_add(o, EFL_UI_RANGE_EVENT_CHANGED, alignh_slider_cb, win);
478 elm_slider_min_max_set(o, -0.1, 1.0); 478 elm_slider_min_max_set(o, -0.1, 1.0);
479 elm_slider_step_set(o, 0.1); 479 elm_slider_step_set(o, 0.1);
480 elm_slider_value_set(o, 0.5); 480 elm_slider_value_set(o, 0.5);
@@ -500,7 +500,7 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
500 elm_slider_horizontal_set(o, 0); 500 elm_slider_horizontal_set(o, 0);
501 efl_gfx_hint_align_set(o, 0.5, -1); 501 efl_gfx_hint_align_set(o, 0.5, -1);
502 efl_gfx_hint_weight_set(o, 1, 1); 502 efl_gfx_hint_weight_set(o, 1, 1);
503 efl_event_callback_add(o, EFL_UI_SLIDER_EVENT_CHANGED, alignv_btn_slider_cb, win); 503 efl_event_callback_add(o, EFL_UI_RANGE_EVENT_CHANGED, alignv_btn_slider_cb, win);
504 elm_slider_min_max_set(o, 0.0, 1.0); 504 elm_slider_min_max_set(o, 0.0, 1.0);
505 elm_slider_step_set(o, 0.1); 505 elm_slider_step_set(o, 0.1);
506 elm_slider_value_set(o, 0.5); 506 elm_slider_value_set(o, 0.5);
@@ -514,7 +514,7 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
514 efl_gfx_hint_align_set(o, 0.5, -1); 514 efl_gfx_hint_align_set(o, 0.5, -1);
515 efl_gfx_hint_weight_set(o, 1, 0); 515 efl_gfx_hint_weight_set(o, 1, 0);
516 efl_gfx_hint_size_min_set(o, EINA_SIZE2D(100, 0)); 516 efl_gfx_hint_size_min_set(o, EINA_SIZE2D(100, 0));
517 efl_event_callback_add(o, EFL_UI_SLIDER_EVENT_CHANGED, alignh_btn_slider_cb, win); 517 efl_event_callback_add(o, EFL_UI_RANGE_EVENT_CHANGED, alignh_btn_slider_cb, win);
518 elm_slider_min_max_set(o, -0.1, 1.0); 518 elm_slider_min_max_set(o, -0.1, 1.0);
519 elm_slider_step_set(o, 0.1); 519 elm_slider_step_set(o, 0.1);
520 elm_slider_value_set(o, 0.5); 520 elm_slider_value_set(o, 0.5);
diff --git a/src/bin/elementary/test_ui_pager.c b/src/bin/elementary/test_ui_pager.c
index c6d1aa0..c01c978 100644
--- a/src/bin/elementary/test_ui_pager.c
+++ b/src/bin/elementary/test_ui_pager.c
@@ -364,7 +364,7 @@ static void page_size_cb(void *data,
364 efl_ui_range_limits_set(efl_added, 100, 200), 364 efl_ui_range_limits_set(efl_added, 100, 200),
365 efl_ui_range_value_set(efl_added, params->w), 365 efl_ui_range_value_set(efl_added, params->w),
366 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 0)), 366 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 0)),
367 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, 367 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED,
368 width_slider_cb, params), 368 width_slider_cb, params),
369 efl_pack_end(inbox, efl_added)); 369 efl_pack_end(inbox, efl_added));
370 370
@@ -405,7 +405,7 @@ static void page_size_cb(void *data,
405 efl_ui_range_limits_set(efl_added, 100, 300), 405 efl_ui_range_limits_set(efl_added, 100, 300),
406 efl_ui_range_value_set(efl_added, params->h), 406 efl_ui_range_value_set(efl_added, params->h),
407 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 0)), 407 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 0)),
408 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, 408 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED,
409 height_slider_cb, params), 409 height_slider_cb, params),
410 efl_pack_end(inbox, efl_added)); 410 efl_pack_end(inbox, efl_added));
411 411
diff --git a/src/bin/elementary/test_ui_pager_scroll.c b/src/bin/elementary/test_ui_pager_scroll.c
index a7e564a..8112716 100644
--- a/src/bin/elementary/test_ui_pager_scroll.c
+++ b/src/bin/elementary/test_ui_pager_scroll.c
@@ -418,7 +418,7 @@ static void page_size_cb(void *data,
418 efl_ui_range_limits_set(efl_added, 100, 200), 418 efl_ui_range_limits_set(efl_added, 100, 200),
419 efl_ui_range_value_set(efl_added, params->w), 419 efl_ui_range_value_set(efl_added, params->w),
420 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 0)), 420 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 0)),
421 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, 421 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED,
422 width_slider_cb, params), 422 width_slider_cb, params),
423 efl_pack_end(inbox, efl_added)); 423 efl_pack_end(inbox, efl_added));
424 424
@@ -459,7 +459,7 @@ static void page_size_cb(void *data,
459 efl_ui_range_limits_set(efl_added, 100, 300), 459 efl_ui_range_limits_set(efl_added, 100, 300),
460 efl_ui_range_value_set(efl_added, params->h), 460 efl_ui_range_value_set(efl_added, params->h),
461 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 0)), 461 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 0)),
462 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, 462 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED,
463 height_slider_cb, params), 463 height_slider_cb, params),
464 efl_pack_end(inbox, efl_added)); 464 efl_pack_end(inbox, efl_added));
465 465
@@ -503,7 +503,7 @@ static void padding_cb(void *data,
503 efl_ui_range_limits_set(efl_added, 0, 50), 503 efl_ui_range_limits_set(efl_added, 0, 50),
504 efl_ui_range_value_set(efl_added, params->padding), 504 efl_ui_range_value_set(efl_added, params->padding),
505 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 0)), 505 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 0)),
506 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, 506 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED,
507 padding_slider_cb, params), 507 padding_slider_cb, params),
508 efl_pack_end(box, efl_added)); 508 efl_pack_end(box, efl_added));
509} 509}
@@ -534,7 +534,7 @@ static void side_page_num_cb(void *data,
534 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL), 534 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL),
535 efl_gfx_hint_weight_set(efl_added, 1, 1), 535 efl_gfx_hint_weight_set(efl_added, 1, 1),
536 efl_gfx_hint_align_set(efl_added, -1, -1), 536 efl_gfx_hint_align_set(efl_added, -1, -1),
537 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, 537 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED,
538 side_page_num_slider_cb, params), 538 side_page_num_slider_cb, params),
539 efl_pack_end(box, efl_added)); 539 efl_pack_end(box, efl_added));
540} 540}
diff --git a/src/bin/elementary/test_ui_relative_layout.c b/src/bin/elementary/test_ui_relative_layout.c
index 2632f34..63a6419 100644
--- a/src/bin/elementary/test_ui_relative_layout.c
+++ b/src/bin/elementary/test_ui_relative_layout.c
@@ -175,7 +175,7 @@ _setter_add(Eo *vbox, Eo *btn, Options option)
175 efl_ui_range_step_set(efl_added, 0.1), 175 efl_ui_range_step_set(efl_added, 0.1),
176 efl_ui_range_value_set(efl_added, relative), 176 efl_ui_range_value_set(efl_added, relative),
177 efl_key_wref_set(efl_added, "btn", btn), 177 efl_key_wref_set(efl_added, "btn", btn),
178 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, _slider_changed_relative_cb, (void *)option), 178 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED, _slider_changed_relative_cb, (void *)option),
179 efl_pack(hbox, efl_added)); 179 efl_pack(hbox, efl_added));
180} 180}
181 181
@@ -246,7 +246,7 @@ _button_frame_add(Eo *box, Eo *btn)
246 efl_ui_range_step_set(efl_added, 0.1), 246 efl_ui_range_step_set(efl_added, 0.1),
247 efl_ui_range_value_set(efl_added, align_x), 247 efl_ui_range_value_set(efl_added, align_x),
248 efl_key_wref_set(efl_added, "btn", btn), 248 efl_key_wref_set(efl_added, "btn", btn),
249 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, _slider_changed_align_cb, (void *)'x'), 249 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED, _slider_changed_align_cb, (void *)'x'),
250 efl_pack(hbox, efl_added)); 250 efl_pack(hbox, efl_added));
251 251
252 hbox = efl_add(EFL_UI_BOX_CLASS, vbox, 252 hbox = efl_add(EFL_UI_BOX_CLASS, vbox,
@@ -266,7 +266,7 @@ _button_frame_add(Eo *box, Eo *btn)
266 efl_ui_range_step_set(efl_added, 0.1), 266 efl_ui_range_step_set(efl_added, 0.1),
267 efl_ui_range_value_set(efl_added, align_y), 267 efl_ui_range_value_set(efl_added, align_y),
268 efl_key_wref_set(efl_added, "btn", btn), 268 efl_key_wref_set(efl_added, "btn", btn),
269 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, _slider_changed_align_cb, (void *)'y'), 269 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED, _slider_changed_align_cb, (void *)'y'),
270 efl_pack(hbox, efl_added)); 270 efl_pack(hbox, efl_added));
271} 271}
272 272
diff --git a/src/bin/elementary/test_ui_slider.c b/src/bin/elementary/test_ui_slider.c
index 75df5f9..11591e0 100644
--- a/src/bin/elementary/test_ui_slider.c
+++ b/src/bin/elementary/test_ui_slider.c
@@ -115,6 +115,6 @@ test_ui_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
115 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(260, 0)), 115 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(260, 0)),
116 efl_ui_range_limits_set(efl_added, 0, 150), 116 efl_ui_range_limits_set(efl_added, 0, 150),
117 efl_ui_range_step_set(efl_added, 9), 117 efl_ui_range_step_set(efl_added, 9),
118 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, _slider_changed_cb, NULL), 118 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED, _slider_changed_cb, NULL),
119 efl_pack(bx, efl_added)); 119 efl_pack(bx, efl_added));
120} 120}
diff --git a/src/bin/elementary/test_ui_slider_interval.c b/src/bin/elementary/test_ui_slider_interval.c
index 9d4eccd..75dcbe2 100644
--- a/src/bin/elementary/test_ui_slider_interval.c
+++ b/src/bin/elementary/test_ui_slider_interval.c
@@ -112,6 +112,6 @@ test_slider_interval(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
112 efl_ui_range_limits_set(efl_added, 0, 600), 112 efl_ui_range_limits_set(efl_added, 0, 600),
113 efl_ui_slider_interval_value_set(efl_added, 100, 500), 113 efl_ui_slider_interval_value_set(efl_added, 100, 500),
114 efl_ui_range_step_set(efl_added, step), 114 efl_ui_range_step_set(efl_added, step),
115 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, _intv_slider_changed_cb, NULL), 115 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED, _intv_slider_changed_cb, NULL),
116 efl_pack(bx, efl_added)); 116 efl_pack(bx, efl_added));
117} 117}
diff --git a/src/bin/elementary/test_ui_spin.c b/src/bin/elementary/test_ui_spin.c
index 01b0ff3..b57dfac 100644
--- a/src/bin/elementary/test_ui_spin.c
+++ b/src/bin/elementary/test_ui_spin.c
@@ -51,9 +51,9 @@ test_ui_spin(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
51 efl_ui_range_value_set(efl_added, 6), 51 efl_ui_range_value_set(efl_added, 6),
52 efl_ui_range_step_set(efl_added, 2), 52 efl_ui_range_step_set(efl_added, 2),
53 efl_ui_format_string_set(efl_added, "test %d", EFL_UI_FORMAT_STRING_TYPE_SIMPLE), 53 efl_ui_format_string_set(efl_added, "test %d", EFL_UI_FORMAT_STRING_TYPE_SIMPLE),
54 efl_event_callback_add(efl_added, EFL_UI_SPIN_EVENT_CHANGED,_spin_changed_cb, NULL), 54 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED,_spin_changed_cb, NULL),
55 efl_event_callback_add(efl_added, EFL_UI_SPIN_EVENT_MIN_REACHED,_spin_min_reached_cb, NULL), 55 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_MIN_REACHED,_spin_min_reached_cb, NULL),
56 efl_event_callback_add(efl_added, EFL_UI_SPIN_EVENT_MAX_REACHED,_spin_max_reached_cb, NULL), 56 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_MAX_REACHED,_spin_max_reached_cb, NULL),
57 efl_pack(bx, efl_added)); 57 efl_pack(bx, efl_added));
58 58
59 efl_add(EFL_UI_BUTTON_CLASS, bx, 59 efl_add(EFL_UI_BUTTON_CLASS, bx,
diff --git a/src/bin/elementary/test_ui_spin_button.c b/src/bin/elementary/test_ui_spin_button.c
index 12cd7f1..511c1d4 100644
--- a/src/bin/elementary/test_ui_spin_button.c
+++ b/src/bin/elementary/test_ui_spin_button.c
@@ -44,7 +44,7 @@ test_ui_spin_button(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *
44 efl_ui_spin_button_circulate_set(efl_added, EINA_TRUE), 44 efl_ui_spin_button_circulate_set(efl_added, EINA_TRUE),
45 efl_ui_spin_button_editable_set(efl_added, EINA_TRUE), 45 efl_ui_spin_button_editable_set(efl_added, EINA_TRUE),
46 efl_event_callback_add(efl_added, EFL_UI_SPIN_BUTTON_EVENT_DELAY_CHANGED,_spin_delay_changed_cb, NULL), 46 efl_event_callback_add(efl_added, EFL_UI_SPIN_BUTTON_EVENT_DELAY_CHANGED,_spin_delay_changed_cb, NULL),
47 efl_event_callback_add(efl_added, EFL_UI_SPIN_EVENT_CHANGED, _spin_changed_cb, NULL), 47 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED, _spin_changed_cb, NULL),
48 efl_pack(bx, efl_added)); 48 efl_pack(bx, efl_added));
49 49
50 efl_add(EFL_UI_SPIN_BUTTON_CLASS, bx, 50 efl_add(EFL_UI_SPIN_BUTTON_CLASS, bx,
diff --git a/src/bin/elementary/test_ui_spotlight.c b/src/bin/elementary/test_ui_spotlight.c
index 9f1f9a2..698d231 100644
--- a/src/bin/elementary/test_ui_spotlight.c
+++ b/src/bin/elementary/test_ui_spotlight.c
@@ -397,7 +397,7 @@ spotlight_size(void *data,
397 efl_ui_range_limits_set(efl_added, 100, 200), 397 efl_ui_range_limits_set(efl_added, 100, 200),
398 efl_ui_range_value_set(efl_added, params->w), 398 efl_ui_range_value_set(efl_added, params->w),
399 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 0)), 399 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 0)),
400 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, 400 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED,
401 width_slider_cb, params), 401 width_slider_cb, params),
402 efl_pack_end(inbox, efl_added)); 402 efl_pack_end(inbox, efl_added));
403 403
@@ -438,7 +438,7 @@ spotlight_size(void *data,
438 efl_ui_range_limits_set(efl_added, 100, 300), 438 efl_ui_range_limits_set(efl_added, 100, 300),
439 efl_ui_range_value_set(efl_added, params->h), 439 efl_ui_range_value_set(efl_added, params->h),
440 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 0)), 440 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 0)),
441 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, 441 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED,
442 height_slider_cb, params), 442 height_slider_cb, params),
443 efl_pack_end(inbox, efl_added)); 443 efl_pack_end(inbox, efl_added));
444 444
diff --git a/src/bin/elementary/test_ui_table.c b/src/bin/elementary/test_ui_table.c
index 437c9be..43b4c9c 100644
--- a/src/bin/elementary/test_ui_table.c
+++ b/src/bin/elementary/test_ui_table.c
@@ -304,7 +304,7 @@ test_ui_table(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
304 elm_slider_horizontal_set(o, 0); 304 elm_slider_horizontal_set(o, 0);
305 efl_gfx_hint_align_set(o, 0.5, -1); 305 efl_gfx_hint_align_set(o, 0.5, -1);
306 efl_gfx_hint_weight_set(o, 1, 1); 306 efl_gfx_hint_weight_set(o, 1, 1);
307 efl_event_callback_add(o, EFL_UI_SLIDER_EVENT_CHANGED, user_min_slider_cb, NULL); 307 efl_event_callback_add(o, EFL_UI_RANGE_EVENT_CHANGED, user_min_slider_cb, NULL);
308 elm_slider_min_max_set(o, 0, 250); 308 elm_slider_min_max_set(o, 0, 250);
309 elm_slider_inverted_set(o, 1); 309 elm_slider_inverted_set(o, 1);
310 elm_slider_value_set(o, 0); 310 elm_slider_value_set(o, 0);
@@ -331,7 +331,7 @@ test_ui_table(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
331 elm_slider_horizontal_set(o, 0); 331 elm_slider_horizontal_set(o, 0);
332 efl_gfx_hint_align_set(o, 0.5, -1); 332 efl_gfx_hint_align_set(o, 0.5, -1);
333 efl_gfx_hint_weight_set(o, 1, 1); 333 efl_gfx_hint_weight_set(o, 1, 1);
334 efl_event_callback_add(o, EFL_UI_SLIDER_EVENT_CHANGED, padding_slider_cb, table); 334 efl_event_callback_add(o, EFL_UI_RANGE_EVENT_CHANGED, padding_slider_cb, table);
335 elm_slider_min_max_set(o, 0, 40); 335 elm_slider_min_max_set(o, 0, 40);
336 elm_slider_inverted_set(o, 1); 336 elm_slider_inverted_set(o, 1);
337 elm_slider_value_set(o, 0); 337 elm_slider_value_set(o, 0);
@@ -357,7 +357,7 @@ test_ui_table(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
357 elm_slider_horizontal_set(o, 0); 357 elm_slider_horizontal_set(o, 0);
358 efl_gfx_hint_align_set(o, 0.5, -1); 358 efl_gfx_hint_align_set(o, 0.5, -1);
359 efl_gfx_hint_weight_set(o, 1, 1); 359 efl_gfx_hint_weight_set(o, 1, 1);
360 efl_event_callback_add(o, EFL_UI_SLIDER_EVENT_CHANGED, margin_slider_cb, table); 360 efl_event_callback_add(o, EFL_UI_RANGE_EVENT_CHANGED, margin_slider_cb, table);
361 elm_slider_min_max_set(o, 0, 40); 361 elm_slider_min_max_set(o, 0, 40);
362 elm_slider_inverted_set(o, 1); 362 elm_slider_inverted_set(o, 1);
363 elm_slider_value_set(o, 0); 363 elm_slider_value_set(o, 0);
@@ -384,7 +384,7 @@ test_ui_table(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
384 elm_slider_horizontal_set(o, 0); 384 elm_slider_horizontal_set(o, 0);
385 efl_gfx_hint_align_set(o, 0.5, -1); 385 efl_gfx_hint_align_set(o, 0.5, -1);
386 efl_gfx_hint_weight_set(o, 1, 1); 386 efl_gfx_hint_weight_set(o, 1, 1);
387 efl_event_callback_add(o, EFL_UI_SLIDER_EVENT_CHANGED, btnmargins_slider_cb, table); 387 efl_event_callback_add(o, EFL_UI_RANGE_EVENT_CHANGED, btnmargins_slider_cb, table);
388 elm_slider_min_max_set(o, 0, 40); 388 elm_slider_min_max_set(o, 0, 40);
389 elm_slider_inverted_set(o, 1); 389 elm_slider_inverted_set(o, 1);
390 elm_slider_value_set(o, 0); 390 elm_slider_value_set(o, 0);
@@ -411,7 +411,7 @@ test_ui_table(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
411 elm_slider_horizontal_set(o, 0); 411 elm_slider_horizontal_set(o, 0);
412 efl_gfx_hint_align_set(o, 0.5, -1); 412 efl_gfx_hint_align_set(o, 0.5, -1);
413 efl_gfx_hint_weight_set(o, 1, 1); 413 efl_gfx_hint_weight_set(o, 1, 1);
414 efl_event_callback_add(o, EFL_UI_SLIDER_EVENT_CHANGED, alignv_slider_cb, NULL); 414 efl_event_callback_add(o, EFL_UI_RANGE_EVENT_CHANGED, alignv_slider_cb, NULL);
415 elm_slider_min_max_set(o, 0, 1); 415 elm_slider_min_max_set(o, 0, 1);
416 elm_slider_value_set(o, 0.3); 416 elm_slider_value_set(o, 0.3);
417 efl_pack(bx, o); 417 efl_pack(bx, o);
@@ -423,7 +423,7 @@ test_ui_table(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
423 elm_slider_horizontal_set(o, 1); 423 elm_slider_horizontal_set(o, 1);
424 efl_gfx_hint_align_set(o, -1, -1); 424 efl_gfx_hint_align_set(o, -1, -1);
425 efl_gfx_hint_weight_set(o, 1, 0); 425 efl_gfx_hint_weight_set(o, 1, 0);
426 efl_event_callback_add(o, EFL_UI_SLIDER_EVENT_CHANGED, alignh_slider_cb, NULL); 426 efl_event_callback_add(o, EFL_UI_RANGE_EVENT_CHANGED, alignh_slider_cb, NULL);
427 elm_slider_min_max_set(o, 0, 1); 427 elm_slider_min_max_set(o, 0, 1);
428 elm_slider_value_set(o, 0.3); 428 elm_slider_value_set(o, 0.3);
429 efl_pack(bx, o); 429 efl_pack(bx, o);
diff --git a/src/bin/elementary/test_ui_textpath.c b/src/bin/elementary/test_ui_textpath.c
index 111ebe1..8c27688 100644
--- a/src/bin/elementary/test_ui_textpath.c
+++ b/src/bin/elementary/test_ui_textpath.c
@@ -152,7 +152,7 @@ test_ui_textpath(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
152 efl_gfx_hint_align_set(sld, 0.5, EVAS_HINT_FILL); 152 efl_gfx_hint_align_set(sld, 0.5, EVAS_HINT_FILL);
153 efl_gfx_hint_weight_set(sld, EFL_GFX_HINT_EXPAND, EFL_GFX_HINT_EXPAND); 153 efl_gfx_hint_weight_set(sld, EFL_GFX_HINT_EXPAND, EFL_GFX_HINT_EXPAND);
154 efl_gfx_hint_size_min_set(sld, EINA_SIZE2D(150, 0)); 154 efl_gfx_hint_size_min_set(sld, EINA_SIZE2D(150, 0));
155 efl_event_callback_add(sld, EFL_UI_SLIDER_EVENT_CHANGED, _angle_changed_cb, txtpath); 155 efl_event_callback_add(sld, EFL_UI_RANGE_EVENT_CHANGED, _angle_changed_cb, txtpath);
156 elm_box_pack_end(hbox, sld); 156 elm_box_pack_end(hbox, sld);
157 efl_gfx_entity_visible_set(sld, EINA_TRUE); 157 efl_gfx_entity_visible_set(sld, EINA_TRUE);
158 angle_sld = sld; 158 angle_sld = sld;
@@ -164,7 +164,7 @@ test_ui_textpath(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
164 efl_gfx_hint_align_set(sld, 0.5, EVAS_HINT_FILL); 164 efl_gfx_hint_align_set(sld, 0.5, EVAS_HINT_FILL);
165 efl_gfx_hint_weight_set(sld, EFL_GFX_HINT_EXPAND, EFL_GFX_HINT_EXPAND); 165 efl_gfx_hint_weight_set(sld, EFL_GFX_HINT_EXPAND, EFL_GFX_HINT_EXPAND);
166 efl_gfx_hint_size_min_set(sld, EINA_SIZE2D(150, 0)); 166 efl_gfx_hint_size_min_set(sld, EINA_SIZE2D(150, 0));
167 efl_event_callback_add(sld, EFL_UI_SLIDER_EVENT_CHANGED, _slice_no_changed_cb, txtpath); 167 efl_event_callback_add(sld, EFL_UI_RANGE_EVENT_CHANGED, _slice_no_changed_cb, txtpath);
168 elm_box_pack_end(hbox, sld); 168 elm_box_pack_end(hbox, sld);
169 efl_gfx_entity_visible_set(sld, EINA_TRUE); 169 efl_gfx_entity_visible_set(sld, EINA_TRUE);
170 slice_sld = sld; 170 slice_sld = sld;
diff --git a/src/lib/efl/interfaces/efl_ui_range_display.eo b/src/lib/efl/interfaces/efl_ui_range_display.eo
index 39ca1b2..172f58a 100644
--- a/src/lib/efl/interfaces/efl_ui_range_display.eo
+++ b/src/lib/efl/interfaces/efl_ui_range_display.eo
@@ -48,4 +48,9 @@ interface @beta Efl.Ui.Range_Display
48 } 48 }
49 } 49 }
50 } 50 }
51 events {
52 changed: void; [[Emitted when the $range_value is getting changed]]
53 min,reached: void; [[Emitted when the $range_value has reached the minimum of $range_limits]]
54 max,reached: void; [[Emitted when the $range_value has reached the maximum of $range_limits]]
55 }
51} 56}
diff --git a/src/lib/elementary/efl_ui_datepicker.c b/src/lib/elementary/efl_ui_datepicker.c
index a8cf48d..1aa472d 100644
--- a/src/lib/elementary/efl_ui_datepicker.c
+++ b/src/lib/elementary/efl_ui_datepicker.c
@@ -164,21 +164,21 @@ _fields_init(Eo *obj)
164 efl_ui_spin_button_circulate_set(efl_added, EINA_TRUE), 164 efl_ui_spin_button_circulate_set(efl_added, EINA_TRUE),
165 efl_ui_spin_button_editable_set(efl_added, EINA_TRUE), 165 efl_ui_spin_button_editable_set(efl_added, EINA_TRUE),
166 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL), 166 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL),
167 efl_event_callback_add(efl_added, EFL_UI_SPIN_EVENT_CHANGED,_field_changed_cb, obj)); 167 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED,_field_changed_cb, obj));
168 168
169 pd->month = efl_add(EFL_UI_SPIN_BUTTON_CLASS, obj, 169 pd->month = efl_add(EFL_UI_SPIN_BUTTON_CLASS, obj,
170 efl_ui_range_limits_set(efl_added, 1, 12), 170 efl_ui_range_limits_set(efl_added, 1, 12),
171 efl_ui_spin_button_circulate_set(efl_added, EINA_TRUE), 171 efl_ui_spin_button_circulate_set(efl_added, EINA_TRUE),
172 efl_ui_spin_button_editable_set(efl_added, EINA_TRUE), 172 efl_ui_spin_button_editable_set(efl_added, EINA_TRUE),
173 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL), 173 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL),
174 efl_event_callback_add(efl_added, EFL_UI_SPIN_EVENT_CHANGED,_field_changed_cb, obj)); 174 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED,_field_changed_cb, obj));
175 175
176 pd->day = efl_add(EFL_UI_SPIN_BUTTON_CLASS, obj, 176 pd->day = efl_add(EFL_UI_SPIN_BUTTON_CLASS, obj,
177 efl_ui_range_limits_set(efl_added, 1, 31), 177 efl_ui_range_limits_set(efl_added, 1, 31),
178 efl_ui_spin_button_circulate_set(efl_added, EINA_TRUE), 178 efl_ui_spin_button_circulate_set(efl_added, EINA_TRUE),
179 efl_ui_spin_button_editable_set(efl_added, EINA_TRUE), 179 efl_ui_spin_button_editable_set(efl_added, EINA_TRUE),
180 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL), 180 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL),
181 efl_event_callback_add(efl_added, EFL_UI_SPIN_EVENT_CHANGED,_field_changed_cb, obj)); 181 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED,_field_changed_cb, obj));
182 182
183 DATE_GET(); 183 DATE_GET();
184 //Using system config? 184 //Using system config?
diff --git a/src/lib/elementary/efl_ui_progressbar.c b/src/lib/elementary/efl_ui_progressbar.c
index e206138..2386b82 100644
--- a/src/lib/elementary/efl_ui_progressbar.c
+++ b/src/lib/elementary/efl_ui_progressbar.c
@@ -559,7 +559,7 @@ _progressbar_part_value_set(Eo *obj, Efl_Ui_Progressbar_Data *sd, const char *pa
559 _val_set(obj); 559 _val_set(obj);
560 _units_set(obj); 560 _units_set(obj);
561 efl_event_callback_legacy_call 561 efl_event_callback_legacy_call
562 (obj, EFL_UI_PROGRESSBAR_EVENT_CHANGED, NULL); 562 (obj, EFL_UI_RANGE_EVENT_CHANGED, NULL);
563} 563}
564 564
565static double 565static double
diff --git a/src/lib/elementary/efl_ui_progressbar.eo b/src/lib/elementary/efl_ui_progressbar.eo
index ba8b3e3..c14bf2a 100644
--- a/src/lib/elementary/efl_ui_progressbar.eo
+++ b/src/lib/elementary/efl_ui_progressbar.eo
@@ -67,7 +67,4 @@ class @beta Efl.Ui.Progressbar extends Efl.Ui.Layout_Base implements Efl.Ui.Rang
67 Efl.Content.content_unset; 67 Efl.Content.content_unset;
68 Efl.Ui.L10n.l10n_text { get; set; } 68 Efl.Ui.L10n.l10n_text { get; set; }
69 } 69 }
70 events {
71 changed: void; [[Called when progressbar changed]]
72 }
73} 70}
diff --git a/src/lib/elementary/efl_ui_slider.c b/src/lib/elementary/efl_ui_slider.c
index 4bcf1d8..40c1882 100644
--- a/src/lib/elementary/efl_ui_slider.c
+++ b/src/lib/elementary/efl_ui_slider.c
@@ -76,8 +76,8 @@ _efl_ui_slider_val_fetch(Evas_Object *obj, Efl_Ui_Slider_Data *sd, Eina_Bool us
76 sd->val = val; 76 sd->val = val;
77 if (user_event) 77 if (user_event)
78 { 78 {
79 efl_event_callback_call(obj, EFL_UI_SLIDER_EVENT_CHANGED, NULL); 79 efl_event_callback_call(obj, EFL_UI_RANGE_EVENT_CHANGED, NULL);
80 efl_event_callback_legacy_call(obj, EFL_UI_SLIDER_EVENT_CHANGED, NULL); 80 efl_event_callback_legacy_call(obj, EFL_UI_RANGE_EVENT_CHANGED, NULL);
81 ecore_timer_del(sd->delay); 81 ecore_timer_del(sd->delay);
82 sd->delay = ecore_timer_add(SLIDER_DELAY_CHANGED_INTERVAL, _delay_change, obj); 82 sd->delay = ecore_timer_add(SLIDER_DELAY_CHANGED_INTERVAL, _delay_change, obj);
83 } 83 }
diff --git a/src/lib/elementary/efl_ui_slider.eo b/src/lib/elementary/efl_ui_slider.eo
index 364b226..480c707 100644
--- a/src/lib/elementary/efl_ui_slider.eo
+++ b/src/lib/elementary/efl_ui_slider.eo
@@ -20,11 +20,10 @@ class @beta Efl.Ui.Slider extends Efl.Ui.Layout_Base implements Efl.Ui.Range_Int
20 Efl.Access.Widget.Action.elm_actions { get; } 20 Efl.Access.Widget.Action.elm_actions { get; }
21 } 21 }
22 events { 22 events {
23 changed: void; [[Called when the slider position has changed.]]
24 steady: void; [[Called when the slider position has changed and has remained unchanged for 0.2s. 23 steady: void; [[Called when the slider position has changed and has remained unchanged for 0.2s.
25 This allows filtering out unwanted "noise" from the slider signal if you are only 24 This allows filtering out unwanted "noise" from the slider signal if you are only
26 interested in the final position of the slider. 25 interested in the final position of the slider.
27 Use this signal instead of @[Efl.Ui.Slider.changed] if you are going to perform a costly operation 26 Use this signal instead of @[Efl.Ui.Range_Display.changed] if you are going to perform a costly operation
28 on its handler.]] 27 on its handler.]]
29 slider,drag,start: void; [[Called when a slider drag operation has started. This means a $press event 28 slider,drag,start: void; [[Called when a slider drag operation has started. This means a $press event
30 has been received on the slider thumb but not the $unpress.]] 29 has been received on the slider thumb but not the $unpress.]]
diff --git a/src/lib/elementary/efl_ui_slider_interval.c b/src/lib/elementary/efl_ui_slider_interval.c
index 0f0f9a5..77f543a 100644
--- a/src/lib/elementary/efl_ui_slider_interval.c
+++ b/src/lib/elementary/efl_ui_slider_interval.c
@@ -77,8 +77,8 @@ _efl_ui_slider_interval_val_fetch(Evas_Object *obj, Efl_Ui_Slider_Interval_Data
77 pd->intvl_from = val; 77 pd->intvl_from = val;
78 if (user_event) 78 if (user_event)
79 { 79 {
80 efl_event_callback_call(obj, EFL_UI_SLIDER_EVENT_CHANGED, NULL); 80 efl_event_callback_call(obj, EFL_UI_RANGE_EVENT_CHANGED, NULL);
81 efl_event_callback_legacy_call(obj, EFL_UI_SLIDER_EVENT_CHANGED, NULL); 81 efl_event_callback_legacy_call(obj, EFL_UI_RANGE_EVENT_CHANGED, NULL);
82 ecore_timer_del(pd->delay); 82 ecore_timer_del(pd->delay);
83 pd->delay = ecore_timer_add(SLIDER_DELAY_CHANGED_INTERVAL, _delay_change, obj); 83 pd->delay = ecore_timer_add(SLIDER_DELAY_CHANGED_INTERVAL, _delay_change, obj);
84 } 84 }
@@ -89,8 +89,8 @@ _efl_ui_slider_interval_val_fetch(Evas_Object *obj, Efl_Ui_Slider_Interval_Data
89 pd->intvl_to = val2; 89 pd->intvl_to = val2;
90 if (user_event) 90 if (user_event)
91 { 91 {
92 efl_event_callback_call(obj, EFL_UI_SLIDER_EVENT_CHANGED, NULL); 92 efl_event_callback_call(obj, EFL_UI_RANGE_EVENT_CHANGED, NULL);
93 efl_event_callback_legacy_call(obj, EFL_UI_SLIDER_EVENT_CHANGED, NULL); 93 efl_event_callback_legacy_call(obj, EFL_UI_RANGE_EVENT_CHANGED, NULL);
94 ecore_timer_del(pd->delay); 94 ecore_timer_del(pd->delay);
95 pd->delay = ecore_timer_add(SLIDER_DELAY_CHANGED_INTERVAL, _delay_change, obj); 95 pd->delay = ecore_timer_add(SLIDER_DELAY_CHANGED_INTERVAL, _delay_change, obj);
96 } 96 }
diff --git a/src/lib/elementary/efl_ui_spin.c b/src/lib/elementary/efl_ui_spin.c
index 636e3fe..1776fe3 100644
--- a/src/lib/elementary/efl_ui_spin.c
+++ b/src/lib/elementary/efl_ui_spin.c
@@ -156,11 +156,11 @@ _efl_ui_spin_efl_ui_range_display_range_value_set(Eo *obj, Efl_Ui_Spin_Data *sd,
156 sd->val = val; 156 sd->val = val;
157 157
158 if (EINA_DBL_EQ(sd->val, sd->val_min)) 158 if (EINA_DBL_EQ(sd->val, sd->val_min))
159 efl_event_callback_call(obj, EFL_UI_SPIN_EVENT_MIN_REACHED, NULL); 159 efl_event_callback_call(obj, EFL_UI_RANGE_EVENT_MIN_REACHED, NULL);
160 else if (EINA_DBL_EQ(sd->val, sd->val_max)) 160 else if (EINA_DBL_EQ(sd->val, sd->val_max))
161 efl_event_callback_call(obj, EFL_UI_SPIN_EVENT_MAX_REACHED, NULL); 161 efl_event_callback_call(obj, EFL_UI_RANGE_EVENT_MAX_REACHED, NULL);
162 162
163 efl_event_callback_call(obj, EFL_UI_SPIN_EVENT_CHANGED, NULL); 163 efl_event_callback_call(obj, EFL_UI_RANGE_EVENT_CHANGED, NULL);
164 164
165 _label_write(obj, sd); 165 _label_write(obj, sd);
166} 166}
diff --git a/src/lib/elementary/efl_ui_spin.eo b/src/lib/elementary/efl_ui_spin.eo
index 7f02d5a..55b1e45 100644
--- a/src/lib/elementary/efl_ui_spin.eo
+++ b/src/lib/elementary/efl_ui_spin.eo
@@ -15,9 +15,4 @@ class @beta Efl.Ui.Spin extends Efl.Ui.Layout_Base implements Efl.Ui.Range_Inter
15 Efl.Ui.Range_Display.range_value { get; set; } 15 Efl.Ui.Range_Display.range_value { get; set; }
16 Efl.Ui.Format.apply_formatted_value; 16 Efl.Ui.Format.apply_formatted_value;
17 } 17 }
18 events {
19 changed: void; [[Called when spin changed]]
20 min,reached: void; [[Called when spin value reached min]]
21 max,reached: void; [[Called when spin value reached max]]
22 }
23} 18}
diff --git a/src/lib/elementary/efl_ui_timepicker.c b/src/lib/elementary/efl_ui_timepicker.c
index d7dd01a..4e02665 100644
--- a/src/lib/elementary/efl_ui_timepicker.c
+++ b/src/lib/elementary/efl_ui_timepicker.c
@@ -126,14 +126,14 @@ _fields_init(Eo *obj)
126 efl_ui_spin_button_circulate_set(efl_added, EINA_TRUE), 126 efl_ui_spin_button_circulate_set(efl_added, EINA_TRUE),
127 efl_ui_spin_button_editable_set(efl_added, EINA_TRUE), 127 efl_ui_spin_button_editable_set(efl_added, EINA_TRUE),
128 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL), 128 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL),
129 efl_event_callback_add(efl_added, EFL_UI_SPIN_EVENT_CHANGED,_field_changed_cb, obj)); 129 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED,_field_changed_cb, obj));
130 130
131 pd->min = efl_add(EFL_UI_SPIN_BUTTON_CLASS, obj, 131 pd->min = efl_add(EFL_UI_SPIN_BUTTON_CLASS, obj,
132 efl_ui_range_limits_set(efl_added, 0, 59), 132 efl_ui_range_limits_set(efl_added, 0, 59),
133 efl_ui_spin_button_circulate_set(efl_added, EINA_TRUE), 133 efl_ui_spin_button_circulate_set(efl_added, EINA_TRUE),
134 efl_ui_spin_button_editable_set(efl_added, EINA_TRUE), 134 efl_ui_spin_button_editable_set(efl_added, EINA_TRUE),
135 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL), 135 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL),
136 efl_event_callback_add(efl_added, EFL_UI_SPIN_EVENT_CHANGED,_field_changed_cb, obj)); 136 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED,_field_changed_cb, obj));
137 137
138 pd->ampm = efl_add(EFL_UI_BUTTON_CLASS, obj, 138 pd->ampm = efl_add(EFL_UI_BUTTON_CLASS, obj,
139 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED, _field_changed_cb, obj), 139 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED, _field_changed_cb, obj),
diff --git a/src/lib/elementary/elc_player.c b/src/lib/elementary/elc_player.c
index c5a17e0..1a0c7d5 100644
--- a/src/lib/elementary/elc_player.c
+++ b/src/lib/elementary/elc_player.c
@@ -88,7 +88,7 @@ EFL_CALLBACKS_ARRAY_DEFINE(_emotion_cb,
88); 88);
89 89
90EFL_CALLBACKS_ARRAY_DEFINE(_slider_cb, 90EFL_CALLBACKS_ARRAY_DEFINE(_slider_cb,
91 { EFL_UI_SLIDER_EVENT_CHANGED, _update_position }, 91 { EFL_UI_RANGE_EVENT_CHANGED, _update_position },
92 { EFL_UI_SLIDER_EVENT_SLIDER_DRAG_START, _drag_start }, 92 { EFL_UI_SLIDER_EVENT_SLIDER_DRAG_START, _drag_start },
93 { EFL_UI_SLIDER_EVENT_SLIDER_DRAG_STOP, _drag_stop } 93 { EFL_UI_SLIDER_EVENT_SLIDER_DRAG_STOP, _drag_stop }
94); 94);
@@ -630,7 +630,7 @@ _elm_player_efl_canvas_group_group_add(Eo *obj, Elm_Player_Data *priv)
630 elm_layout_content_set(obj, "elm.swallow.media_player.volumeslider", 630 elm_layout_content_set(obj, "elm.swallow.media_player.volumeslider",
631 priv->vslider); 631 priv->vslider);
632 efl_event_callback_add 632 efl_event_callback_add
633 (priv->vslider, EFL_UI_SLIDER_EVENT_CHANGED, _update_volume, obj); 633 (priv->vslider, EFL_UI_RANGE_EVENT_CHANGED, _update_volume, obj);
634 634
635 elm_layout_sizing_eval(obj); 635 elm_layout_sizing_eval(obj);
636 elm_widget_can_focus_set(obj, EINA_TRUE); 636 elm_widget_can_focus_set(obj, EINA_TRUE);
diff --git a/src/lib/elementary/elm_slider.c b/src/lib/elementary/elm_slider.c
index c836723..97b348b 100644
--- a/src/lib/elementary/elm_slider.c
+++ b/src/lib/elementary/elm_slider.c
@@ -603,7 +603,7 @@ _elm_slider_val_fetch(Evas_Object *obj, Elm_Slider_Data *pd, Eina_Bool user_even
603 id->intvl_from = val; 603 id->intvl_from = val;
604 if (user_event) 604 if (user_event)
605 { 605 {
606 efl_event_callback_legacy_call(obj, EFL_UI_SLIDER_EVENT_CHANGED, NULL); 606 efl_event_callback_legacy_call(obj, EFL_UI_RANGE_EVENT_CHANGED, NULL);
607 ecore_timer_del(pd->delay); 607 ecore_timer_del(pd->delay);
608 pd->delay = ecore_timer_add(SLIDER_DELAY_CHANGED_INTERVAL, _delay_change, obj); 608 pd->delay = ecore_timer_add(SLIDER_DELAY_CHANGED_INTERVAL, _delay_change, obj);
609 evented = EINA_TRUE; 609 evented = EINA_TRUE;
@@ -616,7 +616,7 @@ _elm_slider_val_fetch(Evas_Object *obj, Elm_Slider_Data *pd, Eina_Bool user_even
616 /* avoid emitting two events and setting a timer twice */ 616 /* avoid emitting two events and setting a timer twice */
617 if (user_event && (!evented)) 617 if (user_event && (!evented))
618 { 618 {
619 efl_event_callback_legacy_call(obj, EFL_UI_SLIDER_EVENT_CHANGED, NULL); 619 efl_event_callback_legacy_call(obj, EFL_UI_RANGE_EVENT_CHANGED, NULL);
620 ecore_timer_del(pd->delay); 620 ecore_timer_del(pd->delay);
621 pd->delay = ecore_timer_add(SLIDER_DELAY_CHANGED_INTERVAL, _delay_change, obj); 621 pd->delay = ecore_timer_add(SLIDER_DELAY_CHANGED_INTERVAL, _delay_change, obj);
622 } 622 }
diff --git a/src/modules/elementary/prefs/elm_slider.c b/src/modules/elementary/prefs/elm_slider.c
index 961d76a..c4e5a95 100644
--- a/src/modules/elementary/prefs/elm_slider.c
+++ b/src/modules/elementary/prefs/elm_slider.c
@@ -27,7 +27,7 @@ elm_prefs_slider_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED,
27 evas_object_data_set(obj, "prefs_type", (void *)type); 27 evas_object_data_set(obj, "prefs_type", (void *)type);
28 28
29 efl_event_callback_add 29 efl_event_callback_add
30 (obj, EFL_UI_SLIDER_EVENT_CHANGED, _item_changed_cb, cb); 30 (obj, EFL_UI_RANGE_EVENT_CHANGED, _item_changed_cb, cb);
31 if (type == ELM_PREFS_TYPE_INT) 31 if (type == ELM_PREFS_TYPE_INT)
32 { 32 {
33 elm_slider_unit_format_set(obj, "%1.0f"); 33 elm_slider_unit_format_set(obj, "%1.0f");
diff --git a/src/tests/elementary/efl_ui_test_slider.c b/src/tests/elementary/efl_ui_test_slider.c
index ff820b0..39b11b5 100644
--- a/src/tests/elementary/efl_ui_test_slider.c
+++ b/src/tests/elementary/efl_ui_test_slider.c
@@ -13,7 +13,7 @@ slider_changed(void *data EINA_UNUSED, const Efl_Event *ev)
13{ 13{
14 event_counter++; 14 event_counter++;
15 if (event_counter == 1) 15 if (event_counter == 1)
16 efl_event_callback_del(ev->object, EFL_UI_SLIDER_EVENT_CHANGED, slider_changed, NULL); 16 efl_event_callback_del(ev->object, EFL_UI_RANGE_EVENT_CHANGED, slider_changed, NULL);
17 else if (event_counter == 2) 17 else if (event_counter == 2)
18 ecore_main_loop_quit(); 18 ecore_main_loop_quit();
19} 19}
@@ -26,7 +26,7 @@ EFL_START_TEST(efl_ui_test_slider_events)
26 26
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_SLIDER_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_SLIDER_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 );
@@ -60,7 +60,7 @@ EFL_START_TEST(efl_ui_test_slider_step)
60 60
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_SLIDER_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_SLIDER_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 );
diff --git a/src/tests/elementary/efl_ui_test_spin.c b/src/tests/elementary/efl_ui_test_spin.c
index 98c5432..abd55af 100644
--- a/src/tests/elementary/efl_ui_test_spin.c
+++ b/src/tests/elementary/efl_ui_test_spin.c
@@ -33,9 +33,9 @@ EFL_START_TEST (spin_value_events)
33 33
34 efl_ui_range_limits_set(spin, -3.0, 3.0); 34 efl_ui_range_limits_set(spin, -3.0, 3.0);
35 efl_ui_range_value_set(spin, 0.0); 35 efl_ui_range_value_set(spin, 0.0);
36 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_CHANGED, _set_flag, &changed); 36 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_CHANGED, _set_flag, &changed);
37 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_MIN_REACHED, _set_flag, &min_reached); 37 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_MIN_REACHED, _set_flag, &min_reached);
38 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_MAX_REACHED, _set_flag, &max_reached); 38 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_MAX_REACHED, _set_flag, &max_reached);
39 39
40 efl_ui_range_value_set(spin, 1.0); 40 efl_ui_range_value_set(spin, 1.0);
41 ck_assert_int_eq(changed, EINA_TRUE); 41 ck_assert_int_eq(changed, EINA_TRUE);
@@ -67,9 +67,9 @@ EFL_START_TEST (spin_wheel_test)
67 efl_ui_range_limits_set(spin, -100.0, 100.0); 67 efl_ui_range_limits_set(spin, -100.0, 100.0);
68 efl_ui_range_value_set(spin, 0.0); 68 efl_ui_range_value_set(spin, 0.0);
69 efl_ui_range_step_set(spin, 10.0); 69 efl_ui_range_step_set(spin, 10.0);
70 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_CHANGED, _set_flag, &changed); 70 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_CHANGED, _set_flag, &changed);
71 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_MIN_REACHED, _set_flag, &min_reached); 71 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_MIN_REACHED, _set_flag, &min_reached);
72 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_MAX_REACHED, _set_flag, &max_reached); 72 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_MAX_REACHED, _set_flag, &max_reached);
73 73
74 efl_gfx_entity_size_set(win, EINA_SIZE2D(60, 60)); 74 efl_gfx_entity_size_set(win, EINA_SIZE2D(60, 60));
75 get_me_to_those_events(spin); 75 get_me_to_those_events(spin);
diff --git a/src/tests/elementary/efl_ui_test_spin_button.c b/src/tests/elementary/efl_ui_test_spin_button.c
index 78b21a4..f9e6bce 100644
--- a/src/tests/elementary/efl_ui_test_spin_button.c
+++ b/src/tests/elementary/efl_ui_test_spin_button.c
@@ -52,9 +52,9 @@ EFL_START_TEST (spin_value_events)
52 52
53 efl_ui_range_limits_set(spin, -3.0, 3.0); 53 efl_ui_range_limits_set(spin, -3.0, 3.0);
54 efl_ui_range_value_set(spin, 0.0); 54 efl_ui_range_value_set(spin, 0.0);
55 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_CHANGED, _set_flag, &changed); 55 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_CHANGED, _set_flag, &changed);
56 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_MIN_REACHED, _set_flag, &min_reached); 56 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_MIN_REACHED, _set_flag, &min_reached);
57 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_MAX_REACHED, _set_flag, &max_reached); 57 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_MAX_REACHED, _set_flag, &max_reached);
58 58
59 efl_ui_range_value_set(spin, 1.0); 59 efl_ui_range_value_set(spin, 1.0);
60 ck_assert_int_eq(changed, EINA_TRUE); 60 ck_assert_int_eq(changed, EINA_TRUE);
@@ -89,9 +89,9 @@ EFL_START_TEST (spin_wheel_test)
89 efl_ui_range_limits_set(spin, -100.0, 100.0); 89 efl_ui_range_limits_set(spin, -100.0, 100.0);
90 efl_ui_range_value_set(spin, 0.0); 90 efl_ui_range_value_set(spin, 0.0);
91 efl_ui_range_step_set(spin, 10.0); 91 efl_ui_range_step_set(spin, 10.0);
92 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_CHANGED, _set_flag, &changed); 92 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_CHANGED, _set_flag, &changed);
93 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_MIN_REACHED, _set_flag, &min_reached); 93 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_MIN_REACHED, _set_flag, &min_reached);
94 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_MAX_REACHED, _set_flag, &max_reached); 94 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_MAX_REACHED, _set_flag, &max_reached);
95 95
96 efl_gfx_entity_size_set(win, EINA_SIZE2D(60, 60)); 96 efl_gfx_entity_size_set(win, EINA_SIZE2D(60, 60));
97 get_me_to_those_events(spin); 97 get_me_to_those_events(spin);
@@ -122,9 +122,9 @@ EFL_START_TEST (spin_value_inc)
122 122
123 efl_ui_range_limits_set(spin, 0.0, 3.0); 123 efl_ui_range_limits_set(spin, 0.0, 3.0);
124 efl_ui_range_value_set(spin, 1.0); 124 efl_ui_range_value_set(spin, 1.0);
125 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_CHANGED, _set_flag, &changed); 125 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_CHANGED, _set_flag, &changed);
126 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_MIN_REACHED, _set_flag, &min_reached); 126 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_MIN_REACHED, _set_flag, &min_reached);
127 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_MAX_REACHED, _set_flag, &max_reached); 127 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_MAX_REACHED, _set_flag, &max_reached);
128 efl_event_callback_add(spin, EFL_UI_SPIN_BUTTON_EVENT_DELAY_CHANGED, _set_flag_quit, &delay_changed); 128 efl_event_callback_add(spin, EFL_UI_SPIN_BUTTON_EVENT_DELAY_CHANGED, _set_flag_quit, &delay_changed);
129 129
130 click_spin_part(spin, "efl.inc_button"); 130 click_spin_part(spin, "efl.inc_button");
@@ -147,9 +147,9 @@ EFL_START_TEST (spin_value_inc_max)
147 147
148 efl_ui_range_limits_set(spin, 0.0, 3.0); 148 efl_ui_range_limits_set(spin, 0.0, 3.0);
149 efl_ui_range_value_set(spin, 2.0); 149 efl_ui_range_value_set(spin, 2.0);
150 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_CHANGED, _set_flag, &changed); 150 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_CHANGED, _set_flag, &changed);
151 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_MIN_REACHED, _set_flag, &min_reached); 151 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_MIN_REACHED, _set_flag, &min_reached);
152 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_MAX_REACHED, _set_flag, &max_reached); 152 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_MAX_REACHED, _set_flag, &max_reached);
153 efl_event_callback_add(spin, EFL_UI_SPIN_BUTTON_EVENT_DELAY_CHANGED, _set_flag_quit, &delay_changed); 153 efl_event_callback_add(spin, EFL_UI_SPIN_BUTTON_EVENT_DELAY_CHANGED, _set_flag_quit, &delay_changed);
154 154
155 click_spin_part(spin, "efl.inc_button"); 155 click_spin_part(spin, "efl.inc_button");
@@ -172,9 +172,9 @@ EFL_START_TEST (spin_value_dec_min)
172 172
173 efl_ui_range_limits_set(spin, 0.0, 3.0); 173 efl_ui_range_limits_set(spin, 0.0, 3.0);
174 efl_ui_range_value_set(spin, 1.0); 174 efl_ui_range_value_set(spin, 1.0);
175 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_CHANGED, _set_flag, &changed); 175 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_CHANGED, _set_flag, &changed);
176 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_MIN_REACHED, _set_flag, &min_reached); 176 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_MIN_REACHED, _set_flag, &min_reached);
177 efl_event_callback_add(spin, EFL_UI_SPIN_EVENT_MAX_REACHED, _set_flag, &max_reached); 177 efl_event_callback_add(spin, EFL_UI_RANGE_EVENT_MAX_REACHED, _set_flag, &max_reached);
178 efl_event_callback_add(spin, EFL_UI_SPIN_BUTTON_EVENT_DELAY_CHANGED, _set_flag_quit, &delay_changed); 178 efl_event_callback_add(spin, EFL_UI_SPIN_BUTTON_EVENT_DELAY_CHANGED, _set_flag_quit, &delay_changed);
179 179
180 click_spin_part(spin, "efl.dec_button"); 180 click_spin_part(spin, "efl.dec_button");