summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elc_ctxpopup.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-06-13 19:41:15 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-06-14 11:02:05 +0900
commited41adf7913b73cb5c1c5bfcf0497610409da677 (patch)
tree9bbeb87e16cacd7c6609aa59482d7c8273e4b7af /src/lib/elementary/elc_ctxpopup.c
parent5f2e4b9197cb96184c8e8acde10b5d8da8ac8662 (diff)
widget: Implement mirrored from Efl.Ui.Base
Ref T5363
Diffstat (limited to 'src/lib/elementary/elc_ctxpopup.c')
-rw-r--r--src/lib/elementary/elc_ctxpopup.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/elementary/elc_ctxpopup.c b/src/lib/elementary/elc_ctxpopup.c
index 5a3480f..a32a0e8 100644
--- a/src/lib/elementary/elc_ctxpopup.c
+++ b/src/lib/elementary/elc_ctxpopup.c
@@ -403,7 +403,7 @@ _arrow_update(Evas_Object *obj,
403 case ELM_CTXPOPUP_DIRECTION_RIGHT: 403 case ELM_CTXPOPUP_DIRECTION_RIGHT:
404 edje_object_signal_emit(sd->arrow, "elm,state,left", "elm"); 404 edje_object_signal_emit(sd->arrow, "elm,state,left", "elm");
405 if (!edje_object_part_swallow(wd->resize_obj, 405 if (!edje_object_part_swallow(wd->resize_obj,
406 (elm_widget_mirrored_get(obj) ? "elm.swallow.arrow_right" : 406 (efl_ui_mirrored_get(obj) ? "elm.swallow.arrow_right" :
407 "elm.swallow.arrow_left"), sd->arrow)) 407 "elm.swallow.arrow_left"), sd->arrow))
408 { 408 {
409 evas_object_hide(sd->arrow); 409 evas_object_hide(sd->arrow);
@@ -421,7 +421,7 @@ _arrow_update(Evas_Object *obj,
421 drag = (double)(y) / (double)(base_size.h - arrow_size.h); 421 drag = (double)(y) / (double)(base_size.h - arrow_size.h);
422 edje_object_part_drag_value_set 422 edje_object_part_drag_value_set
423 (wd->resize_obj, 423 (wd->resize_obj,
424 (elm_widget_mirrored_get(obj) ? "elm.swallow.arrow_right" : 424 (efl_ui_mirrored_get(obj) ? "elm.swallow.arrow_right" :
425 "elm.swallow.arrow_left"), 1, drag); 425 "elm.swallow.arrow_left"), 1, drag);
426 } 426 }
427 break; 427 break;
@@ -429,7 +429,7 @@ _arrow_update(Evas_Object *obj,
429 case ELM_CTXPOPUP_DIRECTION_LEFT: 429 case ELM_CTXPOPUP_DIRECTION_LEFT:
430 edje_object_signal_emit(sd->arrow, "elm,state,right", "elm"); 430 edje_object_signal_emit(sd->arrow, "elm,state,right", "elm");
431 if (!edje_object_part_swallow(wd->resize_obj, 431 if (!edje_object_part_swallow(wd->resize_obj,
432 (elm_widget_mirrored_get(obj) ? "elm.swallow.arrow_left" : 432 (efl_ui_mirrored_get(obj) ? "elm.swallow.arrow_left" :
433 "elm.swallow.arrow_right"), sd->arrow)) 433 "elm.swallow.arrow_right"), sd->arrow))
434 { 434 {
435 evas_object_hide(sd->arrow); 435 evas_object_hide(sd->arrow);
@@ -447,7 +447,7 @@ _arrow_update(Evas_Object *obj,
447 drag = (double)(y) / (double)(base_size.h - arrow_size.h); 447 drag = (double)(y) / (double)(base_size.h - arrow_size.h);
448 edje_object_part_drag_value_set 448 edje_object_part_drag_value_set
449 (wd->resize_obj, 449 (wd->resize_obj,
450 (elm_widget_mirrored_get(obj) ? "elm.swallow.arrow_left" : 450 (efl_ui_mirrored_get(obj) ? "elm.swallow.arrow_left" :
451 "elm.swallow.arrow_right"), 0, drag); 451 "elm.swallow.arrow_right"), 0, drag);
452 } 452 }
453 break; 453 break;
@@ -524,13 +524,13 @@ _show_signals_emit(Evas_Object *obj,
524 524
525 case ELM_CTXPOPUP_DIRECTION_LEFT: 525 case ELM_CTXPOPUP_DIRECTION_LEFT:
526 elm_layout_signal_emit(obj, 526 elm_layout_signal_emit(obj,
527 (elm_widget_mirrored_get(obj) ? "elm,state,show,right" : 527 (efl_ui_mirrored_get(obj) ? "elm,state,show,right" :
528 "elm,state,show,left"), "elm"); 528 "elm,state,show,left"), "elm");
529 break; 529 break;
530 530
531 case ELM_CTXPOPUP_DIRECTION_RIGHT: 531 case ELM_CTXPOPUP_DIRECTION_RIGHT:
532 elm_layout_signal_emit(obj, 532 elm_layout_signal_emit(obj,
533 (elm_widget_mirrored_get(obj) ? "elm,state,show,left" : 533 (efl_ui_mirrored_get(obj) ? "elm,state,show,left" :
534 "elm,state,show,right"), "elm"); 534 "elm,state,show,right"), "elm");
535 break; 535 break;
536 536
@@ -562,13 +562,13 @@ _hide_signals_emit(Evas_Object *obj,
562 562
563 case ELM_CTXPOPUP_DIRECTION_LEFT: 563 case ELM_CTXPOPUP_DIRECTION_LEFT:
564 elm_layout_signal_emit(obj, 564 elm_layout_signal_emit(obj,
565 (elm_widget_mirrored_get(obj) ? "elm,state,hide,right" : 565 (efl_ui_mirrored_get(obj) ? "elm,state,hide,right" :
566 "elm,state,hide,left"), "elm"); 566 "elm,state,hide,left"), "elm");
567 break; 567 break;
568 568
569 case ELM_CTXPOPUP_DIRECTION_RIGHT: 569 case ELM_CTXPOPUP_DIRECTION_RIGHT:
570 elm_layout_signal_emit(obj, 570 elm_layout_signal_emit(obj,
571 (elm_widget_mirrored_get(obj) ? "elm,state,hide,left" : 571 (efl_ui_mirrored_get(obj) ? "elm,state,hide,left" :
572 "elm,state,hide,right"), "elm"); 572 "elm,state,hide,right"), "elm");
573 break; 573 break;
574 574