summaryrefslogtreecommitdiff
path: root/src/bin/elementary
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2017-11-10 17:56:34 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2017-11-28 17:15:42 +0900
commitc752d8fe6beec321f66f566bf05731540f8d889e (patch)
treefc0c9f70b590feb5c9e64b6c79b6afebb733d208 /src/bin/elementary
parent91df6723c929dc91ccf040ba5021c1142d1a6a17 (diff)
efl_ui_popup: Make backwall efl part object of Efl.Ui.Popup
Diffstat (limited to 'src/bin/elementary')
-rw-r--r--src/bin/elementary/test_ui_popup.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/elementary/test_ui_popup.c b/src/bin/elementary/test_ui_popup.c
index b39113f23d..770ff93f7c 100644
--- a/src/bin/elementary/test_ui_popup.c
+++ b/src/bin/elementary/test_ui_popup.c
@@ -84,12 +84,12 @@ _backwall_cb(void *data EINA_UNUSED, const Efl_Event *ev)
84 { 84 {
85 char buf[PATH_MAX]; 85 char buf[PATH_MAX];
86 snprintf(buf, sizeof(buf), "%s/images/sky_01.jpg", elm_app_data_dir_get()); 86 snprintf(buf, sizeof(buf), "%s/images/sky_01.jpg", elm_app_data_dir_get());
87 efl_ui_popup_backwall_set(p_data->efl_ui_popup, buf, NULL); 87 efl_file_set(efl_part(p_data->efl_ui_popup, "backwall"), buf, NULL);
88 efl_text_set(ev->object, "Backwall UnSet"); 88 efl_text_set(ev->object, "Backwall UnSet");
89 } 89 }
90 else 90 else
91 { 91 {
92 efl_ui_popup_backwall_set(p_data->efl_ui_popup, NULL, NULL); 92 efl_file_set(efl_part(p_data->efl_ui_popup, "backwall"), NULL, NULL);
93 efl_text_set(ev->object, "Backwall Set"); 93 efl_text_set(ev->object, "Backwall Set");
94 } 94 }
95 k = !k; 95 k = !k;
@@ -100,14 +100,14 @@ _repeat_event_cb(void *data EINA_UNUSED, const Efl_Event *ev)
100{ 100{
101 efl_ui_popup_data *p_data = data; 101 efl_ui_popup_data *p_data = data;
102 if (!p_data->efl_ui_popup) return; 102 if (!p_data->efl_ui_popup) return;
103 if (!efl_ui_popup_backwall_repeat_events_get(p_data->efl_ui_popup)) 103 if (!efl_canvas_object_repeat_events_get(efl_part(p_data->efl_ui_popup, "backwall")))
104 { 104 {
105 efl_ui_popup_backwall_repeat_events_set(p_data->efl_ui_popup, EINA_TRUE); 105 efl_canvas_object_repeat_events_set(efl_part(p_data->efl_ui_popup, "backwall"), EINA_TRUE);
106 efl_text_set(ev->object, "Repeat Event UnSet"); 106 efl_text_set(ev->object, "Repeat Event UnSet");
107 } 107 }
108 else 108 else
109 { 109 {
110 efl_ui_popup_backwall_repeat_events_set(p_data->efl_ui_popup, EINA_FALSE); 110 efl_canvas_object_repeat_events_set(efl_part(p_data->efl_ui_popup, "backwall"), EINA_FALSE);
111 efl_text_set(ev->object, "Repeat Event Set"); 111 efl_text_set(ev->object, "Repeat Event Set");
112 } 112 }
113} 113}
@@ -453,7 +453,7 @@ test_ui_popup_anchor(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
453 453
454 Eo *efl_ui_popup = efl_add(EFL_UI_POPUP_ANCHOR_CLASS, win); 454 Eo *efl_ui_popup = efl_add(EFL_UI_POPUP_ANCHOR_CLASS, win);
455 455
456 efl_ui_popup_backwall_repeat_events_set(efl_ui_popup, EINA_TRUE); 456 efl_canvas_object_repeat_events_set(efl_part(efl_ui_popup, "backwall"), EINA_TRUE);
457 457
458 //Default align priority order is top, left, right, bottom, center. 458 //Default align priority order is top, left, right, bottom, center.
459 efl_ui_popup_anchor_align_priority_set(efl_ui_popup, EFL_UI_POPUP_ALIGN_TOP, 459 efl_ui_popup_anchor_align_priority_set(efl_ui_popup, EFL_UI_POPUP_ALIGN_TOP,