summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-06-19 09:55:51 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-06-19 10:03:21 +0200
commit969c7f72877c3cd67fcbaf947d9873bf442402de (patch)
treeba4dafbe0637c8f28123144edc196fe88b660760 /src/bin
parente712261e14c1b823c1766be56ac2d78baad6cdfc (diff)
efl_ui_range_display: range_min_max -> range_limits
Summary: ref T7895 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7895 Differential Revision: https://phab.enlightenment.org/D9110
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/elementary/test_flipselector.c2
-rw-r--r--src/bin/elementary/test_ui_active_view.c14
-rw-r--r--src/bin/elementary/test_ui_pager.c14
-rw-r--r--src/bin/elementary/test_ui_pager_scroll.c18
-rw-r--r--src/bin/elementary/test_ui_progressbar.c4
-rw-r--r--src/bin/elementary/test_ui_relative_layout.c6
-rw-r--r--src/bin/elementary/test_ui_slider.c10
-rw-r--r--src/bin/elementary/test_ui_slider_interval.c8
-rw-r--r--src/bin/elementary/test_ui_spin.c2
-rw-r--r--src/bin/elementary/test_ui_spin_button.c6
-rw-r--r--src/bin/elementary/test_ui_tab_pager.c10
11 files changed, 47 insertions, 47 deletions
diff --git a/src/bin/elementary/test_flipselector.c b/src/bin/elementary/test_flipselector.c
index 13216bd..bd306b0 100644
--- a/src/bin/elementary/test_flipselector.c
+++ b/src/bin/elementary/test_flipselector.c
@@ -187,7 +187,7 @@ test_flipselector(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev
187 fpd = elm_flipselector_add(bx); 187 fpd = elm_flipselector_add(bx);
188 evas_object_size_hint_weight_set(fpd, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 188 evas_object_size_hint_weight_set(fpd, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
189 efl_ui_range_step_set(fpd, 1.5); 189 efl_ui_range_step_set(fpd, 1.5);
190 efl_ui_range_min_max_set(fpd, 2.3, 10.1); 190 efl_ui_range_limits_set(fpd, 2.3, 10.1);
191 efl_ui_range_value_set(fpd, 5.3); 191 efl_ui_range_value_set(fpd, 5.3);
192 printf("Current value is %f\n", efl_ui_range_value_get(fpd)); 192 printf("Current value is %f\n", efl_ui_range_value_get(fpd));
193 elm_box_pack_end(bx, fpd); 193 elm_box_pack_end(bx, fpd);
diff --git a/src/bin/elementary/test_ui_active_view.c b/src/bin/elementary/test_ui_active_view.c
index 8f0d21f..86e81e8 100644
--- a/src/bin/elementary/test_ui_active_view.c
+++ b/src/bin/elementary/test_ui_active_view.c
@@ -292,7 +292,7 @@ pack_btn_cb(void *data, const Efl_Event *ev EINA_UNUSED)
292 index = efl_ui_range_value_get(param->pack_sp); 292 index = efl_ui_range_value_get(param->pack_sp);
293 if (index > cnt) 293 if (index > cnt)
294 efl_ui_range_value_set(param->pack_sp, cnt); 294 efl_ui_range_value_set(param->pack_sp, cnt);
295 efl_ui_range_min_max_set(param->pack_sp, 0, cnt); 295 efl_ui_range_limits_set(param->pack_sp, 0, cnt);
296 296
297 if (cnt > 0) 297 if (cnt > 0)
298 { 298 {
@@ -303,7 +303,7 @@ pack_btn_cb(void *data, const Efl_Event *ev EINA_UNUSED)
303 index = efl_ui_range_value_get(param->unpack_sp); 303 index = efl_ui_range_value_get(param->unpack_sp);
304 if (index > cnt) 304 if (index > cnt)
305 efl_ui_range_value_set(param->unpack_sp, cnt); 305 efl_ui_range_value_set(param->unpack_sp, cnt);
306 efl_ui_range_min_max_set(param->unpack_sp, 0, cnt); 306 efl_ui_range_limits_set(param->unpack_sp, 0, cnt);
307 } 307 }
308 else 308 else
309 { 309 {
@@ -385,7 +385,7 @@ active_view_size(void *data,
385 efl_gfx_entity_visible_set(ck, 1); 385 efl_gfx_entity_visible_set(ck, 1);
386 386
387 sl = efl_add(EFL_UI_SLIDER_CLASS, inbox, 387 sl = efl_add(EFL_UI_SLIDER_CLASS, inbox,
388 efl_ui_range_min_max_set(efl_added, 100, 200), 388 efl_ui_range_limits_set(efl_added, 100, 200),
389 efl_ui_range_value_set(efl_added, params->w), 389 efl_ui_range_value_set(efl_added, params->w),
390 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 0)), 390 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 0)),
391 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, 391 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED,
@@ -426,7 +426,7 @@ active_view_size(void *data,
426 efl_gfx_entity_visible_set(ck, 1); 426 efl_gfx_entity_visible_set(ck, 1);
427 427
428 sl = efl_add(EFL_UI_SLIDER_CLASS, inbox, 428 sl = efl_add(EFL_UI_SLIDER_CLASS, inbox,
429 efl_ui_range_min_max_set(efl_added, 100, 300), 429 efl_ui_range_limits_set(efl_added, 100, 300),
430 efl_ui_range_value_set(efl_added, params->h), 430 efl_ui_range_value_set(efl_added, params->h),
431 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 0)), 431 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(100, 0)),
432 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, 432 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED,
@@ -511,7 +511,7 @@ pack_cb(void *data,
511 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL)); 511 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL));
512 512
513 sp1 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box1, 513 sp1 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box1,
514 efl_ui_range_min_max_set(efl_added, 0, 514 efl_ui_range_limits_set(efl_added, 0,
515 efl_content_count(active_view)), 515 efl_content_count(active_view)),
516 efl_ui_range_value_set(efl_added, 516 efl_ui_range_value_set(efl_added,
517 efl_ui_active_view_active_index_get(active_view))); 517 efl_ui_active_view_active_index_get(active_view)));
@@ -635,7 +635,7 @@ pack_cb(void *data,
635 635
636 if (efl_content_count(active_view) > 0) 636 if (efl_content_count(active_view) > 0)
637 { 637 {
638 efl_ui_range_min_max_set(sp2, 0, 638 efl_ui_range_limits_set(sp2, 0,
639 (efl_content_count(active_view) - 1)); 639 (efl_content_count(active_view) - 1));
640 efl_ui_range_value_set(sp2, 640 efl_ui_range_value_set(sp2,
641 efl_ui_active_view_active_index_get(active_view)); 641 efl_ui_active_view_active_index_get(active_view));
@@ -701,7 +701,7 @@ active_index_cb(void *data,
701 701
702 if (efl_content_count(active_view) > 0) 702 if (efl_content_count(active_view) > 0)
703 { 703 {
704 efl_ui_range_min_max_set(sp, 0, 704 efl_ui_range_limits_set(sp, 0,
705 (efl_content_count(active_view) - 1)); 705 (efl_content_count(active_view) - 1));
706 efl_ui_range_value_set(sp, 706 efl_ui_range_value_set(sp,
707 efl_ui_active_view_active_index_get(active_view)); 707 efl_ui_active_view_active_index_get(active_view));
diff --git a/src/bin/elementary/test_ui_pager.c b/src/bin/elementary/test_ui_pager.c
index 30c05af..5fba212 100644
--- a/src/bin/elementary/test_ui_pager.c
+++ b/src/bin/elementary/test_ui_pager.c
@@ -274,7 +274,7 @@ static void pack_btn_cb(void *data, const Efl_Event *ev EINA_UNUSED)
274 index = efl_ui_range_value_get(param->pack_sp); 274 index = efl_ui_range_value_get(param->pack_sp);
275 if (index > cnt) 275 if (index > cnt)
276 efl_ui_range_value_set(param->pack_sp, cnt); 276 efl_ui_range_value_set(param->pack_sp, cnt);
277 efl_ui_range_min_max_set(param->pack_sp, 0, cnt); 277 efl_ui_range_limits_set(param->pack_sp, 0, cnt);
278 278
279 if (cnt > 0) 279 if (cnt > 0)
280 { 280 {
@@ -285,7 +285,7 @@ static void pack_btn_cb(void *data, const Efl_Event *ev EINA_UNUSED)
285 index = efl_ui_range_value_get(param->unpack_sp); 285 index = efl_ui_range_value_get(param->unpack_sp);
286 if (index > cnt) 286 if (index > cnt)
287 efl_ui_range_value_set(param->unpack_sp, cnt); 287 efl_ui_range_value_set(param->unpack_sp, cnt);
288 efl_ui_range_min_max_set(param->unpack_sp, 0, cnt); 288 efl_ui_range_limits_set(param->unpack_sp, 0, cnt);
289 } 289 }
290 else 290 else
291 { 291 {
@@ -361,7 +361,7 @@ static void page_size_cb(void *data,
361 efl_gfx_entity_visible_set(ck, 1); 361 efl_gfx_entity_visible_set(ck, 1);
362 362
363 sl = efl_add(EFL_UI_SLIDER_CLASS, inbox, 363 sl = efl_add(EFL_UI_SLIDER_CLASS, inbox,
364 efl_ui_range_min_max_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_SLIDER_EVENT_CHANGED,
@@ -402,7 +402,7 @@ static void page_size_cb(void *data,
402 efl_gfx_entity_visible_set(ck, 1); 402 efl_gfx_entity_visible_set(ck, 1);
403 403
404 sl = efl_add(EFL_UI_SLIDER_CLASS, inbox, 404 sl = efl_add(EFL_UI_SLIDER_CLASS, inbox,
405 efl_ui_range_min_max_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_SLIDER_EVENT_CHANGED,
@@ -452,7 +452,7 @@ static void pack_cb(void *data,
452 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL)); 452 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL));
453 453
454 sp1 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box1, 454 sp1 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box1,
455 efl_ui_range_min_max_set(efl_added, 0, 455 efl_ui_range_limits_set(efl_added, 0,
456 efl_content_count(pager)), 456 efl_content_count(pager)),
457 efl_ui_range_value_set(efl_added, 457 efl_ui_range_value_set(efl_added,
458 efl_ui_pager_current_page_get(pager))); 458 efl_ui_pager_current_page_get(pager)));
@@ -576,7 +576,7 @@ static void pack_cb(void *data,
576 576
577 if (efl_content_count(pager) > 0) 577 if (efl_content_count(pager) > 0)
578 { 578 {
579 efl_ui_range_min_max_set(sp2, 0, 579 efl_ui_range_limits_set(sp2, 0,
580 (efl_content_count(pager) - 1)); 580 (efl_content_count(pager) - 1));
581 efl_ui_range_value_set(sp2, 581 efl_ui_range_value_set(sp2,
582 efl_ui_pager_current_page_get(pager)); 582 efl_ui_pager_current_page_get(pager));
@@ -642,7 +642,7 @@ static void current_page_cb(void *data,
642 642
643 if (efl_content_count(pager) > 0) 643 if (efl_content_count(pager) > 0)
644 { 644 {
645 efl_ui_range_min_max_set(sp, 0, 645 efl_ui_range_limits_set(sp, 0,
646 (efl_content_count(pager) - 1)); 646 (efl_content_count(pager) - 1));
647 efl_ui_range_value_set(sp, 647 efl_ui_range_value_set(sp,
648 efl_ui_pager_current_page_get(pager)); 648 efl_ui_pager_current_page_get(pager));
diff --git a/src/bin/elementary/test_ui_pager_scroll.c b/src/bin/elementary/test_ui_pager_scroll.c
index e25132d..9d1857e 100644
--- a/src/bin/elementary/test_ui_pager_scroll.c
+++ b/src/bin/elementary/test_ui_pager_scroll.c
@@ -296,7 +296,7 @@ static void pack_btn_cb(void *data, const Efl_Event *ev EINA_UNUSED)
296 index = efl_ui_range_value_get(param->pack_sp); 296 index = efl_ui_range_value_get(param->pack_sp);
297 if (index > cnt) 297 if (index > cnt)
298 efl_ui_range_value_set(param->pack_sp, cnt); 298 efl_ui_range_value_set(param->pack_sp, cnt);
299 efl_ui_range_min_max_set(param->pack_sp, 0, cnt); 299 efl_ui_range_limits_set(param->pack_sp, 0, cnt);
300 300
301 if (cnt > 0) 301 if (cnt > 0)
302 { 302 {
@@ -307,7 +307,7 @@ static void pack_btn_cb(void *data, const Efl_Event *ev EINA_UNUSED)
307 index = efl_ui_range_value_get(param->unpack_sp); 307 index = efl_ui_range_value_get(param->unpack_sp);
308 if (index > cnt) 308 if (index > cnt)
309 efl_ui_range_value_set(param->unpack_sp, cnt); 309 efl_ui_range_value_set(param->unpack_sp, cnt);
310 efl_ui_range_min_max_set(param->unpack_sp, 0, cnt); 310 efl_ui_range_limits_set(param->unpack_sp, 0, cnt);
311 } 311 }
312 else 312 else
313 { 313 {
@@ -415,7 +415,7 @@ static void page_size_cb(void *data,
415 efl_gfx_entity_visible_set(ck, 1); 415 efl_gfx_entity_visible_set(ck, 1);
416 416
417 sl = efl_add(EFL_UI_SLIDER_CLASS, inbox, 417 sl = efl_add(EFL_UI_SLIDER_CLASS, inbox,
418 efl_ui_range_min_max_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_SLIDER_EVENT_CHANGED,
@@ -456,7 +456,7 @@ static void page_size_cb(void *data,
456 efl_gfx_entity_visible_set(ck, 1); 456 efl_gfx_entity_visible_set(ck, 1);
457 457
458 sl = efl_add(EFL_UI_SLIDER_CLASS, inbox, 458 sl = efl_add(EFL_UI_SLIDER_CLASS, inbox,
459 efl_ui_range_min_max_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_SLIDER_EVENT_CHANGED,
@@ -500,7 +500,7 @@ static void padding_cb(void *data,
500 efl_added, NULL)); 500 efl_added, NULL));
501 501
502 efl_add(EFL_UI_SLIDER_CLASS, box, 502 efl_add(EFL_UI_SLIDER_CLASS, box,
503 efl_ui_range_min_max_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_SLIDER_EVENT_CHANGED,
@@ -529,7 +529,7 @@ static void side_page_num_cb(void *data,
529 efl_add(EFL_UI_SLIDER_CLASS, box, 529 efl_add(EFL_UI_SLIDER_CLASS, box,
530 efl_text_set(efl_added, "side page num"), 530 efl_text_set(efl_added, "side page num"),
531 efl_ui_format_string_set(efl_part(efl_added, "indicator"), "%1.0f"), 531 efl_ui_format_string_set(efl_part(efl_added, "indicator"), "%1.0f"),
532 efl_ui_range_min_max_set(efl_added, 0, 3), 532 efl_ui_range_limits_set(efl_added, 0, 3),
533 efl_ui_range_value_set(efl_added, params->side_page_num), 533 efl_ui_range_value_set(efl_added, params->side_page_num),
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),
@@ -564,7 +564,7 @@ static void pack_cb(void *data,
564 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL)); 564 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL));
565 565
566 sp1 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box1, 566 sp1 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box1,
567 efl_ui_range_min_max_set(efl_added, 0, 567 efl_ui_range_limits_set(efl_added, 0,
568 efl_content_count(pager)), 568 efl_content_count(pager)),
569 efl_ui_range_value_set(efl_added, 569 efl_ui_range_value_set(efl_added,
570 efl_ui_pager_current_page_get(pager))); 570 efl_ui_pager_current_page_get(pager)));
@@ -688,7 +688,7 @@ static void pack_cb(void *data,
688 688
689 if (efl_content_count(pager) > 0) 689 if (efl_content_count(pager) > 0)
690 { 690 {
691 efl_ui_range_min_max_set(sp2, 0, 691 efl_ui_range_limits_set(sp2, 0,
692 (efl_content_count(pager) - 1)); 692 (efl_content_count(pager) - 1));
693 efl_ui_range_value_set(sp2, 693 efl_ui_range_value_set(sp2,
694 efl_ui_pager_current_page_get(pager)); 694 efl_ui_pager_current_page_get(pager));
@@ -753,7 +753,7 @@ static void current_page_cb(void *data,
753 753
754 if (efl_content_count(pager) > 0) 754 if (efl_content_count(pager) > 0)
755 { 755 {
756 efl_ui_range_min_max_set(sp, 0, 756 efl_ui_range_limits_set(sp, 0,
757 (efl_content_count(pager) - 1)); 757 (efl_content_count(pager) - 1));
758 efl_ui_range_value_set(sp, 758 efl_ui_range_value_set(sp,
759 efl_ui_pager_current_page_get(pager)); 759 efl_ui_pager_current_page_get(pager));
diff --git a/src/bin/elementary/test_ui_progressbar.c b/src/bin/elementary/test_ui_progressbar.c
index ffb7084..04cb6d4 100644
--- a/src/bin/elementary/test_ui_progressbar.c
+++ b/src/bin/elementary/test_ui_progressbar.c
@@ -133,7 +133,7 @@ test_ui_progressbar(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, void *event_inf
133 pd->pb1 = efl_add(EFL_UI_PROGRESSBAR_CLASS, bx, 133 pd->pb1 = efl_add(EFL_UI_PROGRESSBAR_CLASS, bx,
134 efl_pack(bx, efl_added), 134 efl_pack(bx, efl_added),
135 efl_text_set(efl_added, "percent"), 135 efl_text_set(efl_added, "percent"),
136 efl_ui_range_min_max_set(efl_added, 0, 100), 136 efl_ui_range_limits_set(efl_added, 0, 100),
137 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(250, 20)) 137 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(250, 20))
138 ); 138 );
139 139
@@ -149,7 +149,7 @@ test_ui_progressbar(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, void *event_inf
149 efl_text_set(efl_added, "10-100"), 149 efl_text_set(efl_added, "10-100"),
150 efl_ui_progressbar_pulse_set(efl_added, EINA_TRUE), 150 efl_ui_progressbar_pulse_set(efl_added, EINA_TRUE),
151 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(250, 20)), 151 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(250, 20)),
152 efl_ui_range_min_max_set(efl_added, 10, 100), 152 efl_ui_range_limits_set(efl_added, 10, 100),
153 efl_ui_range_value_set(efl_added, 10) 153 efl_ui_range_value_set(efl_added, 10)
154 ); 154 );
155 155
diff --git a/src/bin/elementary/test_ui_relative_layout.c b/src/bin/elementary/test_ui_relative_layout.c
index 35c8adf..c108dd6 100644
--- a/src/bin/elementary/test_ui_relative_layout.c
+++ b/src/bin/elementary/test_ui_relative_layout.c
@@ -171,7 +171,7 @@ _setter_add(Eo *vbox, Eo *btn, Options option)
171 efl_pack(hbox, efl_added)); 171 efl_pack(hbox, efl_added));
172 172
173 efl_add(EFL_UI_SLIDER_CLASS, hbox, 173 efl_add(EFL_UI_SLIDER_CLASS, hbox,
174 efl_ui_range_min_max_set(efl_added, 0.0, 1.0), 174 efl_ui_range_limits_set(efl_added, 0.0, 1.0),
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),
@@ -242,7 +242,7 @@ _button_frame_add(Eo *box, Eo *btn)
242 efl_pack(hbox, efl_added)); 242 efl_pack(hbox, efl_added));
243 243
244 efl_add(EFL_UI_SLIDER_CLASS, hbox, 244 efl_add(EFL_UI_SLIDER_CLASS, hbox,
245 efl_ui_range_min_max_set(efl_added, 0.0, 1.0), 245 efl_ui_range_limits_set(efl_added, 0.0, 1.0),
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),
@@ -262,7 +262,7 @@ _button_frame_add(Eo *box, Eo *btn)
262 efl_pack(hbox, efl_added)); 262 efl_pack(hbox, efl_added));
263 263
264 efl_add(EFL_UI_SLIDER_CLASS, hbox, 264 efl_add(EFL_UI_SLIDER_CLASS, hbox,
265 efl_ui_range_min_max_set(efl_added, 0.0, 1.0), 265 efl_ui_range_limits_set(efl_added, 0.0, 1.0),
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),
diff --git a/src/bin/elementary/test_ui_slider.c b/src/bin/elementary/test_ui_slider.c
index b91deca..38447ef 100644
--- a/src/bin/elementary/test_ui_slider.c
+++ b/src/bin/elementary/test_ui_slider.c
@@ -81,7 +81,7 @@ test_ui_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
81 81
82 efl_add(EFL_UI_SLIDER_CLASS, bx, 82 efl_add(EFL_UI_SLIDER_CLASS, bx,
83 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(120, 0)), 83 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(120, 0)),
84 efl_ui_range_min_max_set(efl_added, 10, 145), 84 efl_ui_range_limits_set(efl_added, 10, 145),
85 efl_ui_range_step_set(efl_added, step), 85 efl_ui_range_step_set(efl_added, step),
86 elm_object_disabled_set(efl_added, EINA_TRUE), 86 elm_object_disabled_set(efl_added, EINA_TRUE),
87 efl_pack(bx, efl_added)); 87 efl_pack(bx, efl_added));
@@ -97,7 +97,7 @@ test_ui_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
97 97
98 efl_add(EFL_UI_SLIDER_CLASS, hbx, 98 efl_add(EFL_UI_SLIDER_CLASS, hbx,
99 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(0, 160)), 99 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(0, 160)),
100 efl_ui_range_min_max_set(efl_added, 10, 145), 100 efl_ui_range_limits_set(efl_added, 10, 145),
101 efl_ui_range_step_set(efl_added, step), 101 efl_ui_range_step_set(efl_added, step),
102 efl_ui_range_value_set(efl_added, 70), 102 efl_ui_range_value_set(efl_added, 70),
103 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL), 103 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL),
@@ -105,7 +105,7 @@ test_ui_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
105 105
106 efl_add(EFL_UI_SLIDER_CLASS, hbx, 106 efl_add(EFL_UI_SLIDER_CLASS, hbx,
107 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(0, 160)), 107 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(0, 160)),
108 efl_ui_range_min_max_set(efl_added, 10, 145), 108 efl_ui_range_limits_set(efl_added, 10, 145),
109 efl_ui_range_step_set(efl_added, step), 109 efl_ui_range_step_set(efl_added, step),
110 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL), 110 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL),
111 elm_object_disabled_set(efl_added, EINA_TRUE), 111 elm_object_disabled_set(efl_added, EINA_TRUE),
@@ -113,7 +113,7 @@ test_ui_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
113 113
114 efl_add(EFL_UI_SLIDER_CLASS, hbx, 114 efl_add(EFL_UI_SLIDER_CLASS, hbx,
115 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(0, 160)), 115 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(0, 160)),
116 efl_ui_range_min_max_set(efl_added, 10, 145), 116 efl_ui_range_limits_set(efl_added, 10, 145),
117 efl_ui_range_value_set(efl_added, 35), 117 efl_ui_range_value_set(efl_added, 35),
118 efl_ui_range_step_set(efl_added, step), 118 efl_ui_range_step_set(efl_added, step),
119 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL | EFL_UI_LAYOUT_ORIENTATION_INVERTED), 119 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL | EFL_UI_LAYOUT_ORIENTATION_INVERTED),
@@ -126,7 +126,7 @@ test_ui_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
126 126
127 efl_add(EFL_UI_SLIDER_CLASS, bx, 127 efl_add(EFL_UI_SLIDER_CLASS, bx,
128 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(260, 0)), 128 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(260, 0)),
129 efl_ui_range_min_max_set(efl_added, 0, 150), 129 efl_ui_range_limits_set(efl_added, 0, 150),
130 efl_ui_range_step_set(efl_added, step), 130 efl_ui_range_step_set(efl_added, step),
131 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, _slider_changed_cb, NULL), 131 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, _slider_changed_cb, NULL),
132 efl_pack(bx, efl_added)); 132 efl_pack(bx, efl_added));
diff --git a/src/bin/elementary/test_ui_slider_interval.c b/src/bin/elementary/test_ui_slider_interval.c
index 8f0b6c9..9d4eccd 100644
--- a/src/bin/elementary/test_ui_slider_interval.c
+++ b/src/bin/elementary/test_ui_slider_interval.c
@@ -70,7 +70,7 @@ test_slider_interval(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
70 70
71 efl_add(EFL_UI_SLIDER_INTERVAL_CLASS, bx, 71 efl_add(EFL_UI_SLIDER_INTERVAL_CLASS, bx,
72 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(120, 0)), 72 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(120, 0)),
73 efl_ui_range_min_max_set(efl_added, 10, 145), 73 efl_ui_range_limits_set(efl_added, 10, 145),
74 efl_ui_slider_interval_value_set(efl_added, 50, 100), 74 efl_ui_slider_interval_value_set(efl_added, 50, 100),
75 efl_ui_range_step_set(efl_added, step), 75 efl_ui_range_step_set(efl_added, step),
76 elm_object_disabled_set(efl_added, EINA_TRUE), 76 elm_object_disabled_set(efl_added, EINA_TRUE),
@@ -87,7 +87,7 @@ test_slider_interval(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
87 87
88 efl_add(EFL_UI_SLIDER_INTERVAL_CLASS, hbx, 88 efl_add(EFL_UI_SLIDER_INTERVAL_CLASS, hbx,
89 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(0, 160)), 89 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(0, 160)),
90 efl_ui_range_min_max_set(efl_added, 10, 145), 90 efl_ui_range_limits_set(efl_added, 10, 145),
91 efl_ui_slider_interval_value_set(efl_added, 50, 100), 91 efl_ui_slider_interval_value_set(efl_added, 50, 100),
92 efl_ui_range_step_set(efl_added, step), 92 efl_ui_range_step_set(efl_added, step),
93 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL), 93 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL),
@@ -95,7 +95,7 @@ test_slider_interval(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
95 95
96 efl_add(EFL_UI_SLIDER_INTERVAL_CLASS, hbx, 96 efl_add(EFL_UI_SLIDER_INTERVAL_CLASS, hbx,
97 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(0, 160)), 97 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(0, 160)),
98 efl_ui_range_min_max_set(efl_added, 10, 145), 98 efl_ui_range_limits_set(efl_added, 10, 145),
99 efl_ui_slider_interval_value_set(efl_added, 50, 100), 99 efl_ui_slider_interval_value_set(efl_added, 50, 100),
100 efl_ui_range_step_set(efl_added, step), 100 efl_ui_range_step_set(efl_added, step),
101 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL), 101 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL),
@@ -109,7 +109,7 @@ test_slider_interval(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
109 109
110 efl_add(EFL_UI_SLIDER_INTERVAL_CLASS, bx, 110 efl_add(EFL_UI_SLIDER_INTERVAL_CLASS, bx,
111 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(260, 0)), 111 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(260, 0)),
112 efl_ui_range_min_max_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_SLIDER_EVENT_CHANGED, _intv_slider_changed_cb, NULL),
diff --git a/src/bin/elementary/test_ui_spin.c b/src/bin/elementary/test_ui_spin.c
index bf530e3..1c5b86b 100644
--- a/src/bin/elementary/test_ui_spin.c
+++ b/src/bin/elementary/test_ui_spin.c
@@ -47,7 +47,7 @@ test_ui_spin(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
47 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL)); 47 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL));
48 48
49 sp = efl_add(EFL_UI_SPIN_CLASS, bx, 49 sp = efl_add(EFL_UI_SPIN_CLASS, bx,
50 efl_ui_range_min_max_set(efl_added, 0, 10), 50 efl_ui_range_limits_set(efl_added, 0, 10),
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"), 53 efl_ui_format_string_set(efl_added, "test %d"),
diff --git a/src/bin/elementary/test_ui_spin_button.c b/src/bin/elementary/test_ui_spin_button.c
index 293d996..52455e6 100644
--- a/src/bin/elementary/test_ui_spin_button.c
+++ b/src/bin/elementary/test_ui_spin_button.c
@@ -38,7 +38,7 @@ test_ui_spin_button(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *
38 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL)); 38 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL));
39 39
40 efl_add(EFL_UI_SPIN_BUTTON_CLASS, bx, 40 efl_add(EFL_UI_SPIN_BUTTON_CLASS, bx,
41 efl_ui_range_min_max_set(efl_added, 0, 10), 41 efl_ui_range_limits_set(efl_added, 0, 10),
42 efl_ui_range_value_set(efl_added, 6), 42 efl_ui_range_value_set(efl_added, 6),
43 efl_ui_range_step_set(efl_added, 2), 43 efl_ui_range_step_set(efl_added, 2),
44 efl_ui_spin_button_circulate_set(efl_added, EINA_TRUE), 44 efl_ui_spin_button_circulate_set(efl_added, EINA_TRUE),
@@ -47,14 +47,14 @@ test_ui_spin_button(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *
47 efl_pack(bx, efl_added)); 47 efl_pack(bx, efl_added));
48 48
49 efl_add(EFL_UI_SPIN_BUTTON_CLASS, bx, 49 efl_add(EFL_UI_SPIN_BUTTON_CLASS, bx,
50 efl_ui_range_min_max_set(efl_added, -100.0, 100.0), 50 efl_ui_range_limits_set(efl_added, -100.0, 100.0),
51 efl_ui_range_value_set(efl_added, 0), 51 efl_ui_range_value_set(efl_added, 0),
52 efl_ui_format_string_set(efl_added, "test float %0.2f"), 52 efl_ui_format_string_set(efl_added, "test float %0.2f"),
53 efl_ui_spin_button_editable_set(efl_added, EINA_FALSE), 53 efl_ui_spin_button_editable_set(efl_added, EINA_FALSE),
54 efl_pack(bx, efl_added)); 54 efl_pack(bx, efl_added));
55 55
56 efl_add(EFL_UI_SPIN_BUTTON_CLASS, bx, 56 efl_add(EFL_UI_SPIN_BUTTON_CLASS, bx,
57 efl_ui_range_min_max_set(efl_added, 1, 12), 57 efl_ui_range_limits_set(efl_added, 1, 12),
58 efl_ui_range_value_set(efl_added, 1), 58 efl_ui_range_value_set(efl_added, 1),
59 efl_ui_spin_button_editable_set(efl_added, EINA_FALSE), 59 efl_ui_spin_button_editable_set(efl_added, EINA_FALSE),
60 efl_ui_spin_special_value_set(efl_added, array), 60 efl_ui_spin_special_value_set(efl_added, array),
diff --git a/src/bin/elementary/test_ui_tab_pager.c b/src/bin/elementary/test_ui_tab_pager.c
index d2c0e6b..ae579a4 100644
--- a/src/bin/elementary/test_ui_tab_pager.c
+++ b/src/bin/elementary/test_ui_tab_pager.c
@@ -229,7 +229,7 @@ _current_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
229 elm_naviframe_item_push(navi, "Current", btn, NULL, efl_added, NULL)); 229 elm_naviframe_item_push(navi, "Current", btn, NULL, efl_added, NULL));
230 230
231 sp = efl_add(EFL_UI_SPIN_BUTTON_CLASS, box, 231 sp = efl_add(EFL_UI_SPIN_BUTTON_CLASS, box,
232 efl_ui_range_min_max_set(efl_added, 0, efl_content_count(tab_pager) - 1), 232 efl_ui_range_limits_set(efl_added, 0, efl_content_count(tab_pager) - 1),
233 efl_ui_range_value_set(efl_added, efl_ui_active_view_active_index_get(tab_pager)), 233 efl_ui_range_value_set(efl_added, efl_ui_active_view_active_index_get(tab_pager)),
234 efl_pack_end(box, efl_added)); 234 efl_pack_end(box, efl_added));
235 235
@@ -304,7 +304,7 @@ _pack_at_btn_cb(void *data, const Efl_Event *ev EINA_UNUSED)
304 tab_page = tab_page_add(tsd->tab_pager); 304 tab_page = tab_page_add(tsd->tab_pager);
305 305
306 efl_pack_at(tsd->tab_pager, tab_page, elm_spinner_value_get(tsd->spinner)); 306 efl_pack_at(tsd->tab_pager, tab_page, elm_spinner_value_get(tsd->spinner));
307 efl_ui_range_min_max_set(tsd->spinner, 0, efl_content_count(tsd->tab_pager) - 1); 307 efl_ui_range_limits_set(tsd->spinner, 0, efl_content_count(tsd->tab_pager) - 1);
308} 308}
309 309
310static void 310static void
@@ -363,7 +363,7 @@ _pack_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
363 efl_pack_end(box, efl_added)); 363 efl_pack_end(box, efl_added));
364 364
365 sp = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box, 365 sp = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box,
366 efl_ui_range_min_max_set(efl_added, 0, efl_content_count(tab_pager) - 1), 366 efl_ui_range_limits_set(efl_added, 0, efl_content_count(tab_pager) - 1),
367 efl_ui_range_value_set(efl_added, efl_ui_active_view_active_index_get(tab_pager)), 367 efl_ui_range_value_set(efl_added, efl_ui_active_view_active_index_get(tab_pager)),
368 efl_pack_end(in_box, efl_added)); 368 efl_pack_end(in_box, efl_added));
369 369
@@ -408,7 +408,7 @@ _unpack_at_btn_cb(void *data, const Efl_Event *ev EINA_UNUSED)
408 Tab_Set_Data *tsd = data; 408 Tab_Set_Data *tsd = data;
409 409
410 efl_pack_unpack_at(tsd->tab_pager, elm_spinner_value_get(tsd->spinner)); 410 efl_pack_unpack_at(tsd->tab_pager, elm_spinner_value_get(tsd->spinner));
411 efl_ui_range_min_max_set(tsd->spinner, 0, efl_content_count(tsd->tab_pager) - 1); 411 efl_ui_range_limits_set(tsd->spinner, 0, efl_content_count(tsd->tab_pager) - 1);
412} 412}
413 413
414static void 414static void
@@ -463,7 +463,7 @@ _unpack_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
463 efl_pack_end(box, efl_added)); 463 efl_pack_end(box, efl_added));
464 464
465 sp = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box, 465 sp = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box,
466 efl_ui_range_min_max_set(efl_added, 0, efl_content_count(tab_pager) - 1), 466 efl_ui_range_limits_set(efl_added, 0, efl_content_count(tab_pager) - 1),
467 efl_ui_range_value_set(efl_added, efl_ui_active_view_active_index_get(tab_pager)), 467 efl_ui_range_value_set(efl_added, efl_ui_active_view_active_index_get(tab_pager)),
468 efl_pack_end(in_box, efl_added)); 468 efl_pack_end(in_box, efl_added));
469 469