summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2017-09-12 15:48:10 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-12 15:48:10 +0900
commitdfd17229fd30f81b741ebd5689ed2c1c113c188b (patch)
tree22d9d8c463269bcf256906f813ee82aa6fb22412 /src/lib/elementary/efl_ui_win.c
parent9f7786544ecf2d3ec8a88aa756433ee8aedb3190 (diff)
elm: rename Elm.Interface.Atspi.Window => Efl.Access.Window
Reviewers: cedric, jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5162
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_win.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 31181cada3..fdd2a9b234 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -1247,7 +1247,7 @@ _elm_win_focus_in(Ecore_Evas *ee)
1247 1247
1248 if (_elm_config->atspi_mode) 1248 if (_elm_config->atspi_mode)
1249 { 1249 {
1250 elm_interface_atspi_window_activated_signal_emit(obj); 1250 efl_access_window_activated_signal_emit(obj);
1251 elm_interface_atspi_accessible_state_changed_signal_emit(obj, ELM_ATSPI_STATE_ACTIVE, EINA_TRUE); 1251 elm_interface_atspi_accessible_state_changed_signal_emit(obj, ELM_ATSPI_STATE_ACTIVE, EINA_TRUE);
1252 } 1252 }
1253 1253
@@ -1281,7 +1281,7 @@ _elm_win_focus_out(Ecore_Evas *ee)
1281 1281
1282 if (_elm_config->atspi_mode) 1282 if (_elm_config->atspi_mode)
1283 { 1283 {
1284 elm_interface_atspi_window_deactivated_signal_emit(obj); 1284 efl_access_window_deactivated_signal_emit(obj);
1285 elm_interface_atspi_accessible_state_changed_signal_emit(obj, ELM_ATSPI_STATE_ACTIVE, EINA_FALSE); 1285 elm_interface_atspi_accessible_state_changed_signal_emit(obj, ELM_ATSPI_STATE_ACTIVE, EINA_FALSE);
1286 } 1286 }
1287 1287
@@ -1553,13 +1553,13 @@ _elm_win_state_change(Ecore_Evas *ee)
1553 { 1553 {
1554 efl_event_callback_legacy_call(obj, EFL_UI_WIN_EVENT_ICONIFIED, NULL); 1554 efl_event_callback_legacy_call(obj, EFL_UI_WIN_EVENT_ICONIFIED, NULL);
1555 if (_elm_config->atspi_mode) 1555 if (_elm_config->atspi_mode)
1556 elm_interface_atspi_window_minimized_signal_emit(obj); 1556 efl_access_window_minimized_signal_emit(obj);
1557 } 1557 }
1558 else 1558 else
1559 { 1559 {
1560 efl_event_callback_legacy_call(obj, EFL_UI_WIN_EVENT_NORMAL, NULL); 1560 efl_event_callback_legacy_call(obj, EFL_UI_WIN_EVENT_NORMAL, NULL);
1561 if (_elm_config->atspi_mode) 1561 if (_elm_config->atspi_mode)
1562 elm_interface_atspi_window_restored_signal_emit(obj); 1562 efl_access_window_restored_signal_emit(obj);
1563 } 1563 }
1564 } 1564 }
1565 if (ch_sticky) 1565 if (ch_sticky)
@@ -1600,13 +1600,13 @@ _elm_win_state_change(Ecore_Evas *ee)
1600 { 1600 {
1601 efl_event_callback_legacy_call(obj, EFL_UI_WIN_EVENT_MAXIMIZED, NULL); 1601 efl_event_callback_legacy_call(obj, EFL_UI_WIN_EVENT_MAXIMIZED, NULL);
1602 if (_elm_config->atspi_mode) 1602 if (_elm_config->atspi_mode)
1603 elm_interface_atspi_window_maximized_signal_emit(obj); 1603 efl_access_window_maximized_signal_emit(obj);
1604 } 1604 }
1605 else 1605 else
1606 { 1606 {
1607 efl_event_callback_legacy_call(obj, EFL_UI_WIN_EVENT_UNMAXIMIZED, NULL); 1607 efl_event_callback_legacy_call(obj, EFL_UI_WIN_EVENT_UNMAXIMIZED, NULL);
1608 if (_elm_config->atspi_mode) 1608 if (_elm_config->atspi_mode)
1609 elm_interface_atspi_window_restored_signal_emit(obj); 1609 efl_access_window_restored_signal_emit(obj);
1610 } 1610 }
1611 } 1611 }
1612 if (ch_profile) 1612 if (ch_profile)
@@ -2287,7 +2287,7 @@ _efl_ui_win_show(Eo *obj, Efl_Ui_Win_Data *sd)
2287 if (_elm_config->atspi_mode) 2287 if (_elm_config->atspi_mode)
2288 { 2288 {
2289 Eo *root; 2289 Eo *root;
2290 elm_interface_atspi_window_created_signal_emit(obj); 2290 efl_access_window_created_signal_emit(obj);
2291 root = elm_interface_atspi_accessible_root_get(ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN); 2291 root = elm_interface_atspi_accessible_root_get(ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN);
2292 if (root) 2292 if (root)
2293 elm_interface_atspi_accessible_children_changed_added_signal_emit(root, obj); 2293 elm_interface_atspi_accessible_children_changed_added_signal_emit(root, obj);
@@ -2350,7 +2350,7 @@ _efl_ui_win_hide(Eo *obj, Efl_Ui_Win_Data *sd)
2350 { 2350 {
2351 Eo *root; 2351 Eo *root;
2352 root = elm_interface_atspi_accessible_root_get(ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN); 2352 root = elm_interface_atspi_accessible_root_get(ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN);
2353 elm_interface_atspi_window_destroyed_signal_emit(obj); 2353 efl_access_window_destroyed_signal_emit(obj);
2354 if (root) 2354 if (root)
2355 elm_interface_atspi_accessible_children_changed_del_signal_emit(root, obj); 2355 elm_interface_atspi_accessible_children_changed_del_signal_emit(root, obj);
2356 } 2356 }
@@ -2805,7 +2805,7 @@ _efl_ui_win_efl_canvas_group_group_del(Eo *obj, Efl_Ui_Win_Data *sd)
2805 if (sd->autodel_clear) *(sd->autodel_clear) = -1; 2805 if (sd->autodel_clear) *(sd->autodel_clear) = -1;
2806 2806
2807 if (_elm_config->atspi_mode) 2807 if (_elm_config->atspi_mode)
2808 elm_interface_atspi_window_destroyed_signal_emit(obj); 2808 efl_access_window_destroyed_signal_emit(obj);
2809 2809
2810 _elm_win_list = eina_list_remove(_elm_win_list, obj); 2810 _elm_win_list = eina_list_remove(_elm_win_list, obj);
2811 _elm_win_count--; 2811 _elm_win_count--;
@@ -3038,7 +3038,7 @@ _elm_win_delete_request(Ecore_Evas *ee)
3038 evas_object_hide(obj); 3038 evas_object_hide(obj);
3039 ELM_WIN_DATA_ALIVE_CHECK(obj, sd); 3039 ELM_WIN_DATA_ALIVE_CHECK(obj, sd);
3040 if (_elm_config->atspi_mode) 3040 if (_elm_config->atspi_mode)
3041 elm_interface_atspi_window_destroyed_signal_emit(obj); 3041 efl_access_window_destroyed_signal_emit(obj);
3042 ELM_WIN_DATA_ALIVE_CHECK(obj, sd); 3042 ELM_WIN_DATA_ALIVE_CHECK(obj, sd);
3043 if (autodel) evas_object_del(obj); 3043 if (autodel) evas_object_del(obj);
3044 else sd->autodel_clear = NULL; 3044 else sd->autodel_clear = NULL;
@@ -5289,7 +5289,7 @@ _elm_win_finalize_internal(Eo *obj, Efl_Ui_Win_Data *sd, const char *name, Elm_W
5289 5289
5290 elm_interface_atspi_accessible_role_set(obj, ELM_ATSPI_ROLE_WINDOW); 5290 elm_interface_atspi_accessible_role_set(obj, ELM_ATSPI_ROLE_WINDOW);
5291 if (_elm_config->atspi_mode) 5291 if (_elm_config->atspi_mode)
5292 elm_interface_atspi_window_created_signal_emit(obj); 5292 efl_access_window_created_signal_emit(obj);
5293 5293
5294 // attach config API 5294 // attach config API
5295 efl_composite_attach(obj, efl_provider_find(ecore_main_loop_get(), EFL_CONFIG_GLOBAL_CLASS)); 5295 efl_composite_attach(obj, efl_provider_find(ecore_main_loop_get(), EFL_CONFIG_GLOBAL_CLASS));
@@ -6632,10 +6632,10 @@ _on_atspi_bus_connected(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUS
6632 * receive all org.a11y.window events and could keep track of active 6632 * receive all org.a11y.window events and could keep track of active
6633 * windows whithin system. 6633 * windows whithin system.
6634 */ 6634 */
6635 elm_interface_atspi_window_created_signal_emit(win); 6635 efl_access_window_created_signal_emit(win);
6636 if (elm_win_focus_get(win)) 6636 if (elm_win_focus_get(win))
6637 { 6637 {
6638 elm_interface_atspi_window_activated_signal_emit(win); 6638 efl_access_window_activated_signal_emit(win);
6639 /** Reemit focused event to inform atspi clients about currently 6639 /** Reemit focused event to inform atspi clients about currently
6640 * focused object **/ 6640 * focused object **/
6641 unsigned int order = 0; 6641 unsigned int order = 0;
@@ -6645,7 +6645,7 @@ _on_atspi_bus_connected(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUS
6645 elm_interface_atspi_accessible_state_changed_signal_emit(target, ELM_ATSPI_STATE_FOCUSED, EINA_TRUE); 6645 elm_interface_atspi_accessible_state_changed_signal_emit(target, ELM_ATSPI_STATE_FOCUSED, EINA_TRUE);
6646 } 6646 }
6647 else 6647 else
6648 elm_interface_atspi_window_deactivated_signal_emit(win); 6648 efl_access_window_deactivated_signal_emit(win);
6649 } 6649 }
6650} 6650}
6651 6651