summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Alzyod <ali198724@gmail.com>2019-12-30 10:31:32 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2019-12-30 10:31:33 +0900
commit895f64f33c2156ae3ff687bcb1621b5bef2bb194 (patch)
treeb5828e2875f6c0ba2b90fb348177a6bed0a4a9c9
parentd8b2cf28b167acddf2edef63c6f896a1928d8b1c (diff)
efl_ui_textbox: replace legacy calls with new ones
Summary: This patch only changes some of legacy calls, with new ones Reviewers: woohyun, zmike, bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8522 Differential Revision: https://phab.enlightenment.org/D10982
-rw-r--r--src/lib/elementary/efl_ui_textbox.c94
1 files changed, 47 insertions, 47 deletions
diff --git a/src/lib/elementary/efl_ui_textbox.c b/src/lib/elementary/efl_ui_textbox.c
index e96842dba7..6d91f21519 100644
--- a/src/lib/elementary/efl_ui_textbox.c
+++ b/src/lib/elementary/efl_ui_textbox.c
@@ -353,9 +353,9 @@ _efl_ui_textbox_guide_update(Evas_Object *obj,
353 EFL_UI_TEXT_DATA_GET(obj, sd); 353 EFL_UI_TEXT_DATA_GET(obj, sd);
354 354
355 if ((has_text) && (!sd->has_text)) 355 if ((has_text) && (!sd->has_text))
356 edje_object_signal_emit(sd->entry_edje, "efl,guide,disabled", "efl"); 356 efl_layout_signal_emit(sd->entry_edje, "efl,guide,disabled", "efl");
357 else if ((!has_text) && (sd->has_text)) 357 else if ((!has_text) && (sd->has_text))
358 edje_object_signal_emit(sd->entry_edje, "efl,guide,enabled", "efl"); 358 efl_layout_signal_emit(sd->entry_edje, "efl,guide,enabled", "efl");
359 359
360 sd->has_text = has_text; 360 sd->has_text = has_text;
361} 361}
@@ -390,7 +390,7 @@ _mirrored_set(Evas_Object *obj,
390{ 390{
391 EFL_UI_TEXT_DATA_GET(obj, sd); 391 EFL_UI_TEXT_DATA_GET(obj, sd);
392 392
393 edje_object_mirrored_set(sd->entry_edje, rtl); 393 efl_ui_mirrored_set(sd->entry_edje, rtl);
394 394
395 if (sd->anchor_hover.hover) 395 if (sd->anchor_hover.hover)
396 efl_ui_mirrored_set(sd->anchor_hover.hover, rtl); 396 efl_ui_mirrored_set(sd->anchor_hover.hover, rtl);
@@ -405,12 +405,12 @@ _hide_selection_handler(Evas_Object *obj)
405 405
406 if (sd->start_handler_shown) 406 if (sd->start_handler_shown)
407 { 407 {
408 edje_object_signal_emit(sd->start_handler, "efl,handler,hide", "efl"); 408 efl_layout_signal_emit(sd->start_handler, "efl,handler,hide", "efl");
409 sd->start_handler_shown = EINA_FALSE; 409 sd->start_handler_shown = EINA_FALSE;
410 } 410 }
411 if (sd->end_handler_shown) 411 if (sd->end_handler_shown)
412 { 412 {
413 edje_object_signal_emit(sd->end_handler, "efl,handler,hide", "efl"); 413 efl_layout_signal_emit(sd->end_handler, "efl,handler,hide", "efl");
414 sd->end_handler_shown = EINA_FALSE; 414 sd->end_handler_shown = EINA_FALSE;
415 } 415 }
416} 416}
@@ -431,7 +431,7 @@ _viewport_region_get(Evas_Object *obj)
431 rect = efl_gfx_entity_geometry_get(sd->text_obj); 431 rect = efl_gfx_entity_geometry_get(sd->text_obj);
432 } 432 }
433 433
434 parent = elm_widget_parent_get(obj); 434 parent = efl_ui_widget_parent_get(obj);
435 while (parent) 435 while (parent)
436 { 436 {
437 if (efl_isa(parent, ELM_INTERFACE_SCROLLABLE_MIXIN)) 437 if (efl_isa(parent, ELM_INTERFACE_SCROLLABLE_MIXIN))
@@ -445,7 +445,7 @@ _viewport_region_get(Evas_Object *obj)
445 break; 445 break;
446 } 446 }
447 } 447 }
448 parent = elm_widget_parent_get(parent); 448 parent = efl_ui_widget_parent_get(parent);
449 } 449 }
450 450
451 return rect; 451 return rect;
@@ -500,13 +500,13 @@ _update_selection_handler(Eo *obj)
500 } 500 }
501 if (!sd->start_handler_shown && !hidden) 501 if (!sd->start_handler_shown && !hidden)
502 { 502 {
503 edje_object_signal_emit(sd->start_handler, 503 efl_layout_signal_emit(sd->start_handler,
504 "efl,handler,show", "efl"); 504 "efl,handler,show", "efl");
505 sd->start_handler_shown = EINA_TRUE; 505 sd->start_handler_shown = EINA_TRUE;
506 } 506 }
507 else if (sd->start_handler_shown && hidden) 507 else if (sd->start_handler_shown && hidden)
508 { 508 {
509 edje_object_signal_emit(sd->start_handler, 509 efl_layout_signal_emit(sd->start_handler,
510 "efl,handler,hide", "efl"); 510 "efl,handler,hide", "efl");
511 sd->start_handler_shown = EINA_FALSE; 511 sd->start_handler_shown = EINA_FALSE;
512 } 512 }
@@ -528,13 +528,13 @@ _update_selection_handler(Eo *obj)
528 } 528 }
529 if (!sd->end_handler_shown && !hidden) 529 if (!sd->end_handler_shown && !hidden)
530 { 530 {
531 edje_object_signal_emit(sd->end_handler, 531 efl_layout_signal_emit(sd->end_handler,
532 "efl,handler,show", "efl"); 532 "efl,handler,show", "efl");
533 sd->end_handler_shown = EINA_TRUE; 533 sd->end_handler_shown = EINA_TRUE;
534 } 534 }
535 else if (sd->end_handler_shown && hidden) 535 else if (sd->end_handler_shown && hidden)
536 { 536 {
537 edje_object_signal_emit(sd->end_handler, 537 efl_layout_signal_emit(sd->end_handler,
538 "efl,handler,hide", "efl"); 538 "efl,handler,hide", "efl");
539 sd->end_handler_shown = EINA_FALSE; 539 sd->end_handler_shown = EINA_FALSE;
540 } 540 }
@@ -543,13 +543,13 @@ _update_selection_handler(Eo *obj)
543 { 543 {
544 if (sd->start_handler_shown) 544 if (sd->start_handler_shown)
545 { 545 {
546 edje_object_signal_emit(sd->start_handler, 546 efl_layout_signal_emit(sd->start_handler,
547 "efl,handler,hide", "efl"); 547 "efl,handler,hide", "efl");
548 sd->start_handler_shown = EINA_FALSE; 548 sd->start_handler_shown = EINA_FALSE;
549 } 549 }
550 if (sd->end_handler_shown) 550 if (sd->end_handler_shown)
551 { 551 {
552 edje_object_signal_emit(sd->end_handler, 552 efl_layout_signal_emit(sd->end_handler,
553 "efl,handler,hide", "efl"); 553 "efl,handler,hide", "efl");
554 sd->end_handler_shown = EINA_FALSE; 554 sd->end_handler_shown = EINA_FALSE;
555 } 555 }
@@ -671,10 +671,10 @@ _efl_ui_textbox_efl_ui_widget_disabled_set(Eo *obj, Efl_Ui_Textbox_Data *sd, Ein
671 _dnd_drop_cb, NULL); 671 _dnd_drop_cb, NULL);
672 672
673 emission = efl_ui_widget_disabled_get(obj) ? "efl,state,disabled" : "efl,state,enabled"; 673 emission = efl_ui_widget_disabled_get(obj) ? "efl,state,disabled" : "efl,state,enabled";
674 edje_object_signal_emit(sd->entry_edje, emission, "efl"); 674 efl_layout_signal_emit(sd->entry_edje, emission, "efl");
675 if (sd->scroll) 675 if (sd->scroll)
676 { 676 {
677 edje_object_signal_emit(sd->scr_edje, emission, "efl"); 677 efl_layout_signal_emit(sd->scr_edje, emission, "efl");
678 elm_interface_scrollable_freeze_set(obj, efl_ui_widget_disabled_get(obj)); 678 elm_interface_scrollable_freeze_set(obj, efl_ui_widget_disabled_get(obj));
679 } 679 }
680 680
@@ -709,7 +709,7 @@ _efl_ui_textbox_efl_ui_widget_theme_apply(Eo *obj, Efl_Ui_Textbox_Data *sd)
709 edje_object_mirrored_set 709 edje_object_mirrored_set
710 (wd->resize_obj, efl_ui_mirrored_get(obj)); 710 (wd->resize_obj, efl_ui_mirrored_get(obj));
711 711
712 edje_object_scale_set 712 efl_gfx_entity_scale_set
713 (wd->resize_obj, 713 (wd->resize_obj,
714 efl_gfx_entity_scale_get(obj) * elm_config_scale_get()); 714 efl_gfx_entity_scale_get(obj) * elm_config_scale_get());
715 715
@@ -725,15 +725,15 @@ _efl_ui_textbox_efl_ui_widget_theme_apply(Eo *obj, Efl_Ui_Textbox_Data *sd)
725 725
726 if (efl_ui_focus_object_focus_get(obj)) 726 if (efl_ui_focus_object_focus_get(obj))
727 { 727 {
728 edje_object_signal_emit(sd->entry_edje, "efl,action,focus", "efl"); 728 efl_layout_signal_emit(sd->entry_edje, "efl,action,focus", "efl");
729 if (sd->scroll) 729 if (sd->scroll)
730 edje_object_signal_emit(sd->scr_edje, "efl,action,focus", "efl"); 730 efl_layout_signal_emit(sd->scr_edje, "efl,action,focus", "efl");
731 } 731 }
732 732
733 edje_object_message_signal_process(sd->entry_edje); 733 efl_layout_signal_process(sd->entry_edje, EINA_FALSE);
734 734
735 Evas_Object* clip = evas_object_clip_get(sd->entry_edje); 735 Evas_Object* clip = evas_object_clip_get(sd->entry_edje);
736 evas_object_clip_set(sd->hit_rect, clip); 736 efl_canvas_object_clipper_set(sd->hit_rect, clip);
737 737
738 if (sd->start_handler) 738 if (sd->start_handler)
739 { 739 {
@@ -880,7 +880,7 @@ _efl_ui_textbox_efl_ui_focus_object_on_focus_update(Eo *obj, Efl_Ui_Textbox_Data
880 880
881 _edje_signal_emit(sd, "efl,action,focus", "efl"); 881 _edje_signal_emit(sd, "efl,action,focus", "efl");
882 if (sd->scroll) 882 if (sd->scroll)
883 edje_object_signal_emit(sd->scr_edje, "efl,action,focus", "efl"); 883 efl_layout_signal_emit(sd->scr_edje, "efl,action,focus", "efl");
884 884
885 if (top && top_is_win && efl_input_text_input_panel_autoshow_get(obj) && !efl_input_text_input_panel_show_on_demand_get(obj)) 885 if (top && top_is_win && efl_input_text_input_panel_autoshow_get(obj) && !efl_input_text_input_panel_show_on_demand_get(obj))
886 elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_ON); 886 elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_ON);
@@ -893,7 +893,7 @@ _efl_ui_textbox_efl_ui_focus_object_on_focus_update(Eo *obj, Efl_Ui_Textbox_Data
893 893
894 _edje_signal_emit(sd, "efl,action,unfocus", "efl"); 894 _edje_signal_emit(sd, "efl,action,unfocus", "efl");
895 if (sd->scroll) 895 if (sd->scroll)
896 edje_object_signal_emit(sd->scr_edje, "efl,action,unfocus", "efl"); 896 efl_layout_signal_emit(sd->scr_edje, "efl,action,unfocus", "efl");
897 evas_object_focus_set(sw, EINA_FALSE); 897 evas_object_focus_set(sw, EINA_FALSE);
898 898
899 if (top && top_is_win && efl_input_text_input_panel_autoshow_get(obj)) 899 if (top && top_is_win && efl_input_text_input_panel_autoshow_get(obj))
@@ -906,13 +906,13 @@ _efl_ui_textbox_efl_ui_focus_object_on_focus_update(Eo *obj, Efl_Ui_Textbox_Data
906 if ((efl_text_interactive_have_selection_get(obj)) && (!sd->hoversel)) 906 if ((efl_text_interactive_have_selection_get(obj)) && (!sd->hoversel))
907 { 907 {
908 sd->sel_mode = EINA_FALSE; 908 sd->sel_mode = EINA_FALSE;
909 elm_widget_scroll_hold_pop(obj); 909 efl_ui_widget_scroll_hold_pop(obj);
910 edje_object_part_text_select_allow_set(sd->entry_edje, "efl.text", EINA_FALSE); 910 edje_object_part_text_select_allow_set(sd->entry_edje, "efl.text", EINA_FALSE);
911 edje_object_signal_emit(sd->entry_edje, "efl,state,select,off", "efl"); 911 efl_layout_signal_emit(sd->entry_edje, "efl,state,select,off", "efl");
912 edje_object_part_text_select_none(sd->entry_edje, "efl.text"); 912 edje_object_part_text_select_none(sd->entry_edje, "efl.text");
913 } 913 }
914 } 914 }
915 edje_object_signal_emit(sd->scr_edje, "validation,default", "efl"); 915 efl_layout_signal_emit(sd->scr_edje, "validation,default", "efl");
916 } 916 }
917 917
918 return EINA_TRUE; 918 return EINA_TRUE;
@@ -998,7 +998,7 @@ _hover_dismissed_cb(void *data, const Efl_Event *event EINA_UNUSED)
998 (sd->entry_edje, "efl.text", EINA_TRUE); 998 (sd->entry_edje, "efl.text", EINA_TRUE);
999 } 999 }
1000 } 1000 }
1001 elm_widget_scroll_freeze_pop(data); 1001 efl_ui_widget_scroll_freeze_pop(data);
1002 ecore_job_del(sd->hov_deljob); 1002 ecore_job_del(sd->hov_deljob);
1003 sd->hov_deljob = ecore_job_add(_hover_del_job, data); 1003 sd->hov_deljob = ecore_job_add(_hover_del_job, data);
1004} 1004}
@@ -1021,10 +1021,10 @@ _hover_selected_cb(void *data,
1021 edje_object_part_text_select_allow_set 1021 edje_object_part_text_select_allow_set
1022 (sd->entry_edje, "efl.text", EINA_TRUE); 1022 (sd->entry_edje, "efl.text", EINA_TRUE);
1023 } 1023 }
1024 edje_object_signal_emit(sd->entry_edje, "efl,state,select,on", "efl"); 1024 efl_layout_signal_emit(sd->entry_edje, "efl,state,select,on", "efl");
1025 1025
1026 if (!_elm_config->desktop_entry) 1026 if (!_elm_config->desktop_entry)
1027 elm_widget_scroll_hold_push(data); 1027 efl_ui_widget_scroll_hold_push(data);
1028} 1028}
1029 1029
1030static void 1030static void
@@ -1142,9 +1142,9 @@ _hover_cancel_cb(void *data,
1142 if (!_elm_config->desktop_entry) 1142 if (!_elm_config->desktop_entry)
1143 edje_object_part_text_select_allow_set 1143 edje_object_part_text_select_allow_set
1144 (sd->entry_edje, "efl.text", EINA_FALSE); 1144 (sd->entry_edje, "efl.text", EINA_FALSE);
1145 edje_object_signal_emit(sd->entry_edje, "efl,state,select,off", "efl"); 1145 efl_layout_signal_emit(sd->entry_edje, "efl,state,select,off", "efl");
1146 if (!_elm_config->desktop_entry) 1146 if (!_elm_config->desktop_entry)
1147 elm_widget_scroll_hold_pop(data); 1147 efl_ui_widget_scroll_hold_pop(data);
1148 edje_object_part_text_select_none(sd->entry_edje, "efl.text"); 1148 edje_object_part_text_select_none(sd->entry_edje, "efl.text");
1149} 1149}
1150 1150
@@ -1190,10 +1190,10 @@ _menu_call(Evas_Object *obj)
1190 return; 1190 return;
1191 } 1191 }
1192 if (sd->hoversel) evas_object_del(sd->hoversel); 1192 if (sd->hoversel) evas_object_del(sd->hoversel);
1193 else elm_widget_scroll_freeze_push(obj); 1193 else efl_ui_widget_scroll_freeze_push(obj);
1194 1194
1195 sd->hoversel = elm_hoversel_add(obj); 1195 sd->hoversel = elm_hoversel_add(obj);
1196 context_menu_orientation = edje_object_data_get 1196 context_menu_orientation = efl_layout_group_data_get
1197 (sd->entry_edje, "context_menu_orientation"); 1197 (sd->entry_edje, "context_menu_orientation");
1198 1198
1199 if ((context_menu_orientation) && 1199 if ((context_menu_orientation) &&
@@ -1201,7 +1201,7 @@ _menu_call(Evas_Object *obj)
1201 elm_hoversel_horizontal_set(sd->hoversel, EINA_TRUE); 1201 elm_hoversel_horizontal_set(sd->hoversel, EINA_TRUE);
1202 1202
1203 elm_object_style_set(sd->hoversel, "entry"); 1203 elm_object_style_set(sd->hoversel, "entry");
1204 elm_widget_sub_object_add(obj, sd->hoversel); 1204 efl_ui_widget_sub_object_add(obj, sd->hoversel);
1205 elm_object_text_set(sd->hoversel, "Text"); 1205 elm_object_text_set(sd->hoversel, "Text");
1206 top = elm_widget_top_get(obj); 1206 top = elm_widget_top_get(obj);
1207 1207
@@ -2294,10 +2294,10 @@ _efl_ui_textbox_selection_cut(Eo *obj, Efl_Ui_Textbox_Data *sd)
2294 if (!_elm_config->desktop_entry) 2294 if (!_elm_config->desktop_entry)
2295 edje_object_part_text_select_allow_set 2295 edje_object_part_text_select_allow_set
2296 (sd->entry_edje, "efl.text", EINA_FALSE); 2296 (sd->entry_edje, "efl.text", EINA_FALSE);
2297 edje_object_signal_emit(sd->entry_edje, "efl,state,select,off", "efl"); 2297 efl_layout_signal_emit(sd->entry_edje, "efl,state,select,off", "efl");
2298 2298
2299 if (!_elm_config->desktop_entry) 2299 if (!_elm_config->desktop_entry)
2300 elm_widget_scroll_hold_pop(obj); 2300 efl_ui_widget_scroll_hold_pop(obj);
2301 2301
2302 /*In password mode, cut will remove text only*/ 2302 /*In password mode, cut will remove text only*/
2303 if (!efl_text_password_get(obj)) 2303 if (!efl_text_password_get(obj))
@@ -2330,8 +2330,8 @@ _efl_ui_textbox_selection_copy(Eo *obj, Efl_Ui_Textbox_Data *sd)
2330 { 2330 {
2331 edje_object_part_text_select_allow_set 2331 edje_object_part_text_select_allow_set
2332 (sd->entry_edje, "efl.text", EINA_FALSE); 2332 (sd->entry_edje, "efl.text", EINA_FALSE);
2333 edje_object_signal_emit(sd->entry_edje, "efl,state,select,off", "efl"); 2333 efl_layout_signal_emit(sd->entry_edje, "efl,state,select,off", "efl");
2334 elm_widget_scroll_hold_pop(obj); 2334 efl_ui_widget_scroll_hold_pop(obj);
2335 } 2335 }
2336 _selection_store(EFL_UI_SELECTION_TYPE_CLIPBOARD, obj); 2336 _selection_store(EFL_UI_SELECTION_TYPE_CLIPBOARD, obj);
2337 efl_event_callback_call(obj, EFL_UI_TEXTBOX_EVENT_SELECTION_COPY, NULL); 2337 efl_event_callback_call(obj, EFL_UI_TEXTBOX_EVENT_SELECTION_COPY, NULL);
@@ -2438,13 +2438,13 @@ _efl_ui_textbox_scrollable_set(Eo *obj EINA_UNUSED, Efl_Ui_Textbox_Data *sd, Ein
2438 2438
2439 if (scroll) 2439 if (scroll)
2440 { 2440 {
2441 edje_object_part_swallow(sd->entry_edje, "efl.text", NULL); 2441 efl_content_set(efl_part(sd->entry_edje, "efl.text"), NULL);
2442 sd->scroller = efl_add(EFL_UI_INTERNAL_TEXT_SCROLLER_CLASS, obj, 2442 sd->scroller = efl_add(EFL_UI_INTERNAL_TEXT_SCROLLER_CLASS, obj,
2443 efl_ui_internal_text_scroller_initialize(efl_added, 2443 efl_ui_internal_text_scroller_initialize(efl_added,
2444 sd->text_obj, sd->text_table)); 2444 sd->text_obj, sd->text_table));
2445 efl_ui_scrollbar_bar_mode_set(sd->scroller, EFL_UI_SCROLLBAR_MODE_AUTO, EFL_UI_SCROLLBAR_MODE_AUTO); 2445 efl_ui_scrollbar_bar_mode_set(sd->scroller, EFL_UI_SCROLLBAR_MODE_AUTO, EFL_UI_SCROLLBAR_MODE_AUTO);
2446 edje_object_part_swallow(sd->entry_edje, "efl.text", sd->scroller); 2446 efl_content_set(efl_part(sd->entry_edje, "efl.text"), sd->scroller);
2447 evas_object_clip_set(sd->cursor, 2447 efl_canvas_object_clipper_set(sd->cursor,
2448 efl_ui_internal_text_scroller_viewport_clip_get(sd->scroller)); 2448 efl_ui_internal_text_scroller_viewport_clip_get(sd->scroller));
2449 efl_event_callback_add(sd->scroller, EFL_GFX_ENTITY_EVENT_SIZE_CHANGED, 2449 efl_event_callback_add(sd->scroller, EFL_GFX_ENTITY_EVENT_SIZE_CHANGED,
2450 _scroller_size_changed_cb, obj); 2450 _scroller_size_changed_cb, obj);
@@ -2455,7 +2455,7 @@ _efl_ui_textbox_scrollable_set(Eo *obj EINA_UNUSED, Efl_Ui_Textbox_Data *sd, Ein
2455 * instead of efl_content_set(sd->scroller, NULL) 2455 * instead of efl_content_set(sd->scroller, NULL)
2456 */ 2456 */
2457 efl_content_unset(sd->scroller); 2457 efl_content_unset(sd->scroller);
2458 edje_object_part_swallow(sd->entry_edje, "efl.text", sd->text_table); 2458 efl_content_set(efl_part(sd->entry_edje, "efl.text"), sd->text_table);
2459 efl_del(sd->scroller); 2459 efl_del(sd->scroller);
2460 sd->scroller = NULL; 2460 sd->scroller = NULL;
2461 } 2461 }
@@ -2475,7 +2475,7 @@ _efl_ui_textbox_efl_ui_widget_on_access_activate(Eo *obj, Efl_Ui_Textbox_Data *_
2475 2475
2476 EFL_UI_TEXT_DATA_GET(obj, sd); 2476 EFL_UI_TEXT_DATA_GET(obj, sd);
2477 2477
2478 if (!elm_widget_disabled_get(obj) && 2478 if (!efl_ui_widget_disabled_get(obj) &&
2479 !evas_object_freeze_events_get(obj)) 2479 !evas_object_freeze_events_get(obj))
2480 { 2480 {
2481 efl_event_callback_call(obj, EFL_INPUT_EVENT_CLICKED, NULL); 2481 efl_event_callback_call(obj, EFL_INPUT_EVENT_CLICKED, NULL);
@@ -3039,9 +3039,9 @@ _efl_ui_textbox_efl_access_object_i18n_name_get(const Eo *obj, Efl_Ui_Textbox_Da
3039static void 3039static void
3040_edje_signal_emit(Efl_Ui_Textbox_Data *sd, const char *sig, const char *src) 3040_edje_signal_emit(Efl_Ui_Textbox_Data *sd, const char *sig, const char *src)
3041{ 3041{
3042 edje_object_signal_emit(sd->entry_edje, sig, src); 3042 efl_layout_signal_emit(sd->entry_edje, sig, src);
3043 edje_object_signal_emit(sd->cursor, sig, src); 3043 efl_layout_signal_emit(sd->cursor, sig, src);
3044 edje_object_signal_emit(sd->cursor_bidi, sig, src); 3044 efl_layout_signal_emit(sd->cursor_bidi, sig, src);
3045} 3045}
3046 3046
3047static inline Eo * 3047static inline Eo *
@@ -3062,7 +3062,7 @@ _decoration_create(Eo *obj, Efl_Ui_Textbox_Data *sd,
3062 { 3062 {
3063 evas_object_stack_below(ret, NULL); 3063 evas_object_stack_below(ret, NULL);
3064 } 3064 }
3065 evas_object_clip_set(ret, clip); 3065 efl_canvas_object_clipper_set(ret, clip);
3066 evas_object_pass_events_set(ret, EINA_TRUE); 3066 evas_object_pass_events_set(ret, EINA_TRUE);
3067 return ret; 3067 return ret;
3068} 3068}
@@ -3423,7 +3423,7 @@ _anchors_update(Eo *obj, Efl_Ui_Textbox_Data *sd)
3423 evas_object_color_set(ob, 0, 0, 0, 0); 3423 evas_object_color_set(ob, 0, 0, 0, 0);
3424 evas_object_smart_member_add(ob, smart); 3424 evas_object_smart_member_add(ob, smart);
3425 evas_object_stack_above(ob, obj); 3425 evas_object_stack_above(ob, obj);
3426 evas_object_clip_set(ob, clip); 3426 efl_canvas_object_clipper_set(ob, clip);
3427 evas_object_repeat_events_set(ob, EINA_TRUE); 3427 evas_object_repeat_events_set(ob, EINA_TRUE);
3428 rect->obj = ob; 3428 rect->obj = ob;
3429 //FIXME: add event handlers 3429 //FIXME: add event handlers