summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_ui_pager_scroll.c
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2019-07-29 11:42:34 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-07-29 11:43:01 +0200
commit77e268e6aba2d07b9d4b06c83515041775210c27 (patch)
treef50da1eada65a948147a62ede0cc815e66105784 /src/bin/elementary/test_ui_pager_scroll.c
parent9b294d6284fbda62dde20bcb31732a1c63a65962 (diff)
efl_input_clickable: rename efl_ui_clickable to efl_input_clickable
Summary: Renamed all efl_ui_clickable_XXX to efl_input_clickable_XXX based on the discussion in T7847 ref T7847 T7976 Reviewers: zmike, bu5hm4n, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7976, T7847 Differential Revision: https://phab.enlightenment.org/D9427
Diffstat (limited to 'src/bin/elementary/test_ui_pager_scroll.c')
-rw-r--r--src/bin/elementary/test_ui_pager_scroll.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/bin/elementary/test_ui_pager_scroll.c b/src/bin/elementary/test_ui_pager_scroll.c
index 6e6c7d1..a7e564a 100644
--- a/src/bin/elementary/test_ui_pager_scroll.c
+++ b/src/bin/elementary/test_ui_pager_scroll.c
@@ -391,7 +391,7 @@ static void page_size_cb(void *data,
391 391
392 btn = efl_add(EFL_UI_BUTTON_CLASS, navi, 392 btn = efl_add(EFL_UI_BUTTON_CLASS, navi,
393 efl_text_set(efl_added, "Back"), 393 efl_text_set(efl_added, "Back"),
394 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 394 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
395 back_btn_cb, navi)); 395 back_btn_cb, navi));
396 396
397 box = efl_add(EFL_UI_BOX_CLASS, navi, 397 box = efl_add(EFL_UI_BOX_CLASS, navi,
@@ -491,7 +491,7 @@ static void padding_cb(void *data,
491 491
492 btn = efl_add(EFL_UI_BUTTON_CLASS, navi, 492 btn = efl_add(EFL_UI_BUTTON_CLASS, navi,
493 efl_text_set(efl_added, "Back"), 493 efl_text_set(efl_added, "Back"),
494 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 494 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
495 back_btn_cb, navi)); 495 back_btn_cb, navi));
496 496
497 box = efl_add(EFL_UI_BOX_CLASS, navi, 497 box = efl_add(EFL_UI_BOX_CLASS, navi,
@@ -518,7 +518,7 @@ static void side_page_num_cb(void *data,
518 518
519 btn = efl_add(EFL_UI_BUTTON_CLASS, navi, 519 btn = efl_add(EFL_UI_BUTTON_CLASS, navi,
520 efl_text_set(efl_added, "Back"), 520 efl_text_set(efl_added, "Back"),
521 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 521 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
522 back_btn_cb, navi)); 522 back_btn_cb, navi));
523 523
524 box = efl_add(EFL_UI_BOX_CLASS, navi, 524 box = efl_add(EFL_UI_BOX_CLASS, navi,
@@ -551,7 +551,7 @@ static void pack_cb(void *data,
551 551
552 btn = efl_add(EFL_UI_BUTTON_CLASS, navi, 552 btn = efl_add(EFL_UI_BUTTON_CLASS, navi,
553 efl_text_set(efl_added, "Back"), 553 efl_text_set(efl_added, "Back"),
554 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 554 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
555 back_btn_cb, navi)); 555 back_btn_cb, navi));
556 556
557 box = efl_add(EFL_UI_BOX_CLASS, navi, 557 box = efl_add(EFL_UI_BOX_CLASS, navi,
@@ -590,7 +590,7 @@ static void pack_cb(void *data,
590 590
591 efl_add(EFL_UI_BUTTON_CLASS, box, 591 efl_add(EFL_UI_BUTTON_CLASS, box,
592 efl_text_set(efl_added, "Pack Begin"), 592 efl_text_set(efl_added, "Pack Begin"),
593 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 593 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
594 pack_btn_cb, pack_param), 594 pack_btn_cb, pack_param),
595 efl_event_callback_add(efl_added, EFL_EVENT_DEL, 595 efl_event_callback_add(efl_added, EFL_EVENT_DEL,
596 pack_btn_del_cb, pack_param), 596 pack_btn_del_cb, pack_param),
@@ -608,7 +608,7 @@ static void pack_cb(void *data,
608 608
609 efl_add(EFL_UI_BUTTON_CLASS, box, 609 efl_add(EFL_UI_BUTTON_CLASS, box,
610 efl_text_set(efl_added, "Pack End"), 610 efl_text_set(efl_added, "Pack End"),
611 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 611 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
612 pack_btn_cb, pack_param), 612 pack_btn_cb, pack_param),
613 efl_event_callback_add(efl_added, EFL_EVENT_DEL, 613 efl_event_callback_add(efl_added, EFL_EVENT_DEL,
614 pack_btn_del_cb, pack_param), 614 pack_btn_del_cb, pack_param),
@@ -626,7 +626,7 @@ static void pack_cb(void *data,
626 626
627 efl_add(EFL_UI_BUTTON_CLASS, box, 627 efl_add(EFL_UI_BUTTON_CLASS, box,
628 efl_text_set(efl_added, "Pack Before Current Page"), 628 efl_text_set(efl_added, "Pack Before Current Page"),
629 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 629 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
630 pack_btn_cb, pack_param), 630 pack_btn_cb, pack_param),
631 efl_event_callback_add(efl_added, EFL_EVENT_DEL, 631 efl_event_callback_add(efl_added, EFL_EVENT_DEL,
632 pack_btn_del_cb, pack_param), 632 pack_btn_del_cb, pack_param),
@@ -644,7 +644,7 @@ static void pack_cb(void *data,
644 644
645 efl_add(EFL_UI_BUTTON_CLASS, box, 645 efl_add(EFL_UI_BUTTON_CLASS, box,
646 efl_text_set(efl_added, "Pack After Current Page"), 646 efl_text_set(efl_added, "Pack After Current Page"),
647 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 647 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
648 pack_btn_cb, pack_param), 648 pack_btn_cb, pack_param),
649 efl_event_callback_add(efl_added, EFL_EVENT_DEL, 649 efl_event_callback_add(efl_added, EFL_EVENT_DEL,
650 pack_btn_del_cb, pack_param), 650 pack_btn_del_cb, pack_param),
@@ -662,7 +662,7 @@ static void pack_cb(void *data,
662 662
663 efl_add(EFL_UI_BUTTON_CLASS, in_box1, 663 efl_add(EFL_UI_BUTTON_CLASS, in_box1,
664 efl_text_set(efl_added, "Pack At"), 664 efl_text_set(efl_added, "Pack At"),
665 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 665 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
666 pack_btn_cb, pack_param), 666 pack_btn_cb, pack_param),
667 efl_event_callback_add(efl_added, EFL_EVENT_DEL, 667 efl_event_callback_add(efl_added, EFL_EVENT_DEL,
668 pack_btn_del_cb, pack_param), 668 pack_btn_del_cb, pack_param),
@@ -681,7 +681,7 @@ static void pack_cb(void *data,
681 pack_param->unpack_btn = btn; 681 pack_param->unpack_btn = btn;
682 pack_param->type = UNPACK_AT; 682 pack_param->type = UNPACK_AT;
683 683
684 efl_event_callback_add(btn, EFL_UI_EVENT_CLICKED, 684 efl_event_callback_add(btn, EFL_INPUT_EVENT_CLICKED,
685 pack_btn_cb, pack_param); 685 pack_btn_cb, pack_param);
686 efl_event_callback_add(btn, EFL_EVENT_DEL, 686 efl_event_callback_add(btn, EFL_EVENT_DEL,
687 pack_btn_del_cb, pack_param); 687 pack_btn_del_cb, pack_param);
@@ -715,7 +715,7 @@ static void pack_cb(void *data,
715 715
716 efl_add(EFL_UI_BUTTON_CLASS, box, 716 efl_add(EFL_UI_BUTTON_CLASS, box,
717 efl_text_set(efl_added, "Clear"), 717 efl_text_set(efl_added, "Clear"),
718 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 718 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
719 pack_btn_cb, pack_param), 719 pack_btn_cb, pack_param),
720 efl_event_callback_add(efl_added, EFL_EVENT_DEL, 720 efl_event_callback_add(efl_added, EFL_EVENT_DEL,
721 pack_btn_del_cb, pack_param), 721 pack_btn_del_cb, pack_param),
@@ -735,7 +735,7 @@ static void current_page_cb(void *data,
735 735
736 btn = efl_add(EFL_UI_BUTTON_CLASS, navi, 736 btn = efl_add(EFL_UI_BUTTON_CLASS, navi,
737 efl_text_set(efl_added, "Back"), 737 efl_text_set(efl_added, "Back"),
738 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 738 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
739 back_btn_cb, navi)); 739 back_btn_cb, navi));
740 740
741 box = efl_add(EFL_UI_BOX_CLASS, navi, 741 box = efl_add(EFL_UI_BOX_CLASS, navi,
@@ -767,7 +767,7 @@ static void current_page_cb(void *data,
767 psp->pager = pager; 767 psp->pager = pager;
768 psp->spinner = sp; 768 psp->spinner = sp;
769 769
770 efl_event_callback_add(btn, EFL_UI_EVENT_CLICKED, page_set_btn_cb, psp); 770 efl_event_callback_add(btn, EFL_INPUT_EVENT_CLICKED, page_set_btn_cb, psp);
771 efl_event_callback_add(btn, EFL_EVENT_DEL, page_set_btn_del_cb, psp); 771 efl_event_callback_add(btn, EFL_EVENT_DEL, page_set_btn_del_cb, psp);
772} 772}
773 773
@@ -783,7 +783,7 @@ static void scroll_block_cb(void *data,
783 783
784 btn = efl_add(EFL_UI_BUTTON_CLASS, navi, 784 btn = efl_add(EFL_UI_BUTTON_CLASS, navi,
785 efl_text_set(efl_added, "Back"), 785 efl_text_set(efl_added, "Back"),
786 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 786 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
787 back_btn_cb, navi)); 787 back_btn_cb, navi));
788 788
789 box = efl_add(EFL_UI_BOX_CLASS, navi, 789 box = efl_add(EFL_UI_BOX_CLASS, navi,
@@ -822,7 +822,7 @@ static void loop_cb(void *data EINA_UNUSED,
822 822
823 btn = efl_add(EFL_UI_BUTTON_CLASS, navi, 823 btn = efl_add(EFL_UI_BUTTON_CLASS, navi,
824 efl_text_set(efl_added, "Back"), 824 efl_text_set(efl_added, "Back"),
825 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 825 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
826 back_btn_cb, navi)); 826 back_btn_cb, navi));
827 827
828 box = efl_add(EFL_UI_RADIO_BOX_CLASS, navi, 828 box = efl_add(EFL_UI_RADIO_BOX_CLASS, navi,
@@ -870,7 +870,7 @@ static void indicator_cb(void *data EINA_UNUSED,
870 870
871 btn = efl_add(EFL_UI_BUTTON_CLASS, navi, 871 btn = efl_add(EFL_UI_BUTTON_CLASS, navi,
872 efl_text_set(efl_added, "Back"), 872 efl_text_set(efl_added, "Back"),
873 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 873 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
874 back_btn_cb, navi)); 874 back_btn_cb, navi));
875 875
876 box = efl_add(EFL_UI_BOX_CLASS, navi, 876 box = efl_add(EFL_UI_BOX_CLASS, navi,
@@ -880,13 +880,13 @@ static void indicator_cb(void *data EINA_UNUSED,
880 880
881 efl_add(EFL_UI_BUTTON_CLASS, box, 881 efl_add(EFL_UI_BUTTON_CLASS, box,
882 efl_text_set(efl_added, "Icon Type"), 882 efl_text_set(efl_added, "Icon Type"),
883 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 883 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
884 indicator_icon_btn_cb, params), 884 indicator_icon_btn_cb, params),
885 efl_pack_end(box, efl_added)); 885 efl_pack_end(box, efl_added));
886 886
887 efl_add(EFL_UI_BUTTON_CLASS, box, 887 efl_add(EFL_UI_BUTTON_CLASS, box,
888 efl_text_set(efl_added, "None"), 888 efl_text_set(efl_added, "None"),
889 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 889 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED,
890 indicator_none_btn_cb, params), 890 indicator_none_btn_cb, params),
891 efl_pack_end(box, efl_added)); 891 efl_pack_end(box, efl_added));
892} 892}
@@ -936,13 +936,13 @@ void test_ui_pager_scroll(void *data EINA_UNUSED,
936 efl_add(EFL_UI_BUTTON_CLASS, layout, 936 efl_add(EFL_UI_BUTTON_CLASS, layout,
937 efl_text_set(efl_added, "Prev"), 937 efl_text_set(efl_added, "Prev"),
938 efl_event_callback_add(efl_added, 938 efl_event_callback_add(efl_added,
939 EFL_UI_EVENT_CLICKED, prev_btn_cb, pager), 939 EFL_INPUT_EVENT_CLICKED, prev_btn_cb, pager),
940 efl_content_set(efl_part(layout, "prev_btn"), efl_added)); 940 efl_content_set(efl_part(layout, "prev_btn"), efl_added));
941 941
942 efl_add(EFL_UI_BUTTON_CLASS, layout, 942 efl_add(EFL_UI_BUTTON_CLASS, layout,
943 efl_text_set(efl_added, "Next"), 943 efl_text_set(efl_added, "Next"),
944 efl_event_callback_add(efl_added, 944 efl_event_callback_add(efl_added,
945 EFL_UI_EVENT_CLICKED, next_btn_cb, pager), 945 EFL_INPUT_EVENT_CLICKED, next_btn_cb, pager),
946 efl_content_set(efl_part(layout, "next_btn"), efl_added)); 946 efl_content_set(efl_part(layout, "next_btn"), efl_added));
947 947
948 tran = efl_add(EFL_PAGE_TRANSITION_SCROLL_CLASS, pager, 948 tran = efl_add(EFL_PAGE_TRANSITION_SCROLL_CLASS, pager,