summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_ui_pager_scroll.c
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 /src/bin/elementary/test_ui_pager_scroll.c
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
Diffstat (limited to 'src/bin/elementary/test_ui_pager_scroll.c')
-rw-r--r--src/bin/elementary/test_ui_pager_scroll.c8
1 files changed, 4 insertions, 4 deletions
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}