diff options
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas.c')
-rw-r--r-- | src/lib/ecore_evas/ecore_evas.c | 526 |
1 files changed, 263 insertions, 263 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c index 23409d96ef..9741b0d73e 100644 --- a/src/lib/ecore_evas/ecore_evas.c +++ b/src/lib/ecore_evas/ecore_evas.c @@ -55,12 +55,12 @@ goto _label; \ } -EAPI Eina_Error ecore_evas_no_matching_type; -EAPI Eina_Error ecore_evas_no_selection; -EAPI Eina_Error ecore_evas_request_replaced; +ECORE_EVAS_API Eina_Error ecore_evas_no_matching_type; +ECORE_EVAS_API Eina_Error ecore_evas_no_selection; +ECORE_EVAS_API Eina_Error ecore_evas_request_replaced; -EAPI Eina_Bool _ecore_evas_app_comp_sync = EINA_FALSE; -EAPI int _ecore_evas_log_dom = -1; +ECORE_EVAS_API Eina_Bool _ecore_evas_app_comp_sync = EINA_FALSE; +ECORE_EVAS_API int _ecore_evas_log_dom = -1; static int _ecore_evas_init_count = 0; static Ecore_Idle_Exiter *ecore_evas_idle_exiter = NULL; @@ -148,13 +148,13 @@ _ecore_evas_idle_exiter(void *data EINA_UNUSED) return ECORE_CALLBACK_RENEW; } -EAPI void +ECORE_EVAS_API void ecore_evas_render_wait(Ecore_Evas *ee) { if (ee->in_async_render) evas_sync(ee->evas); } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_render(Ecore_Evas *ee) { Eina_Bool rend = EINA_FALSE; @@ -470,7 +470,7 @@ _ecore_evas_interface_get_internal(const Ecore_Evas *ee, const char *iname, Eina return NULL; } -EAPI Ecore_Evas_Interface * +ECORE_EVAS_API Ecore_Evas_Interface * _ecore_evas_interface_get(const Ecore_Evas *ee, const char *iname) { return _ecore_evas_interface_get_internal(ee, iname, 1); @@ -484,7 +484,7 @@ _ecore_evas_interface_get(const Ecore_Evas *ee, const char *iname) * Query if engine @param engine is supported by ecore_evas. 1 is returned if * it is, and 0 is returned if it is not supported. */ -EAPI int +ECORE_EVAS_API int ecore_evas_engine_type_supported_get(Ecore_Evas_Engine_Type engine) { /* It should be done reading the availables engines */ @@ -602,7 +602,7 @@ ecore_evas_engine_type_supported_get(Ecore_Evas_Engine_Type engine) }; } -EAPI int +ECORE_EVAS_API int ecore_evas_init(void) { Ecore_Evas_Object_Animator_Interface iface; @@ -670,7 +670,7 @@ ecore_evas_init(void) return --_ecore_evas_init_count; } -EAPI int +ECORE_EVAS_API int ecore_evas_shutdown(void) { if (--_ecore_evas_init_count != 0) @@ -707,13 +707,13 @@ ecore_evas_shutdown(void) return _ecore_evas_init_count; } -EAPI void +ECORE_EVAS_API void ecore_evas_app_comp_sync_set(Eina_Bool do_sync) { _ecore_evas_app_comp_sync = do_sync; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_app_comp_sync_get(void) { return _ecore_evas_app_comp_sync; @@ -1028,13 +1028,13 @@ static const struct ecore_evas_engine _engines[] = { {NULL, NULL} }; -EAPI Eina_List * +ECORE_EVAS_API Eina_List * ecore_evas_engines_get(void) { return eina_list_clone(_ecore_evas_available_engines_get()); } -EAPI void +ECORE_EVAS_API void ecore_evas_engines_free(Eina_List *engines) { eina_list_free(engines); @@ -1061,7 +1061,7 @@ _ecore_evas_new_auto_discover(int x, int y, int w, int h, const char *extra_opti return NULL; } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_new(const char *engine_name, int x, int y, int w, int h, const char *extra_options) { const struct ecore_evas_engine *itr; @@ -1088,7 +1088,7 @@ ecore_evas_new(const char *engine_name, int x, int y, int w, int h, const char * return NULL; } -EAPI const char * +ECORE_EVAS_API const char * ecore_evas_engine_name_get(const Ecore_Evas *ee) { if (!ee) @@ -1096,7 +1096,7 @@ ecore_evas_engine_name_get(const Ecore_Evas *ee) return ee->driver; } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_ecore_evas_get(const Evas *e) { Ecore_Evas *ee = evas_data_attach_get(e); @@ -1105,7 +1105,7 @@ ecore_evas_ecore_evas_get(const Evas *e) return ee; } -EAPI void +ECORE_EVAS_API void ecore_evas_free(Ecore_Evas *ee) { if (!ee) return; @@ -1114,7 +1114,7 @@ ecore_evas_free(Ecore_Evas *ee) return; } -EAPI void * +ECORE_EVAS_API void * ecore_evas_data_get(const Ecore_Evas *ee, const char *key) { ECORE_EVAS_CHECK(ee, NULL); @@ -1125,7 +1125,7 @@ ecore_evas_data_get(const Ecore_Evas *ee, const char *key) return eina_hash_find(ee->data, key); } -EAPI void +ECORE_EVAS_API void ecore_evas_data_set(Ecore_Evas *ee, const char *key, const void *data) { ECORE_EVAS_CHECK(ee); @@ -1142,7 +1142,7 @@ ecore_evas_data_set(Ecore_Evas *ee, const char *key, const void *data) } } -EAPI Evas * +ECORE_EVAS_API Evas * ecore_evas_object_evas_get(Evas_Object *obj) { Ecore_Evas *ee; @@ -1153,7 +1153,7 @@ ecore_evas_object_evas_get(Evas_Object *obj) return ecore_evas_get(ee); } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_object_ecore_evas_get(Evas_Object *obj) { return evas_object_data_get(obj, "Ecore_Evas"); @@ -1162,7 +1162,7 @@ ecore_evas_object_ecore_evas_get(Evas_Object *obj) #define IFC(_ee, _fn) if (_ee->engine.func->_fn) {_ee->engine.func->_fn #define IFE return;} -EAPI void +ECORE_EVAS_API void ecore_evas_callback_resize_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) { ECORE_EVAS_CHECK(ee); @@ -1171,7 +1171,7 @@ ecore_evas_callback_resize_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) ee->func.fn_resize = func; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_move_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) { ECORE_EVAS_CHECK(ee); @@ -1180,7 +1180,7 @@ ecore_evas_callback_move_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) ee->func.fn_move = func; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_show_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) { ECORE_EVAS_CHECK(ee); @@ -1189,7 +1189,7 @@ ecore_evas_callback_show_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) ee->func.fn_show = func; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_hide_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) { ECORE_EVAS_CHECK(ee); @@ -1198,7 +1198,7 @@ ecore_evas_callback_hide_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) ee->func.fn_hide = func; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_delete_request_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) { ECORE_EVAS_CHECK(ee); @@ -1207,7 +1207,7 @@ ecore_evas_callback_delete_request_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) ee->func.fn_delete_request = func; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_destroy_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) { ECORE_EVAS_CHECK(ee); @@ -1216,7 +1216,7 @@ ecore_evas_callback_destroy_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) ee->func.fn_destroy = func; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_focus_in_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) { ECORE_EVAS_CHECK(ee); @@ -1225,7 +1225,7 @@ ecore_evas_callback_focus_in_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) ee->func.fn_focus_in = func; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_focus_device_in_set(Ecore_Evas *ee, Ecore_Evas_Focus_Device_Event_Cb func) { @@ -1235,7 +1235,7 @@ ecore_evas_callback_focus_device_in_set(Ecore_Evas *ee, ee->func.fn_focus_device_in = func; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_focus_out_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) { ECORE_EVAS_CHECK(ee); @@ -1244,7 +1244,7 @@ ecore_evas_callback_focus_out_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) ee->func.fn_focus_out = func; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_focus_device_out_set(Ecore_Evas *ee, Ecore_Evas_Focus_Device_Event_Cb func) { @@ -1254,7 +1254,7 @@ ecore_evas_callback_focus_device_out_set(Ecore_Evas *ee, ee->func.fn_focus_device_out = func; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_sticky_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) { ECORE_EVAS_CHECK(ee); @@ -1263,7 +1263,7 @@ ecore_evas_callback_sticky_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) ee->func.fn_sticky = func; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_unsticky_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) { ECORE_EVAS_CHECK(ee); @@ -1272,7 +1272,7 @@ ecore_evas_callback_unsticky_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) ee->func.fn_unsticky = func; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_mouse_in_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) { ECORE_EVAS_CHECK(ee); @@ -1281,7 +1281,7 @@ ecore_evas_callback_mouse_in_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) ee->func.fn_mouse_in = func; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_mouse_out_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) { ECORE_EVAS_CHECK(ee); @@ -1290,7 +1290,7 @@ ecore_evas_callback_mouse_out_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) ee->func.fn_mouse_out = func; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_pre_render_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) { ECORE_EVAS_CHECK(ee); @@ -1299,7 +1299,7 @@ ecore_evas_callback_pre_render_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) ee->func.fn_pre_render = func; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_post_render_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) { ECORE_EVAS_CHECK(ee); @@ -1308,28 +1308,28 @@ ecore_evas_callback_post_render_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) ee->func.fn_post_render = func; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_pre_free_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) { ECORE_EVAS_CHECK(ee); ee->func.fn_pre_free = func; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_state_change_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func) { ECORE_EVAS_CHECK(ee); ee->func.fn_state_change = func; } -EAPI Evas * +ECORE_EVAS_API Evas * ecore_evas_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, NULL); return ee->evas; } -EAPI void +ECORE_EVAS_API void ecore_evas_move(Ecore_Evas *ee, int x, int y) { ECORE_EVAS_CHECK(ee); @@ -1338,7 +1338,7 @@ ecore_evas_move(Ecore_Evas *ee, int x, int y) IFE; } -EAPI void +ECORE_EVAS_API void ecore_evas_managed_move(Ecore_Evas *ee, int x, int y) { ECORE_EVAS_CHECK(ee); @@ -1346,7 +1346,7 @@ ecore_evas_managed_move(Ecore_Evas *ee, int x, int y) IFE; } -EAPI void +ECORE_EVAS_API void ecore_evas_resize(Ecore_Evas *ee, int w, int h) { ECORE_EVAS_CHECK(ee); @@ -1365,7 +1365,7 @@ ecore_evas_resize(Ecore_Evas *ee, int w, int h) } } -EAPI void +ECORE_EVAS_API void ecore_evas_move_resize(Ecore_Evas *ee, int x, int y, int w, int h) { ECORE_EVAS_CHECK(ee); @@ -1384,7 +1384,7 @@ ecore_evas_move_resize(Ecore_Evas *ee, int x, int y, int w, int h) } } -EAPI void +ECORE_EVAS_API void ecore_evas_geometry_get(const Ecore_Evas *ee, int *x, int *y, int *w, int *h) { ECORE_EVAS_CHECK(ee); @@ -1404,7 +1404,7 @@ ecore_evas_geometry_get(const Ecore_Evas *ee, int *x, int *y, int *w, int *h) } } -EAPI void +ECORE_EVAS_API void ecore_evas_request_geometry_get(const Ecore_Evas *ee, int *x, int *y, int *w, int *h) { ECORE_EVAS_CHECK(ee); @@ -1424,7 +1424,7 @@ ecore_evas_request_geometry_get(const Ecore_Evas *ee, int *x, int *y, int *w, in } } -EAPI void +ECORE_EVAS_API void ecore_evas_rotation_set(Ecore_Evas *ee, int rot) { ECORE_EVAS_CHECK(ee); @@ -1437,7 +1437,7 @@ ecore_evas_rotation_set(Ecore_Evas *ee, int rot) IFE; } -EAPI void +ECORE_EVAS_API void ecore_evas_rotation_with_resize_set(Ecore_Evas *ee, int rot) { ECORE_EVAS_CHECK(ee); @@ -1450,14 +1450,14 @@ ecore_evas_rotation_with_resize_set(Ecore_Evas *ee, int rot) IFE; } -EAPI int +ECORE_EVAS_API int ecore_evas_rotation_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, 0); return ee->rotation; } -EAPI void +ECORE_EVAS_API void ecore_evas_shaped_set(Ecore_Evas *ee, Eina_Bool shaped) { ECORE_EVAS_CHECK(ee); @@ -1465,14 +1465,14 @@ ecore_evas_shaped_set(Ecore_Evas *ee, Eina_Bool shaped) IFE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_shaped_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return ee->shaped ? EINA_TRUE : EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_alpha_set(Ecore_Evas *ee, Eina_Bool alpha) { ECORE_EVAS_CHECK(ee); @@ -1480,14 +1480,14 @@ ecore_evas_alpha_set(Ecore_Evas *ee, Eina_Bool alpha) IFE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_alpha_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return ee->alpha ? EINA_TRUE : EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_transparent_set(Ecore_Evas *ee, Eina_Bool transparent) { ECORE_EVAS_CHECK(ee); @@ -1495,14 +1495,14 @@ ecore_evas_transparent_set(Ecore_Evas *ee, Eina_Bool transparent) IFE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_transparent_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return ee->transparent ? EINA_TRUE : 0; } -EAPI void +ECORE_EVAS_API void ecore_evas_show(Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee); @@ -1510,7 +1510,7 @@ ecore_evas_show(Ecore_Evas *ee) IFE; } -EAPI void +ECORE_EVAS_API void ecore_evas_hide(Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee); @@ -1518,14 +1518,14 @@ ecore_evas_hide(Ecore_Evas *ee) IFE; } - EAPI int + ECORE_EVAS_API int ecore_evas_visibility_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, 0); return ee->visible ? 1:0; } -EAPI void +ECORE_EVAS_API void ecore_evas_raise(Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee); @@ -1533,7 +1533,7 @@ ecore_evas_raise(Ecore_Evas *ee) IFE; } -EAPI void +ECORE_EVAS_API void ecore_evas_lower(Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee); @@ -1541,7 +1541,7 @@ ecore_evas_lower(Ecore_Evas *ee) IFE; } -EAPI void +ECORE_EVAS_API void ecore_evas_activate(Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee); @@ -1549,7 +1549,7 @@ ecore_evas_activate(Ecore_Evas *ee) IFE; } -EAPI void +ECORE_EVAS_API void ecore_evas_title_set(Ecore_Evas *ee, const char *t) { ECORE_EVAS_CHECK(ee); @@ -1557,14 +1557,14 @@ ecore_evas_title_set(Ecore_Evas *ee, const char *t) IFE; } -EAPI const char * +ECORE_EVAS_API const char * ecore_evas_title_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, NULL); return ee->prop.title; } -EAPI void +ECORE_EVAS_API void ecore_evas_name_class_set(Ecore_Evas *ee, const char *n, const char *c) { ECORE_EVAS_CHECK(ee); @@ -1572,7 +1572,7 @@ ecore_evas_name_class_set(Ecore_Evas *ee, const char *n, const char *c) IFE; } -EAPI void +ECORE_EVAS_API void ecore_evas_name_class_get(const Ecore_Evas *ee, const char **n, const char **c) { if (n) *n = NULL; @@ -1582,7 +1582,7 @@ ecore_evas_name_class_get(const Ecore_Evas *ee, const char **n, const char **c) if (c) *c = ee->prop.clas; } -EAPI void +ECORE_EVAS_API void ecore_evas_size_min_set(Ecore_Evas *ee, int w, int h) { ECORE_EVAS_CHECK(ee); @@ -1600,7 +1600,7 @@ ecore_evas_size_min_set(Ecore_Evas *ee, int w, int h) } } -EAPI void +ECORE_EVAS_API void ecore_evas_size_min_get(const Ecore_Evas *ee, int *w, int *h) { if (w) *w = 0; @@ -1618,7 +1618,7 @@ ecore_evas_size_min_get(const Ecore_Evas *ee, int *w, int *h) } } -EAPI void +ECORE_EVAS_API void ecore_evas_size_max_set(Ecore_Evas *ee, int w, int h) { ECORE_EVAS_CHECK(ee); @@ -1636,7 +1636,7 @@ ecore_evas_size_max_set(Ecore_Evas *ee, int w, int h) } } -EAPI void +ECORE_EVAS_API void ecore_evas_size_max_get(const Ecore_Evas *ee, int *w, int *h) { if (w) *w = 0; @@ -1654,7 +1654,7 @@ ecore_evas_size_max_get(const Ecore_Evas *ee, int *w, int *h) } } -EAPI void +ECORE_EVAS_API void ecore_evas_size_base_set(Ecore_Evas *ee, int w, int h) { ECORE_EVAS_CHECK(ee); @@ -1672,7 +1672,7 @@ ecore_evas_size_base_set(Ecore_Evas *ee, int w, int h) } } -EAPI void +ECORE_EVAS_API void ecore_evas_size_base_get(const Ecore_Evas *ee, int *w, int *h) { ECORE_EVAS_CHECK(ee); @@ -1688,7 +1688,7 @@ ecore_evas_size_base_get(const Ecore_Evas *ee, int *w, int *h) } } -EAPI void +ECORE_EVAS_API void ecore_evas_size_step_set(Ecore_Evas *ee, int w, int h) { ECORE_EVAS_CHECK(ee); @@ -1706,7 +1706,7 @@ ecore_evas_size_step_set(Ecore_Evas *ee, int w, int h) } } -EAPI void +ECORE_EVAS_API void ecore_evas_size_step_get(const Ecore_Evas *ee, int *w, int *h) { ECORE_EVAS_CHECK(ee); @@ -1722,7 +1722,7 @@ ecore_evas_size_step_get(const Ecore_Evas *ee, int *w, int *h) } } -EAPI Evas_Object * +ECORE_EVAS_API Evas_Object * _ecore_evas_default_cursor_image_get(Ecore_Evas *ee) { Efl_Input_Device *pointer; @@ -1734,7 +1734,7 @@ _ecore_evas_default_cursor_image_get(Ecore_Evas *ee) return cursor->object; } -EAPI void +ECORE_EVAS_API void _ecore_evas_default_cursor_hide(Ecore_Evas *ee) { Efl_Input_Device *pointer; @@ -1831,7 +1831,7 @@ end: } } -EAPI void +ECORE_EVAS_API void ecore_evas_cursor_set(Ecore_Evas *ee, const char *file, int layer, int hot_x, int hot_y) { @@ -1853,14 +1853,14 @@ ecore_evas_cursor_set(Ecore_Evas *ee, const char *file, _ecore_evas_object_cursor_device_set(ee, NULL, obj, layer, hot_x, hot_y); } -EAPI void +ECORE_EVAS_API void ecore_evas_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int hot_x, int hot_y) { _ecore_evas_object_cursor_device_set(ee, NULL, obj, layer, hot_x, hot_y); } -EAPI void +ECORE_EVAS_API void ecore_evas_object_cursor_device_set(Ecore_Evas *ee, Efl_Input_Device *pointer, Evas_Object *obj, int layer, int hot_x, int hot_y) @@ -1868,7 +1868,7 @@ ecore_evas_object_cursor_device_set(Ecore_Evas *ee, Efl_Input_Device *pointer, _ecore_evas_object_cursor_device_set(ee, pointer, obj, layer, hot_x, hot_y); } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_cursor_device_get(const Ecore_Evas *ee, Efl_Input_Device *pointer, Evas_Object **obj, int *layer, int *hot_x, int *hot_y) @@ -1910,13 +1910,13 @@ ecore_evas_cursor_device_get(const Ecore_Evas *ee, Efl_Input_Device *pointer, return EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_cursor_get(const Ecore_Evas *ee, Evas_Object **obj, int *layer, int *hot_x, int *hot_y) { ecore_evas_cursor_device_get(ee, NULL, obj, layer, hot_x, hot_y); } -EAPI Evas_Object * +ECORE_EVAS_API Evas_Object * ecore_evas_cursor_device_unset(Ecore_Evas *ee, Efl_Input_Device *pointer) { Ecore_Evas_Cursor *cursor = NULL; @@ -1950,13 +1950,13 @@ ecore_evas_cursor_device_unset(Ecore_Evas *ee, Efl_Input_Device *pointer) return obj; } -EAPI Evas_Object * +ECORE_EVAS_API Evas_Object * ecore_evas_cursor_unset(Ecore_Evas *ee) { return ecore_evas_cursor_device_unset(ee, NULL); } -EAPI void +ECORE_EVAS_API void ecore_evas_layer_set(Ecore_Evas *ee, int layer) { ECORE_EVAS_CHECK(ee); @@ -1965,14 +1965,14 @@ ecore_evas_layer_set(Ecore_Evas *ee, int layer) ee->prop.layer = layer; } -EAPI int +ECORE_EVAS_API int ecore_evas_layer_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, 0); return ee->prop.layer; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_focus_device_get(const Ecore_Evas *ee, Efl_Input_Device *seat) { ECORE_EVAS_CHECK(ee, EINA_FALSE); @@ -1981,7 +1981,7 @@ ecore_evas_focus_device_get(const Ecore_Evas *ee, Efl_Input_Device *seat) return eina_list_data_find(ee->prop.focused_by, seat) ? EINA_TRUE : EINA_FALSE; } -EAPI void +ECORE_EVAS_API void _ecore_evas_focus_device_set(Ecore_Evas *ee, Efl_Input_Device *seat, Eina_Bool on) { @@ -2020,7 +2020,7 @@ _ecore_evas_focus_device_set(Ecore_Evas *ee, Efl_Input_Device *seat, } } -EAPI void +ECORE_EVAS_API void ecore_evas_focus_device_set(Ecore_Evas *ee, Efl_Input_Device *seat, Eina_Bool on) { @@ -2030,7 +2030,7 @@ ecore_evas_focus_device_set(Ecore_Evas *ee, Efl_Input_Device *seat, _ecore_evas_focus_device_set(ee, seat, on); } -EAPI void +ECORE_EVAS_API void ecore_evas_focus_set(Ecore_Evas *ee, Eina_Bool on) { ECORE_EVAS_CHECK(ee); @@ -2039,13 +2039,13 @@ ecore_evas_focus_set(Ecore_Evas *ee, Eina_Bool on) ecore_evas_focus_device_set(ee, NULL, on); } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_focus_get(const Ecore_Evas *ee) { return ecore_evas_focus_device_get(ee, NULL); } -EAPI void +ECORE_EVAS_API void ecore_evas_iconified_set(Ecore_Evas *ee, Eina_Bool on) { ECORE_EVAS_CHECK(ee); @@ -2054,14 +2054,14 @@ ecore_evas_iconified_set(Ecore_Evas *ee, Eina_Bool on) ee->prop.iconified = !!on; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_iconified_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return ee->prop.iconified ? EINA_TRUE : EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_borderless_set(Ecore_Evas *ee, Eina_Bool on) { ECORE_EVAS_CHECK(ee); @@ -2070,14 +2070,14 @@ ecore_evas_borderless_set(Ecore_Evas *ee, Eina_Bool on) ee->prop.borderless = !!on; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_borderless_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return ee->prop.borderless ? EINA_TRUE : EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_override_set(Ecore_Evas *ee, Eina_Bool on) { ECORE_EVAS_CHECK(ee); @@ -2086,14 +2086,14 @@ ecore_evas_override_set(Ecore_Evas *ee, Eina_Bool on) ee->prop.override = !!on; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_override_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return ee->prop.override ? EINA_TRUE : EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_maximized_set(Ecore_Evas *ee, Eina_Bool on) { ECORE_EVAS_CHECK(ee); @@ -2101,21 +2101,21 @@ ecore_evas_maximized_set(Ecore_Evas *ee, Eina_Bool on) IFE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_maximized_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return ee->prop.maximized ? EINA_TRUE : EINA_FALSE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_window_profile_supported_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return ee->profile_supported ? EINA_TRUE : EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_window_profile_set(Ecore_Evas *ee, const char *profile) { ECORE_EVAS_CHECK(ee); @@ -2123,14 +2123,14 @@ ecore_evas_window_profile_set(Ecore_Evas *ee, const char *profile) IFE; } -EAPI const char * +ECORE_EVAS_API const char * ecore_evas_window_profile_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, NULL); return ee->prop.profile.name; } -EAPI void +ECORE_EVAS_API void ecore_evas_window_available_profiles_set(Ecore_Evas *ee, const char **profiles, const unsigned int count) { ECORE_EVAS_CHECK(ee); @@ -2138,7 +2138,7 @@ ecore_evas_window_available_profiles_set(Ecore_Evas *ee, const char **profiles, IFE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_window_available_profiles_get(Ecore_Evas *ee, char ***profiles, unsigned int *count) { ECORE_EVAS_CHECK(ee, EINA_FALSE); @@ -2154,14 +2154,14 @@ ecore_evas_window_available_profiles_get(Ecore_Evas *ee, char ***profiles, unsig return EINA_FALSE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_wm_rotation_supported_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return ee->prop.wm_rot.supported; } -EAPI void +ECORE_EVAS_API void ecore_evas_wm_rotation_preferred_rotation_set(Ecore_Evas *ee, int rotation) { ECORE_EVAS_CHECK(ee); @@ -2186,14 +2186,14 @@ ecore_evas_wm_rotation_preferred_rotation_set(Ecore_Evas *ee, int rotation) IFE; } -EAPI int +ECORE_EVAS_API int ecore_evas_wm_rotation_preferred_rotation_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, -1); return ee->prop.wm_rot.preferred_rot; } -EAPI void +ECORE_EVAS_API void ecore_evas_wm_rotation_available_rotations_set(Ecore_Evas *ee, const int *rotations, unsigned int count) { ECORE_EVAS_CHECK(ee); @@ -2201,7 +2201,7 @@ ecore_evas_wm_rotation_available_rotations_set(Ecore_Evas *ee, const int *rotati IFE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_wm_rotation_available_rotations_get(const Ecore_Evas *ee, int **rotations, unsigned int *count) { ECORE_EVAS_CHECK(ee, EINA_FALSE); @@ -2220,7 +2220,7 @@ ecore_evas_wm_rotation_available_rotations_get(const Ecore_Evas *ee, int **rotat return EINA_TRUE; } -EAPI void +ECORE_EVAS_API void ecore_evas_wm_rotation_manual_rotation_done_set(Ecore_Evas *ee, Eina_Bool set) { ECORE_EVAS_CHECK(ee); @@ -2233,7 +2233,7 @@ ecore_evas_wm_rotation_manual_rotation_done_set(Ecore_Evas *ee, Eina_Bool set) IFE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_wm_rotation_manual_rotation_done_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); @@ -2245,7 +2245,7 @@ ecore_evas_wm_rotation_manual_rotation_done_get(const Ecore_Evas *ee) return ee->prop.wm_rot.manual_mode.set; } -EAPI void +ECORE_EVAS_API void ecore_evas_wm_rotation_manual_rotation_done(Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee); @@ -2258,14 +2258,14 @@ ecore_evas_wm_rotation_manual_rotation_done(Ecore_Evas *ee) IFE; } -EAPI const Eina_List * +ECORE_EVAS_API const Eina_List * ecore_evas_aux_hints_supported_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, NULL); return ee->prop.aux_hint.supported_list; } -EAPI Eina_List * +ECORE_EVAS_API Eina_List * ecore_evas_aux_hints_allowed_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, NULL); @@ -2283,7 +2283,7 @@ ecore_evas_aux_hints_allowed_get(const Ecore_Evas *ee) return list; } -EAPI int +ECORE_EVAS_API int ecore_evas_aux_hint_add(Ecore_Evas *ee, const char *hint, const char *val) { ECORE_EVAS_CHECK(ee, -1); @@ -2345,7 +2345,7 @@ ecore_evas_aux_hint_add(Ecore_Evas *ee, const char *hint, const char *val) return -1; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_aux_hint_del(Ecore_Evas *ee, const int id) { ECORE_EVAS_CHECK(ee, EINA_FALSE); @@ -2396,7 +2396,7 @@ ecore_evas_aux_hint_del(Ecore_Evas *ee, const int id) return EINA_FALSE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_aux_hint_val_set(Ecore_Evas *ee, const int id, const char *val) { ECORE_EVAS_CHECK(ee, EINA_FALSE); @@ -2445,7 +2445,7 @@ ecore_evas_aux_hint_val_set(Ecore_Evas *ee, const int id, const char *val) return EINA_FALSE; } -EAPI const char * +ECORE_EVAS_API const char * ecore_evas_aux_hint_val_get(const Ecore_Evas *ee, int id) { ECORE_EVAS_CHECK(ee, NULL); @@ -2460,7 +2460,7 @@ ecore_evas_aux_hint_val_get(const Ecore_Evas *ee, int id) return NULL; } -EAPI int +ECORE_EVAS_API int ecore_evas_aux_hint_id_get(const Ecore_Evas *ee, const char *hint) { ECORE_EVAS_CHECK(ee, -1); @@ -2475,7 +2475,7 @@ ecore_evas_aux_hint_id_get(const Ecore_Evas *ee, const char *hint) return -1; } -EAPI void +ECORE_EVAS_API void ecore_evas_fullscreen_set(Ecore_Evas *ee, Eina_Bool on) { ECORE_EVAS_CHECK(ee); @@ -2483,14 +2483,14 @@ ecore_evas_fullscreen_set(Ecore_Evas *ee, Eina_Bool on) IFE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_fullscreen_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return ee->prop.fullscreen ? EINA_TRUE : EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_avoid_damage_set(Ecore_Evas *ee, Ecore_Evas_Avoid_Damage_Type on) { ECORE_EVAS_CHECK(ee); @@ -2498,14 +2498,14 @@ ecore_evas_avoid_damage_set(Ecore_Evas *ee, Ecore_Evas_Avoid_Damage_Type on) IFE; } -EAPI Ecore_Evas_Avoid_Damage_Type +ECORE_EVAS_API Ecore_Evas_Avoid_Damage_Type ecore_evas_avoid_damage_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, ECORE_EVAS_AVOID_DAMAGE_NONE); return ee->prop.avoid_damage; } -EAPI void +ECORE_EVAS_API void ecore_evas_withdrawn_set(Ecore_Evas *ee, Eina_Bool withdrawn) { ECORE_EVAS_CHECK(ee); @@ -2513,14 +2513,14 @@ ecore_evas_withdrawn_set(Ecore_Evas *ee, Eina_Bool withdrawn) IFE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_withdrawn_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return ee->prop.withdrawn ? EINA_TRUE : EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_sticky_set(Ecore_Evas *ee, Eina_Bool on) { ECORE_EVAS_CHECK(ee); @@ -2528,14 +2528,14 @@ ecore_evas_sticky_set(Ecore_Evas *ee, Eina_Bool on) IFE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_sticky_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return ee->prop.sticky ? EINA_TRUE : EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_window_group_set(Ecore_Evas *ee, const Ecore_Evas *ee_group) { ECORE_EVAS_CHECK(ee); @@ -2543,14 +2543,14 @@ ecore_evas_window_group_set(Ecore_Evas *ee, const Ecore_Evas *ee_group) IFE; } -EAPI const Ecore_Evas * +ECORE_EVAS_API const Ecore_Evas * ecore_evas_window_group_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, NULL); return ee->prop.group_ee; } -EAPI void +ECORE_EVAS_API void ecore_evas_aspect_set(Ecore_Evas *ee, double aspect) { ECORE_EVAS_CHECK(ee); @@ -2558,14 +2558,14 @@ ecore_evas_aspect_set(Ecore_Evas *ee, double aspect) IFE; } -EAPI double +ECORE_EVAS_API double ecore_evas_aspect_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, 0.0); return ee->prop.aspect; } -EAPI void +ECORE_EVAS_API void ecore_evas_urgent_set(Ecore_Evas *ee, Eina_Bool on) { ECORE_EVAS_CHECK(ee); @@ -2573,14 +2573,14 @@ ecore_evas_urgent_set(Ecore_Evas *ee, Eina_Bool on) IFE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_urgent_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return ee->prop.urgent ? EINA_TRUE : EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_modal_set(Ecore_Evas *ee, Eina_Bool on) { ECORE_EVAS_CHECK(ee); @@ -2588,14 +2588,14 @@ ecore_evas_modal_set(Ecore_Evas *ee, Eina_Bool on) IFE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_modal_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return ee->prop.modal ? EINA_TRUE : EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_demand_attention_set(Ecore_Evas *ee, Eina_Bool on) { ECORE_EVAS_CHECK(ee); @@ -2603,14 +2603,14 @@ ecore_evas_demand_attention_set(Ecore_Evas *ee, Eina_Bool on) IFE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_demand_attention_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return ee->prop.demand_attention ? EINA_TRUE : EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_focus_skip_set(Ecore_Evas *ee, Eina_Bool on) { ECORE_EVAS_CHECK(ee); @@ -2618,14 +2618,14 @@ ecore_evas_focus_skip_set(Ecore_Evas *ee, Eina_Bool on) IFE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_focus_skip_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return ee->prop.focus_skip ? EINA_TRUE : EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_ignore_events_set(Ecore_Evas *ee, Eina_Bool ignore) { ECORE_EVAS_CHECK(ee); @@ -2633,14 +2633,14 @@ ecore_evas_ignore_events_set(Ecore_Evas *ee, Eina_Bool ignore) IFE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_ignore_events_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return ee->ignore_events ? EINA_TRUE : EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_manual_render_set(Ecore_Evas *ee, Eina_Bool manual_render) { ECORE_EVAS_CHECK(ee); @@ -2660,14 +2660,14 @@ ecore_evas_manual_render_set(Ecore_Evas *ee, Eina_Bool manual_render) ee->engine.func->fn_animator_register(ee); } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_manual_render_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return ee->manual_render ? EINA_TRUE : EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_manual_render(Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee); @@ -2704,7 +2704,7 @@ ecore_evas_manual_render(Ecore_Evas *ee) } } -EAPI void +ECORE_EVAS_API void ecore_evas_msg_parent_send(Ecore_Evas *ee, int msg_domain, int msg_id, void *data, int size) { ECORE_EVAS_CHECK(ee); @@ -2713,7 +2713,7 @@ ecore_evas_msg_parent_send(Ecore_Evas *ee, int msg_domain, int msg_id, void *dat IFE; } -EAPI void +ECORE_EVAS_API void ecore_evas_msg_send(Ecore_Evas *ee, int msg_domain, int msg_id, void *data, int size) { ECORE_EVAS_CHECK(ee); @@ -2722,7 +2722,7 @@ ecore_evas_msg_send(Ecore_Evas *ee, int msg_domain, int msg_id, void *data, int IFE; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_msg_parent_handle_set(Ecore_Evas *ee, void (*func_parent_handle)(Ecore_Evas *ee, int msg_domain, int msg_id, void *data, int size)) { ECORE_EVAS_CHECK(ee); @@ -2730,7 +2730,7 @@ ecore_evas_callback_msg_parent_handle_set(Ecore_Evas *ee, void (*func_parent_han ee->func.fn_msg_parent_handle = func_parent_handle; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_msg_handle_set(Ecore_Evas *ee, void (*func_handle)(Ecore_Evas *ee, int msg_domain, int msg_id, void *data, int size)) { ECORE_EVAS_CHECK(ee); @@ -2739,28 +2739,28 @@ ecore_evas_callback_msg_handle_set(Ecore_Evas *ee, void (*func_handle)(Ecore_Eva } -EAPI void +ECORE_EVAS_API void ecore_evas_comp_sync_set(Ecore_Evas *ee, Eina_Bool do_sync) { ECORE_EVAS_CHECK(ee); ee->no_comp_sync = !do_sync; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_comp_sync_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, EINA_FALSE); return !ee->no_comp_sync; } -EAPI Ecore_Window +ECORE_EVAS_API Ecore_Window ecore_evas_window_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, 0); return ee->prop.window; } -EAPI void +ECORE_EVAS_API void ecore_evas_screen_geometry_get(const Ecore_Evas *ee, int *x, int *y, int *w, int *h) { if (x) *x = 0; @@ -2772,7 +2772,7 @@ ecore_evas_screen_geometry_get(const Ecore_Evas *ee, int *x, int *y, int *w, int IFE; } -EAPI void +ECORE_EVAS_API void ecore_evas_screen_dpi_get(const Ecore_Evas *ee, int *xdpi, int *ydpi) { if (xdpi) *xdpi = 0; @@ -2782,20 +2782,20 @@ ecore_evas_screen_dpi_get(const Ecore_Evas *ee, int *xdpi, int *ydpi) IFE; } -EAPI void +ECORE_EVAS_API void ecore_evas_draw_frame_set(Ecore_Evas *ee EINA_UNUSED, Eina_Bool draw_frame EINA_UNUSED) { WRN("Calling deprecated function %s (not implemented)", __func__); } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_draw_frame_get(const Ecore_Evas *ee EINA_UNUSED) { WRN("Calling deprecated function %s (not implemented)", __func__); return EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_shadow_geometry_set(Ecore_Evas *ee, int l, int r, int t, int b) { ECORE_EVAS_CHECK(ee); @@ -2812,7 +2812,7 @@ ecore_evas_shadow_geometry_set(Ecore_Evas *ee, int l, int r, int t, int b) ee->shadow.changed = EINA_TRUE; } -EAPI void +ECORE_EVAS_API void ecore_evas_shadow_geometry_get(const Ecore_Evas *ee, int *l, int *r, int *t, int *b) { if (l) *l = 0; @@ -2826,7 +2826,7 @@ ecore_evas_shadow_geometry_get(const Ecore_Evas *ee, int *l, int *r, int *t, int if (b) *b = ee->shadow.b; } -EAPI void +ECORE_EVAS_API void ecore_evas_pointer_xy_get(const Ecore_Evas *ee, Evas_Coord *x, Evas_Coord *y) { if (x) *x = 0; @@ -2836,7 +2836,7 @@ ecore_evas_pointer_xy_get(const Ecore_Evas *ee, Evas_Coord *x, Evas_Coord *y) IFE; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_pointer_warp(const Ecore_Evas *ee, Evas_Coord x, Evas_Coord y) { ECORE_EVAS_CHECK(ee, EINA_FALSE); @@ -2846,7 +2846,7 @@ ecore_evas_pointer_warp(const Ecore_Evas *ee, Evas_Coord x, Evas_Coord y) return EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_pointer_device_xy_get(const Ecore_Evas *ee, const Efl_Input_Device *pointer, Evas_Coord *x, Evas_Coord *y) @@ -2886,7 +2886,7 @@ ecore_evas_pointer_device_xy_get(const Ecore_Evas *ee, } } -EAPI void * +ECORE_EVAS_API void * ecore_evas_pixmap_visual_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, NULL); @@ -2913,7 +2913,7 @@ ecore_evas_pixmap_visual_get(const Ecore_Evas *ee) return NULL; } -EAPI unsigned long +ECORE_EVAS_API unsigned long ecore_evas_pixmap_colormap_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, 0); @@ -2940,7 +2940,7 @@ ecore_evas_pixmap_colormap_get(const Ecore_Evas *ee) return 0; } -EAPI int +ECORE_EVAS_API int ecore_evas_pixmap_depth_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, 0); @@ -2974,7 +2974,7 @@ static int _ecore_evas_fps_debug_init_count = 0; static int _ecore_evas_fps_debug_fd = -1; unsigned int *_ecore_evas_fps_rendertime_mmap = NULL; -EAPI void +ECORE_EVAS_API void _ecore_evas_fps_debug_init(void) { char buf[4096]; @@ -3024,7 +3024,7 @@ _ecore_evas_fps_debug_init(void) } } -EAPI void +ECORE_EVAS_API void _ecore_evas_fps_debug_shutdown(void) { _ecore_evas_fps_debug_init_count--; @@ -3046,7 +3046,7 @@ _ecore_evas_fps_debug_shutdown(void) } } -EAPI void +ECORE_EVAS_API void _ecore_evas_fps_debug_rendertime_add(double t) { static double rtime = 0.0; @@ -3124,7 +3124,7 @@ _ecore_evas_animators_do(Ecore_Evas *ee) } } -EAPI void +ECORE_EVAS_API void ecore_evas_animator_tick(Ecore_Evas *ee, Eina_Rectangle *viewport, double loop_time) { Ecore_Evas *subee; @@ -3368,13 +3368,13 @@ EFL_CALLBACKS_ARRAY_DEFINE(animator_watch, { EFL_EVENT_CALLBACK_ADD, _check_animator_event_catcher_add }, { EFL_EVENT_CALLBACK_DEL, _check_animator_event_catcher_del }); -EAPI void +ECORE_EVAS_API void _ecore_evas_register_animators(Ecore_Evas *ee) { efl_event_callback_array_add(ee->evas, animator_watch(), ee); } -EAPI void +ECORE_EVAS_API void _ecore_evas_register(Ecore_Evas *ee) { if (ee->registered) return; @@ -3392,7 +3392,7 @@ _ecore_evas_register(Ecore_Evas *ee) _evas_evas_buffer_rendered, ee); } -EAPI void +ECORE_EVAS_API void _ecore_evas_subregister(Ecore_Evas *ee_target, Ecore_Evas *ee) { ee_target->sub_ecore_evas = eina_list_append(ee_target->sub_ecore_evas, ee); @@ -3406,13 +3406,13 @@ _ecore_evas_subregister(Ecore_Evas *ee_target, Ecore_Evas *ee) _evas_evas_buffer_rendered, ee); } -EAPI void +ECORE_EVAS_API void _ecore_evas_ref(Ecore_Evas *ee) { ee->refcount++; } -EAPI void +ECORE_EVAS_API void _ecore_evas_unref(Ecore_Evas *ee) { ee->refcount--; @@ -3436,7 +3436,7 @@ _ecore_evas_vnc_stop(Ecore_Evas *ee) return EINA_TRUE; } -EAPI void +ECORE_EVAS_API void _ecore_evas_free(Ecore_Evas *ee) { Efl_Input_Device *dev; @@ -3548,7 +3548,7 @@ _ecore_evas_cb_idle_flush(void *data) return ECORE_CALLBACK_CANCEL; } -EAPI void +ECORE_EVAS_API void _ecore_evas_idle_timeout_update(Ecore_Evas *ee) { if (ee->engine.idle_flush_timer) @@ -3656,14 +3656,14 @@ _ecore_evas_mouse_move_process_internal(Ecore_Evas *ee, efl_unref(evt); } -EAPI void +ECORE_EVAS_API void _ecore_evas_mouse_move_process(Ecore_Evas *ee, int x, int y, unsigned int timestamp) { _ecore_evas_mouse_move_process_internal(ee, NULL, x, y, timestamp, EINA_TRUE); } -EAPI void +ECORE_EVAS_API void _ecore_evas_mouse_device_move_process(Ecore_Evas *ee, Efl_Input_Device *pointer, int x, int y, unsigned int timestamp) { @@ -3671,7 +3671,7 @@ _ecore_evas_mouse_device_move_process(Ecore_Evas *ee, Efl_Input_Device *pointer, EINA_TRUE); } -EAPI void +ECORE_EVAS_API void _ecore_evas_mouse_multi_move_process(Ecore_Evas *ee, int device, int x, int y, double radius, @@ -3719,7 +3719,7 @@ _ecore_evas_mouse_multi_move_process(Ecore_Evas *ee, int device, timestamp, NULL); } -EAPI void +ECORE_EVAS_API void _ecore_evas_mouse_multi_down_process(Ecore_Evas *ee, int device, int x, int y, double radius, @@ -3768,7 +3768,7 @@ _ecore_evas_mouse_multi_down_process(Ecore_Evas *ee, int device, flags, timestamp, NULL); } -EAPI void +ECORE_EVAS_API void _ecore_evas_mouse_multi_up_process(Ecore_Evas *ee, int device, int x, int y, double radius, @@ -3817,14 +3817,14 @@ _ecore_evas_mouse_multi_up_process(Ecore_Evas *ee, int device, flags, timestamp, NULL); } -EAPI void +ECORE_EVAS_API void _ecore_evas_window_profile_free(Ecore_Evas *ee) { if (ee->prop.profile.name) eina_stringshare_del(ee->prop.profile.name); } -EAPI void +ECORE_EVAS_API void _ecore_evas_window_available_profiles_free(Ecore_Evas *ee) { if (ee->prop.profile.available_list) @@ -3842,7 +3842,7 @@ _ecore_evas_window_available_profiles_free(Ecore_Evas *ee) } } -EAPI Eina_List * +ECORE_EVAS_API Eina_List * ecore_evas_ecore_evas_list_get(void) { Ecore_Evas *ee; @@ -3856,26 +3856,26 @@ ecore_evas_ecore_evas_list_get(void) return l; } -EAPI Eina_List * +ECORE_EVAS_API Eina_List * ecore_evas_sub_ecore_evas_list_get(const Ecore_Evas *ee) { ECORE_EVAS_CHECK(ee, NULL); return ee->sub_ecore_evas; } -EAPI void +ECORE_EVAS_API void ecore_evas_input_event_register(Ecore_Evas *ee) { ecore_evas_done(ee, EINA_FALSE); } -EAPI void +ECORE_EVAS_API void ecore_evas_input_event_unregister(Ecore_Evas *ee) { ecore_event_window_unregister(ee->prop.window); } -EAPI Eina_Strbuf * +ECORE_EVAS_API Eina_Strbuf * _ecore_evas_aux_hints_string_get(Ecore_Evas *ee) { Eina_Strbuf *buf = eina_strbuf_new(); @@ -3917,7 +3917,7 @@ _ecore_evas_aux_hint_free(Ecore_Evas *ee) } } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_fb_new(const char *disp_name, int rotation, int w, int h) { Ecore_Evas *ee; @@ -3937,7 +3937,7 @@ ecore_evas_fb_new(const char *disp_name, int rotation, int w, int h) return ee; } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_software_x11_new(const char *disp_name, Ecore_X_Window parent, int x, int y, int w, int h) { Ecore_Evas *ee; @@ -3957,7 +3957,7 @@ ecore_evas_software_x11_new(const char *disp_name, Ecore_X_Window parent, int x, return ee; } -EAPI Ecore_X_Window +ECORE_EVAS_API Ecore_X_Window ecore_evas_software_x11_window_get(const Ecore_Evas *ee) { Ecore_Evas_Interface_Software_X11 *iface; @@ -3967,7 +3967,7 @@ ecore_evas_software_x11_window_get(const Ecore_Evas *ee) return iface->window_get(ee); } -EAPI void +ECORE_EVAS_API void ecore_evas_software_x11_direct_resize_set(Ecore_Evas *ee, Eina_Bool on) { Ecore_Evas_Interface_Software_X11 *iface; @@ -3977,7 +3977,7 @@ ecore_evas_software_x11_direct_resize_set(Ecore_Evas *ee, Eina_Bool on) iface->resize_set(ee, on); } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_software_x11_direct_resize_get(const Ecore_Evas *ee) { Ecore_Evas_Interface_Software_X11 *iface; @@ -3987,7 +3987,7 @@ ecore_evas_software_x11_direct_resize_get(const Ecore_Evas *ee) return iface->resize_get(ee); } -EAPI void +ECORE_EVAS_API void ecore_evas_software_x11_extra_event_window_add(Ecore_Evas *ee, Ecore_X_Window win) { Ecore_Evas_Interface_Software_X11 *iface; @@ -3997,7 +3997,7 @@ ecore_evas_software_x11_extra_event_window_add(Ecore_Evas *ee, Ecore_X_Window wi iface->extra_event_window_add(ee, win); } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_software_x11_pixmap_new(const char *disp_name, Ecore_X_Window parent, int x, int y, int w, int h) { Ecore_Evas *ee; @@ -4018,7 +4018,7 @@ ecore_evas_software_x11_pixmap_new(const char *disp_name, Ecore_X_Window parent, } -EAPI Ecore_X_Pixmap +ECORE_EVAS_API Ecore_X_Pixmap ecore_evas_software_x11_pixmap_get(const Ecore_Evas *ee) { Ecore_Evas_Interface_Software_X11 *iface; @@ -4031,7 +4031,7 @@ ecore_evas_software_x11_pixmap_get(const Ecore_Evas *ee) return 0; } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_gl_x11_new(const char *disp_name, Ecore_X_Window parent, int x, int y, int w, int h) { Ecore_Evas *ee; @@ -4052,7 +4052,7 @@ ecore_evas_gl_x11_new(const char *disp_name, Ecore_X_Window parent, int x, int y } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_gl_x11_options_new(const char *disp_name, Ecore_X_Window parent, int x, int y, int w, int h, const int *opt) { Ecore_Evas *ee; @@ -4072,7 +4072,7 @@ ecore_evas_gl_x11_options_new(const char *disp_name, Ecore_X_Window parent, int return ee; } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_gl_x11_pixmap_new(const char *disp_name, Ecore_X_Window parent, int x, int y, int w, int h) { Ecore_Evas *ee; @@ -4093,7 +4093,7 @@ ecore_evas_gl_x11_pixmap_new(const char *disp_name, Ecore_X_Window parent, int x } -EAPI Ecore_X_Pixmap +ECORE_EVAS_API Ecore_X_Pixmap ecore_evas_gl_x11_pixmap_get(const Ecore_Evas *ee) { Ecore_Evas_Interface_Gl_X11 *iface; @@ -4106,7 +4106,7 @@ ecore_evas_gl_x11_pixmap_get(const Ecore_Evas *ee) return 0; } -EAPI Ecore_X_Window +ECORE_EVAS_API Ecore_X_Window ecore_evas_gl_x11_window_get(const Ecore_Evas *ee) { Ecore_Evas_Interface_Gl_X11 *iface; @@ -4116,7 +4116,7 @@ ecore_evas_gl_x11_window_get(const Ecore_Evas *ee) return iface->window_get(ee); } -EAPI void +ECORE_EVAS_API void ecore_evas_gl_x11_direct_resize_set(Ecore_Evas *ee, Eina_Bool on) { Ecore_Evas_Interface_Gl_X11 *iface; @@ -4126,7 +4126,7 @@ ecore_evas_gl_x11_direct_resize_set(Ecore_Evas *ee, Eina_Bool on) iface->resize_set(ee, on); } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_gl_x11_direct_resize_get(const Ecore_Evas *ee) { Ecore_Evas_Interface_Gl_X11 *iface; @@ -4136,7 +4136,7 @@ ecore_evas_gl_x11_direct_resize_get(const Ecore_Evas *ee) return iface->resize_get(ee); } -EAPI void +ECORE_EVAS_API void ecore_evas_gl_x11_extra_event_window_add(Ecore_Evas *ee, Ecore_X_Window win) { Ecore_Evas_Interface_Gl_X11 *iface; @@ -4146,7 +4146,7 @@ ecore_evas_gl_x11_extra_event_window_add(Ecore_Evas *ee, Ecore_X_Window win) iface->extra_event_window_add(ee, win); } -EAPI void +ECORE_EVAS_API void ecore_evas_gl_x11_pre_post_swap_callback_set(const Ecore_Evas *ee, void *data, void (*pre_cb) (void *data, Evas *e), void (*post_cb) (void *data, Evas *e)) { Ecore_Evas_Interface_Gl_X11 *iface; @@ -4156,7 +4156,7 @@ ecore_evas_gl_x11_pre_post_swap_callback_set(const Ecore_Evas *ee, void *data, v iface->pre_post_swap_callback_set(ee, data, pre_cb, post_cb); } -EAPI void +ECORE_EVAS_API void ecore_evas_x11_leader_set(Ecore_Evas *ee, Ecore_X_Window win) { Ecore_Evas_Interface_X11 *iface; @@ -4166,7 +4166,7 @@ ecore_evas_x11_leader_set(Ecore_Evas *ee, Ecore_X_Window win) iface->leader_set(ee, win); } -EAPI Ecore_X_Window +ECORE_EVAS_API Ecore_X_Window ecore_evas_x11_leader_get(Ecore_Evas *ee) { Ecore_Evas_Interface_X11 *iface; @@ -4176,7 +4176,7 @@ ecore_evas_x11_leader_get(Ecore_Evas *ee) return iface->leader_get(ee); } -EAPI void +ECORE_EVAS_API void ecore_evas_x11_leader_default_set(Ecore_Evas *ee) { Ecore_Evas_Interface_X11 *iface; @@ -4186,7 +4186,7 @@ ecore_evas_x11_leader_default_set(Ecore_Evas *ee) iface->leader_default_set(ee); } -EAPI void +ECORE_EVAS_API void ecore_evas_x11_shape_input_rectangle_set(Ecore_Evas *ee, int x, int y, int w, int h) { Ecore_Evas_Interface_X11 *iface; @@ -4196,7 +4196,7 @@ ecore_evas_x11_shape_input_rectangle_set(Ecore_Evas *ee, int x, int y, int w, in iface->shape_input_rectangle_set(ee, x, y, w, h); } -EAPI void +ECORE_EVAS_API void ecore_evas_x11_shape_input_rectangle_add(Ecore_Evas *ee, int x, int y, int w, int h) { Ecore_Evas_Interface_X11 *iface; @@ -4206,7 +4206,7 @@ ecore_evas_x11_shape_input_rectangle_add(Ecore_Evas *ee, int x, int y, int w, in iface->shape_input_rectangle_add(ee, x, y, w, h); } -EAPI void +ECORE_EVAS_API void ecore_evas_x11_shape_input_rectangle_subtract(Ecore_Evas *ee, int x, int y, int w, int h) { Ecore_Evas_Interface_X11 *iface; @@ -4216,7 +4216,7 @@ ecore_evas_x11_shape_input_rectangle_subtract(Ecore_Evas *ee, int x, int y, int iface->shape_input_rectangle_subtract(ee, x, y, w, h); } -EAPI void +ECORE_EVAS_API void ecore_evas_x11_shape_input_empty(Ecore_Evas *ee) { Ecore_Evas_Interface_X11 *iface; @@ -4226,7 +4226,7 @@ ecore_evas_x11_shape_input_empty(Ecore_Evas *ee) iface->shape_input_empty(ee); } -EAPI void +ECORE_EVAS_API void ecore_evas_x11_shape_input_reset(Ecore_Evas *ee) { Ecore_Evas_Interface_X11 *iface; @@ -4236,7 +4236,7 @@ ecore_evas_x11_shape_input_reset(Ecore_Evas *ee) iface->shape_input_reset(ee); } -EAPI void +ECORE_EVAS_API void ecore_evas_x11_shape_input_apply(Ecore_Evas *ee) { Ecore_Evas_Interface_X11 *iface; @@ -4246,7 +4246,7 @@ ecore_evas_x11_shape_input_apply(Ecore_Evas *ee) iface->shape_input_apply(ee); } -EAPI Evas_Object * +ECORE_EVAS_API Evas_Object * ecore_evas_vnc_start(Ecore_Evas *ee, const char *addr, int port, Ecore_Evas_Vnc_Client_Accept_Cb accept_cb, Ecore_Evas_Vnc_Client_Disconnected_Cb disc_cb, @@ -4278,7 +4278,7 @@ ecore_evas_vnc_start(Ecore_Evas *ee, const char *addr, int port, return r; } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_extn_socket_new(int w, int h) { Ecore_Evas *ee; @@ -4299,7 +4299,7 @@ ecore_evas_extn_socket_new(int w, int h) } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_extn_socket_listen(Ecore_Evas *ee, const char *svcname, int svcnum, Eina_Bool svcsys) { Ecore_Evas_Interface_Extn *iface; @@ -4309,7 +4309,7 @@ ecore_evas_extn_socket_listen(Ecore_Evas *ee, const char *svcname, int svcnum, E return iface->listen(ee, svcname, svcnum, svcsys); } -EAPI void +ECORE_EVAS_API void ecore_evas_extn_socket_events_block_set(Ecore_Evas *ee, Eina_Bool events_block) { void (*set)(Ecore_Evas*, Eina_Bool); @@ -4323,7 +4323,7 @@ ecore_evas_extn_socket_events_block_set(Ecore_Evas *ee, Eina_Bool events_block) set(ee, events_block); } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_extn_socket_events_block_get(Ecore_Evas *ee) { Eina_Bool (*get)(Ecore_Evas*); @@ -4337,7 +4337,7 @@ ecore_evas_extn_socket_events_block_get(Ecore_Evas *ee) return get(ee); } -EAPI void +ECORE_EVAS_API void ecore_evas_extn_plug_object_data_lock(Evas_Object *obj) { Ecore_Evas_Interface_Extn *iface; @@ -4352,7 +4352,7 @@ ecore_evas_extn_plug_object_data_lock(Evas_Object *obj) iface->data_lock(ee); } -EAPI void +ECORE_EVAS_API void ecore_evas_extn_plug_object_data_unlock(Evas_Object *obj) { Ecore_Evas_Interface_Extn *iface; @@ -4367,7 +4367,7 @@ ecore_evas_extn_plug_object_data_unlock(Evas_Object *obj) iface->data_unlock(ee); } -EAPI Evas_Object * +ECORE_EVAS_API Evas_Object * ecore_evas_extn_plug_new(Ecore_Evas *ee_target) { Evas_Object *(*new)(Ecore_Evas *); @@ -4380,7 +4380,7 @@ ecore_evas_extn_plug_new(Ecore_Evas *ee_target) return new(ee_target); } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_extn_plug_connect(Evas_Object *obj, const char *svcname, int svcnum, Eina_Bool svcsys) { Ecore_Evas_Interface_Extn *iface; @@ -4395,7 +4395,7 @@ ecore_evas_extn_plug_connect(Evas_Object *obj, const char *svcname, int svcnum, return iface->connect(ee, svcname, svcnum, svcsys); } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_sdl_new(const char* name, int w, int h, int fullscreen, int hwsurface, int noframe, int alpha) { @@ -4416,7 +4416,7 @@ ecore_evas_sdl_new(const char* name, int w, int h, int fullscreen, return ee; } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_sdl16_new(const char* name, int w, int h, int fullscreen, int hwsurface, int noframe, int alpha) { @@ -4437,7 +4437,7 @@ ecore_evas_sdl16_new(const char* name, int w, int h, int fullscreen, return ee; } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_gl_sdl_new(const char* name, int w, int h, int fullscreen, int noframe) { Ecore_Evas *ee; @@ -4457,7 +4457,7 @@ ecore_evas_gl_sdl_new(const char* name, int w, int h, int fullscreen, int nofram return ee; } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_wayland_shm_new(const char *disp_name, unsigned int parent, int x, int y, int w, int h, Eina_Bool frame) { @@ -4480,7 +4480,7 @@ ecore_evas_wayland_shm_new(const char *disp_name, unsigned int parent, return ee; } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_wayland_egl_new(const char *disp_name, unsigned int parent, int x, int y, int w, int h, Eina_Bool frame) { @@ -4545,7 +4545,7 @@ _wayland_egl_new(const char *disp_name, Ecore_Window parent, return ee; } -EAPI void +ECORE_EVAS_API void ecore_evas_wayland_resize(Ecore_Evas *ee, int location) { Ecore_Evas_Interface_Wayland *iface; @@ -4555,7 +4555,7 @@ ecore_evas_wayland_resize(Ecore_Evas *ee, int location) iface->resize(ee, location); } -EAPI void +ECORE_EVAS_API void ecore_evas_wayland_move(Ecore_Evas *ee, int x, int y) { Ecore_Evas_Interface_Wayland *iface; @@ -4565,7 +4565,7 @@ ecore_evas_wayland_move(Ecore_Evas *ee, int x, int y) iface->move(ee, x, y); } -EAPI void +ECORE_EVAS_API void ecore_evas_wayland_pointer_set(Ecore_Evas *ee, int hot_x, int hot_y) { Ecore_Evas_Interface_Wayland *iface; @@ -4575,7 +4575,7 @@ ecore_evas_wayland_pointer_set(Ecore_Evas *ee, int hot_x, int hot_y) iface->pointer_set(ee, hot_x, hot_y); } -EAPI void +ECORE_EVAS_API void ecore_evas_wayland_type_set(Ecore_Evas *ee, int type) { Ecore_Evas_Interface_Wayland *iface; @@ -4585,7 +4585,7 @@ ecore_evas_wayland_type_set(Ecore_Evas *ee, int type) iface->type_set(ee, type); } -EAPI Ecore_Wl_Window * +ECORE_EVAS_API Ecore_Wl_Window * ecore_evas_wayland_window_get(const Ecore_Evas *ee) { Ecore_Evas_Interface_Wayland *iface; @@ -4595,7 +4595,7 @@ ecore_evas_wayland_window_get(const Ecore_Evas *ee) return iface->window_get(ee); } -EAPI Ecore_Cocoa_Window * +ECORE_EVAS_API Ecore_Cocoa_Window * ecore_evas_cocoa_window_get(const Ecore_Evas *ee) { Ecore_Evas_Interface_Cocoa *iface; @@ -4604,7 +4604,7 @@ ecore_evas_cocoa_window_get(const Ecore_Evas *ee) return iface->window_get(ee); } -EAPI Ecore_Wl2_Window * +ECORE_EVAS_API Ecore_Wl2_Window * ecore_evas_wayland2_window_get(const Ecore_Evas *ee) { Ecore_Evas_Interface_Wayland *iface; @@ -4614,7 +4614,7 @@ ecore_evas_wayland2_window_get(const Ecore_Evas *ee) return iface->window2_get(ee); } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_drm_new(const char *disp_name, unsigned int parent, int x, int y, int w, int h) { @@ -4635,7 +4635,7 @@ ecore_evas_drm_new(const char *disp_name, unsigned int parent, return ee; } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_gl_drm_new(const char *disp_name, unsigned int parent, int x, int y, int w, int h) { @@ -4657,7 +4657,7 @@ ecore_evas_gl_drm_new(const char *disp_name, unsigned int parent, } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_software_gdi_new(Ecore_Win32_Window *parent, int x, int y, @@ -4682,7 +4682,7 @@ ecore_evas_software_gdi_new(Ecore_Win32_Window *parent, } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_software_ddraw_new(Ecore_Win32_Window *parent, int x, int y, @@ -4706,7 +4706,7 @@ ecore_evas_software_ddraw_new(Ecore_Win32_Window *parent, return ee; } -EAPI Ecore_Win32_Window * +ECORE_EVAS_API Ecore_Win32_Window * ecore_evas_win32_window_get(const Ecore_Evas *ee) { Ecore_Evas_Interface_Win32 *iface; @@ -4716,7 +4716,7 @@ ecore_evas_win32_window_get(const Ecore_Evas *ee) return iface->window_get(ee); } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_cocoa_new(Ecore_Cocoa_Window *parent, int x, int y, int w, int h) { Ecore_Evas *ee; @@ -4736,7 +4736,7 @@ ecore_evas_cocoa_new(Ecore_Cocoa_Window *parent, int x, int y, int w, int h) return ee; } -EAPI Ecore_Evas * +ECORE_EVAS_API Ecore_Evas * ecore_evas_psl1ght_new(const char* name, int w, int h) { Ecore_Evas *ee; @@ -5159,7 +5159,7 @@ _direct_key_updown_cb(Ecore_Evas *ee, const Ecore_Event_Key *info, Eina_Bool dow return processed; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool _ecore_evas_input_direct_cb(void *window, int type, const void *info) { Ecore_Evas *ee = window; @@ -5191,7 +5191,7 @@ _ecore_evas_input_direct_cb(void *window, int type, const void *info) } } -EAPI void +ECORE_EVAS_API void _ecore_evas_mouse_inout_set(Ecore_Evas *ee, Efl_Input_Device *mouse, Eina_Bool in, Eina_Bool force_out) { @@ -5221,7 +5221,7 @@ _ecore_evas_mouse_inout_set(Ecore_Evas *ee, Efl_Input_Device *mouse, } } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool _ecore_evas_mouse_in_check(Ecore_Evas *ee, Efl_Input_Device *mouse) { if (!mouse) @@ -5230,7 +5230,7 @@ _ecore_evas_mouse_in_check(Ecore_Evas *ee, Efl_Input_Device *mouse) return eina_list_data_find(ee->mice_in, mouse) ? EINA_TRUE : EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_device_mouse_out_set(Ecore_Evas *ee, Ecore_Evas_Mouse_IO_Cb func) { @@ -5240,7 +5240,7 @@ ecore_evas_callback_device_mouse_out_set(Ecore_Evas *ee, ee->func.fn_device_mouse_out = func; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_device_mouse_in_set(Ecore_Evas *ee, Ecore_Evas_Mouse_IO_Cb func) { @@ -5252,13 +5252,13 @@ ecore_evas_callback_device_mouse_in_set(Ecore_Evas *ee, static Evas *(*replacement_new)(int w, int h) = NULL; -EAPI void +ECORE_EVAS_API void ecore_evas_callback_new_set(Evas *(*func)(int w, int h)) { replacement_new = func; } -EAPI Evas * +ECORE_EVAS_API Evas * ecore_evas_evas_new(Ecore_Evas *ee, int w, int h) { Evas *e; @@ -5296,7 +5296,7 @@ _ecore_evas_event_del(void *data, const Efl_Event *ev EINA_UNUSED) ecore_evas_free(ee); } -EAPI void +ECORE_EVAS_API void ecore_evas_done(Ecore_Evas *ee, Eina_Bool single_window) { _ecore_evas_register(ee); @@ -5460,7 +5460,7 @@ _ecore_evas_animator_thaw(Ecore_Animator *in) _ticking_start(ee); } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_selection_changed_set(Ecore_Evas *ee, Ecore_Evas_Selection_Changed_Cb func) { ECORE_EVAS_CHECK(ee); @@ -5562,7 +5562,7 @@ _iterator_to_array(Eina_Iterator *iter, const char *existing_type) return ret; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_selection_set(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer buffer, Eina_Content *content) { EINA_SAFETY_ON_NULL_RETURN_VAL(ee, EINA_FALSE); @@ -5599,7 +5599,7 @@ ecore_evas_selection_set(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection return success; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_selection_exists(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer buffer) { EINA_SAFETY_ON_NULL_RETURN_VAL(ee, EINA_FALSE); @@ -5632,7 +5632,7 @@ _iterator_to_array_stringshared(Eina_Iterator *iter) return ret; } -EAPI Eina_Future* +ECORE_EVAS_API Eina_Future* ecore_evas_selection_get(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer buffer, Eina_Iterator *acceptable_types) { EINA_SAFETY_ON_NULL_RETURN_VAL(ee, NULL); @@ -5643,7 +5643,7 @@ ecore_evas_selection_get(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection return CALL(selection_request)(ee, seat, buffer, _iterator_to_array_stringshared(acceptable_types)); } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_drag_start(Ecore_Evas *ee, unsigned int seat, Eina_Content *content, Ecore_Evas *drag_rep, const char* action, Ecore_Evas_Drag_Finished_Cb terminate_cb, void *data) { EINA_SAFETY_ON_NULL_RETURN_VAL(ee, EINA_FALSE); @@ -5668,7 +5668,7 @@ ecore_evas_drag_start(Ecore_Evas *ee, unsigned int seat, Eina_Content *content, return success; } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_drag_cancel(Ecore_Evas *ee, unsigned int seat) { EINA_SAFETY_ON_NULL_RETURN_VAL(ee, EINA_FALSE); @@ -5678,21 +5678,21 @@ ecore_evas_drag_cancel(Ecore_Evas *ee, unsigned int seat) return CALL(dnd_stop)(ee, seat); } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_drop_motion_set(Ecore_Evas *ee, Ecore_Evas_Drag_Motion_Cb cb) { ECORE_EVAS_CHECK(ee); ee->func.fn_dnd_motion = cb; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_drop_state_changed_set(Ecore_Evas *ee, Ecore_Evas_Drag_State_Changed_Cb cb) { ECORE_EVAS_CHECK(ee); ee->func.fn_dnd_state_change = cb; } -EAPI void +ECORE_EVAS_API void ecore_evas_callback_drop_drop_set(Ecore_Evas *ee, Ecore_Evas_Drop_Cb cb) { ECORE_EVAS_CHECK(ee); @@ -5712,7 +5712,7 @@ _ecore_evas_active_dnd_free(Ecore_Evas_Active_Dnd *dnd) free(dnd); } -EAPI void +ECORE_EVAS_API void ecore_evas_dnd_enter(Ecore_Evas *ee, unsigned int seat, Eina_Iterator *available_types, Eina_Position2D pos) { Eina_Stringshare *s; @@ -5738,7 +5738,7 @@ ecore_evas_dnd_enter(Ecore_Evas *ee, unsigned int seat, Eina_Iterator *available ee->func.fn_dnd_state_change(ee, seat, pos, EINA_TRUE); } -EAPI Eina_Bool +ECORE_EVAS_API Eina_Bool ecore_evas_dnd_position_set(Ecore_Evas *ee, unsigned int seat, Eina_Position2D pos) { Ecore_Evas_Active_Dnd *dnd; @@ -5756,7 +5756,7 @@ err: return EINA_FALSE; } -EAPI void +ECORE_EVAS_API void ecore_evas_dnd_mark_motion_used(Ecore_Evas *ee, unsigned int seat) { Ecore_Evas_Active_Dnd *dnd; @@ -5768,7 +5768,7 @@ ecore_evas_dnd_mark_motion_used(Ecore_Evas *ee, unsigned int seat) dnd->last_motion_was_used = EINA_TRUE; } -EAPI void +ECORE_EVAS_API void ecore_evas_dnd_leave(Ecore_Evas *ee, unsigned int seat, Eina_Position2D pos) { Ecore_Evas_Active_Dnd *dnd; @@ -5788,7 +5788,7 @@ ecore_evas_dnd_leave(Ecore_Evas *ee, unsigned int seat, Eina_Position2D pos) } } -EAPI Eina_Position2D +ECORE_EVAS_API Eina_Position2D ecore_evas_dnd_pos_get(Ecore_Evas *ee, unsigned int seat) { Ecore_Evas_Active_Dnd *dnd; @@ -5803,7 +5803,7 @@ err: return EINA_POSITION2D(0, 0); } -EAPI Eina_Accessor* +ECORE_EVAS_API Eina_Accessor* ecore_evas_drop_available_types_get(Ecore_Evas *ee, unsigned int seat) { Ecore_Evas_Active_Dnd *dnd; |