aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2018-09-10 13:29:54 +0900
committerHermet Park <hermetpark@gmail.com>2018-09-10 13:29:54 +0900
commit31be3af62d5dfdaa8a468916aa48e3899d6b0217 (patch)
treed108122203c63ceeab22a41fb7e448ce086a79b3 /src/bin/elementary
parentelm_code_file: preserve file permissions on save. (diff)
downloadefl-31be3af62d5dfdaa8a468916aa48e3899d6b0217.tar.gz
efl_ui_popup: Remove inheritance from Efl.Canvas.Object
Summary: Class Efl.Ui.Popup_Part_Backwall inherits from multiple classes, class Efl.Ui.Layout.Part and abstract Efl.Canvas.Object. To remove multiple class inheritance, Efl.Canvas.Object is not derived and its property, repeat_events, is newly defined in Efl.Ui.Popup_Part_Backwall. Test Plan: 1. Execute elementary_test. 2. Select Efl.Ui.Popup. 3. Select "Show Dummy Button". 4. Select "Repeat Event Set". 5. Test if repeat event works. Reviewers: woohyun, felipealmeida, Hermet, segfaultxavi Reviewed By: Hermet, segfaultxavi Subscribers: bu5hm4n, q66, cedric, segfaultxavi, lauromoura, #reviewers, herb, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6984
Diffstat (limited to 'src/bin/elementary')
-rw-r--r--src/bin/elementary/test_ui_popup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/elementary/test_ui_popup.c b/src/bin/elementary/test_ui_popup.c
index 3c8ae67239..b3bd61364b 100644
--- a/src/bin/elementary/test_ui_popup.c
+++ b/src/bin/elementary/test_ui_popup.c
@@ -101,14 +101,14 @@ _repeat_event_cb(void *data EINA_UNUSED, const Efl_Event *ev)
{
efl_ui_popup_data *p_data = data;
if (!p_data->efl_ui_popup) return;
- if (!efl_canvas_object_repeat_events_get(efl_part(p_data->efl_ui_popup, "backwall")))
+ if (!efl_ui_popup_part_backwall_repeat_events_get(efl_part(p_data->efl_ui_popup, "backwall")))
{
- efl_canvas_object_repeat_events_set(efl_part(p_data->efl_ui_popup, "backwall"), EINA_TRUE);
+ efl_ui_popup_part_backwall_repeat_events_set(efl_part(p_data->efl_ui_popup, "backwall"), EINA_TRUE);
efl_text_set(ev->object, "Repeat Event UnSet");
}
else
{
- efl_canvas_object_repeat_events_set(efl_part(p_data->efl_ui_popup, "backwall"), EINA_FALSE);
+ efl_ui_popup_part_backwall_repeat_events_set(efl_part(p_data->efl_ui_popup, "backwall"), EINA_FALSE);
efl_text_set(ev->object, "Repeat Event Set");
}
}
@@ -1014,7 +1014,7 @@ test_ui_popup_anchor(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
Eo *efl_ui_popup = efl_add(EFL_UI_POPUP_ANCHOR_CLASS, win);
- efl_canvas_object_repeat_events_set(efl_part(efl_ui_popup, "backwall"), EINA_TRUE);
+ efl_ui_popup_part_backwall_repeat_events_set(efl_part(efl_ui_popup, "backwall"), EINA_TRUE);
//Default align priority order is top, left, right, bottom, center.
efl_ui_popup_anchor_align_priority_set(efl_ui_popup, EFL_UI_POPUP_ALIGN_TOP,