diff options
author | Felipe Magno de Almeida <felipe@expertise.dev> | 2020-12-15 23:02:20 -0300 |
---|---|---|
committer | Felipe Magno de Almeida <felipe@expertise.dev> | 2020-12-15 23:06:12 -0300 |
commit | 0363fd8238c3df734c856a48cbb831b9651ed089 (patch) | |
tree | 951895156f0a5dd6aa7e88d8a602c58d79251c50 /src/lib | |
parent | 75f07e41c0242123f9e4e5dcbc303ad46ea0849b (diff) |
evas: Rename EAPI macro to EVAS_API in Evas library
Summary:
Patch from a series of patches to rename EAPI symbols to specific
library DSOs.
= The Rationale =
This patch is from a series of patches to rename EAPI symbols to
specific library DSOs.
EAPI was designed to be able to pass
`__attribute__ ((visibility ("default")))` for symbols with
GCC, which would mean that even if -fvisibility=hidden was used
when compiling the library, the needed symbols would get exported.
MSVC __almost__ works like GCC (or mingw) in which you can
declare everything as export and it will just work (slower, but
it will work). But there's a caveat: global variables will not
work the same way for MSVC, but works for mingw and GCC.
For global variables (as opposed to functions), MSVC requires
correct DSO visibility for MSVC: instead of declaring a symbol as
export for everything, you need to declare it as import when
importing from another DSO and export when defining it locally.
With current EAPI definitions, we get the following example
working in mingw and MSVC (observe it doesn't define any global
variables as exported symbols).
Example 1:
dll1:
```
EAPI void foo(void);
EAPI void bar()
{
foo();
}
```
dll2:
```
EAPI void foo()
{
printf ("foo\n");
}
```
This works fine with API defined as __declspec(dllexport) in both
cases and for gcc defining as
`__atttribute__((visibility("default")))`.
However, the following:
Example 2:
dll1:
```
EAPI extern int foo;
EAPI void foobar(void);
EAPI void bar()
{
foo = 5;
foobar();
}
```
dll2:
```
EAPI int foo = 0;
EAPI void foobar()
{
printf ("foo %d\n", foo);
}
```
This will work on mingw but will not work for MSVC. And that's why
LIBAPI is the only solution that works for MSVC.
Co-authored-by: João Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com>
Co-authored-by: Lucas Cavalcante de Sousa <lucks.sousa@gmail.com>
Co-authored-by: Ricardo Campos <ricardo.campos@expertise.dev>
Reviewers: vtorri, woohyun, jptiz, lucas
Reviewed By: vtorri, lucas
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D12214
Diffstat (limited to 'src/lib')
172 files changed, 2807 insertions, 3032 deletions
diff --git a/src/lib/evas/Efl_Canvas.h b/src/lib/evas/Efl_Canvas.h index e54773040b..2254992063 100644 --- a/src/lib/evas/Efl_Canvas.h +++ b/src/lib/evas/Efl_Canvas.h | |||
@@ -8,31 +8,8 @@ | |||
8 | #include <Eo.h> | 8 | #include <Eo.h> |
9 | /* This include has been added to support Eo in Evas */ | 9 | /* This include has been added to support Eo in Evas */ |
10 | #include <Efl.h> | 10 | #include <Efl.h> |
11 | #ifdef EAPI | ||
12 | # undef EAPI | ||
13 | #endif | ||
14 | 11 | ||
15 | #ifdef _WIN32 | 12 | #include <evas_api.h> |
16 | # ifdef EFL_BUILD | ||
17 | # ifdef DLL_EXPORT | ||
18 | # define EAPI __declspec(dllexport) | ||
19 | # else | ||
20 | # define EAPI | ||
21 | # endif | ||
22 | # else | ||
23 | # define EAPI __declspec(dllimport) | ||
24 | # endif | ||
25 | #else | ||
26 | # ifdef __GNUC__ | ||
27 | # if __GNUC__ >= 4 | ||
28 | # define EAPI __attribute__ ((visibility("default"))) | ||
29 | # else | ||
30 | # define EAPI | ||
31 | # endif | ||
32 | # else | ||
33 | # define EAPI | ||
34 | # endif | ||
35 | #endif | ||
36 | 13 | ||
37 | #ifdef __cplusplus | 14 | #ifdef __cplusplus |
38 | extern "C" { | 15 | extern "C" { |
@@ -131,5 +108,5 @@ extern "C" { | |||
131 | #ifdef __cplusplus | 108 | #ifdef __cplusplus |
132 | } | 109 | } |
133 | #endif | 110 | #endif |
134 | #undef EAPI | 111 | |
135 | #endif | 112 | #endif |
diff --git a/src/lib/evas/Evas.h b/src/lib/evas/Evas.h index 0bec46a0cf..000625afb4 100644 --- a/src/lib/evas/Evas.h +++ b/src/lib/evas/Evas.h | |||
@@ -174,31 +174,7 @@ | |||
174 | 174 | ||
175 | #include <Evas_Loader.h> | 175 | #include <Evas_Loader.h> |
176 | 176 | ||
177 | #ifdef EAPI | 177 | #include <evas_api.h> |
178 | # undef EAPI | ||
179 | #endif | ||
180 | |||
181 | #ifdef _WIN32 | ||
182 | # ifdef EFL_BUILD | ||
183 | # ifdef DLL_EXPORT | ||
184 | # define EAPI __declspec(dllexport) | ||
185 | # else | ||
186 | # define EAPI | ||
187 | # endif | ||
188 | # else | ||
189 | # define EAPI __declspec(dllimport) | ||
190 | # endif | ||
191 | #else | ||
192 | # ifdef __GNUC__ | ||
193 | # if __GNUC__ >= 4 | ||
194 | # define EAPI __attribute__ ((visibility("default"))) | ||
195 | # else | ||
196 | # define EAPI | ||
197 | # endif | ||
198 | # else | ||
199 | # define EAPI | ||
200 | # endif | ||
201 | #endif | ||
202 | 178 | ||
203 | #ifdef __cplusplus | 179 | #ifdef __cplusplus |
204 | extern "C" { | 180 | extern "C" { |
@@ -221,7 +197,4 @@ extern "C" { | |||
221 | } | 197 | } |
222 | #endif | 198 | #endif |
223 | 199 | ||
224 | #undef EAPI | ||
225 | #define EAPI | ||
226 | |||
227 | #endif | 200 | #endif |
diff --git a/src/lib/evas/Evas_Common.h b/src/lib/evas/Evas_Common.h index c8128e732f..35b18f59d1 100644 --- a/src/lib/evas/Evas_Common.h +++ b/src/lib/evas/Evas_Common.h | |||
@@ -49,7 +49,7 @@ typedef struct _Evas_Version | |||
49 | * @ingroup Evas_Main_Group | 49 | * @ingroup Evas_Main_Group |
50 | */ | 50 | */ |
51 | 51 | ||
52 | EAPI extern Evas_Version * evas_version; | 52 | EVAS_API extern Evas_Version * evas_version; |
53 | 53 | ||
54 | /** | 54 | /** |
55 | * @file | 55 | * @file |
@@ -488,7 +488,7 @@ typedef void (*Evas_Async_Events_Put_Cb)(void *target, Evas_Callback_Type t | |||
488 | * @since 1.8 | 488 | * @since 1.8 |
489 | */ | 489 | */ |
490 | EINA_DEPRECATED | 490 | EINA_DEPRECATED |
491 | EAPI const char *evas_cserve_path_get(void); | 491 | EVAS_API const char *evas_cserve_path_get(void); |
492 | 492 | ||
493 | /** | 493 | /** |
494 | * @brief Directly initialize Evas and its required dependencies. | 494 | * @brief Directly initialize Evas and its required dependencies. |
@@ -520,7 +520,7 @@ EAPI const char *evas_cserve_path_get(void); | |||
520 | * | 520 | * |
521 | * @ingroup Evas_Main_Group | 521 | * @ingroup Evas_Main_Group |
522 | */ | 522 | */ |
523 | EAPI int evas_init(void); | 523 | EVAS_API int evas_init(void); |
524 | 524 | ||
525 | /** | 525 | /** |
526 | * @brief Directly shutdown Evas. | 526 | * @brief Directly shutdown Evas. |
@@ -546,7 +546,7 @@ EAPI int evas_init(void); | |||
546 | * | 546 | * |
547 | * @ingroup Evas_Main_Group | 547 | * @ingroup Evas_Main_Group |
548 | */ | 548 | */ |
549 | EAPI int evas_shutdown(void); | 549 | EVAS_API int evas_shutdown(void); |
550 | 550 | ||
551 | /** | 551 | /** |
552 | * @brief Get the error status of the most recent memory allocation call | 552 | * @brief Get the error status of the most recent memory allocation call |
@@ -594,7 +594,7 @@ EAPI int evas_shutdown(void); | |||
594 | * | 594 | * |
595 | * @ingroup Evas_Main_Group | 595 | * @ingroup Evas_Main_Group |
596 | */ | 596 | */ |
597 | EAPI Evas_Alloc_Error evas_alloc_error(void); | 597 | EVAS_API Evas_Alloc_Error evas_alloc_error(void); |
598 | 598 | ||
599 | /** | 599 | /** |
600 | * @brief Access the canvas' asynchronous event queue. | 600 | * @brief Access the canvas' asynchronous event queue. |
@@ -613,7 +613,7 @@ EAPI Evas_Alloc_Error evas_alloc_error(void); | |||
613 | * | 613 | * |
614 | * @ingroup Evas_Main_Group | 614 | * @ingroup Evas_Main_Group |
615 | */ | 615 | */ |
616 | EAPI int evas_async_events_fd_get(void) EINA_WARN_UNUSED_RESULT; | 616 | EVAS_API int evas_async_events_fd_get(void) EINA_WARN_UNUSED_RESULT; |
617 | 617 | ||
618 | /** | 618 | /** |
619 | * @brief Process the asynchronous event queue. | 619 | * @brief Process the asynchronous event queue. |
@@ -626,7 +626,7 @@ EAPI int evas_async_events_fd_get(void) EINA_WARN_UNUSED_RESULT; | |||
626 | * | 626 | * |
627 | * @ingroup Evas_Main_Group | 627 | * @ingroup Evas_Main_Group |
628 | */ | 628 | */ |
629 | EAPI int evas_async_events_process(void); | 629 | EVAS_API int evas_async_events_process(void); |
630 | 630 | ||
631 | /** | 631 | /** |
632 | * @brief Insert asynchronous events on the canvas. | 632 | * @brief Insert asynchronous events on the canvas. |
@@ -644,7 +644,7 @@ EAPI int evas_async_events_process(void); | |||
644 | * | 644 | * |
645 | * @ingroup Evas_Main_Group | 645 | * @ingroup Evas_Main_Group |
646 | */ | 646 | */ |
647 | EAPI Eina_Bool evas_async_events_put(const void *target, Evas_Callback_Type type, void *event_info, Evas_Async_Events_Put_Cb func) EINA_ARG_NONNULL(1, 4); | 647 | EVAS_API Eina_Bool evas_async_events_put(const void *target, Evas_Callback_Type type, void *event_info, Evas_Async_Events_Put_Cb func) EINA_ARG_NONNULL(1, 4); |
648 | 648 | ||
649 | /** | 649 | /** |
650 | * @defgroup Evas_Canvas Canvas Functions | 650 | * @defgroup Evas_Canvas Canvas Functions |
@@ -751,7 +751,7 @@ EAPI Eina_Bool evas_async_events_put(const void *target, Evas_Callback_T | |||
751 | * evas_output_method_set(evas, engine_id); | 751 | * evas_output_method_set(evas, engine_id); |
752 | * @endcode | 752 | * @endcode |
753 | */ | 753 | */ |
754 | EAPI int evas_render_method_lookup(const char *name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); | 754 | EVAS_API int evas_render_method_lookup(const char *name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); |
755 | 755 | ||
756 | /** | 756 | /** |
757 | * List all the rendering engines compiled into the copy of the Evas library | 757 | * List all the rendering engines compiled into the copy of the Evas library |
@@ -784,7 +784,7 @@ EAPI int evas_render_method_lookup(const char *name) EINA_WARN_UNU | |||
784 | * evas_render_method_list_free(engine_list); | 784 | * evas_render_method_list_free(engine_list); |
785 | * @endcode | 785 | * @endcode |
786 | */ | 786 | */ |
787 | EAPI Eina_List *evas_render_method_list(void) EINA_WARN_UNUSED_RESULT; | 787 | EVAS_API Eina_List *evas_render_method_list(void) EINA_WARN_UNUSED_RESULT; |
788 | 788 | ||
789 | /** | 789 | /** |
790 | * This function should be called to free a list of engine names | 790 | * This function should be called to free a list of engine names |
@@ -814,7 +814,7 @@ EAPI Eina_List *evas_render_method_list(void) EINA_WARN_UNUSED_RESULT; | |||
814 | * evas_render_method_list_free(engine_list); | 814 | * evas_render_method_list_free(engine_list); |
815 | * @endcode | 815 | * @endcode |
816 | */ | 816 | */ |
817 | EAPI void evas_render_method_list_free(Eina_List *list); | 817 | EVAS_API void evas_render_method_list_free(Eina_List *list); |
818 | 818 | ||
819 | /** | 819 | /** |
820 | * @} | 820 | * @} |
@@ -863,7 +863,7 @@ EAPI void evas_render_method_list_free(Eina_List *list); | |||
863 | * | 863 | * |
864 | * @ingroup Evas_Canvas | 864 | * @ingroup Evas_Canvas |
865 | */ | 865 | */ |
866 | EAPI void evas_render_updates_free(Eina_List *updates); | 866 | EVAS_API void evas_render_updates_free(Eina_List *updates); |
867 | 867 | ||
868 | 868 | ||
869 | /** | 869 | /** |
@@ -937,7 +937,7 @@ EAPI void evas_render_updates_free(Eina_List *updates); | |||
937 | * @see evas_device_add_full | 937 | * @see evas_device_add_full |
938 | * @since 1.8 | 938 | * @since 1.8 |
939 | */ | 939 | */ |
940 | EAPI Evas_Device *evas_device_add(Evas *e); | 940 | EVAS_API Evas_Device *evas_device_add(Evas *e); |
941 | 941 | ||
942 | /** | 942 | /** |
943 | * Add a new device type | 943 | * Add a new device type |
@@ -959,7 +959,7 @@ EAPI Evas_Device *evas_device_add(Evas *e); | |||
959 | * @see evas_device_del | 959 | * @see evas_device_del |
960 | * @since 1.19 | 960 | * @since 1.19 |
961 | */ | 961 | */ |
962 | EAPI Evas_Device *evas_device_add_full(Evas *e, const char *name, | 962 | EVAS_API Evas_Device *evas_device_add_full(Evas *e, const char *name, |
963 | const char *desc, | 963 | const char *desc, |
964 | Evas_Device *parent_dev, | 964 | Evas_Device *parent_dev, |
965 | Evas_Device *emulation_dev, | 965 | Evas_Device *emulation_dev, |
@@ -976,7 +976,7 @@ EAPI Evas_Device *evas_device_add_full(Evas *e, const char *name, | |||
976 | * @see evas_device_pop | 976 | * @see evas_device_pop |
977 | * @since 1.8 | 977 | * @since 1.8 |
978 | */ | 978 | */ |
979 | EAPI void evas_device_del(Evas_Device *dev); | 979 | EVAS_API void evas_device_del(Evas_Device *dev); |
980 | 980 | ||
981 | /** | 981 | /** |
982 | * Push the current context device onto the device stack | 982 | * Push the current context device onto the device stack |
@@ -1005,7 +1005,7 @@ EAPI void evas_device_del(Evas_Device *dev); | |||
1005 | * @see evas_device_pop | 1005 | * @see evas_device_pop |
1006 | * @since 1.8 | 1006 | * @since 1.8 |
1007 | */ | 1007 | */ |
1008 | EAPI void evas_device_push(Evas *e, Evas_Device *dev); | 1008 | EVAS_API void evas_device_push(Evas *e, Evas_Device *dev); |
1009 | 1009 | ||
1010 | /** | 1010 | /** |
1011 | * This pops the top of the device stack for the canvas | 1011 | * This pops the top of the device stack for the canvas |
@@ -1019,7 +1019,7 @@ EAPI void evas_device_push(Evas *e, Evas_Device *dev); | |||
1019 | * @see evas_device_push | 1019 | * @see evas_device_push |
1020 | * @since 1.8 | 1020 | * @since 1.8 |
1021 | */ | 1021 | */ |
1022 | EAPI void evas_device_pop(Evas *e); | 1022 | EVAS_API void evas_device_pop(Evas *e); |
1023 | 1023 | ||
1024 | /** | 1024 | /** |
1025 | * List all current devices attached to the given canvas and/or device | 1025 | * List all current devices attached to the given canvas and/or device |
@@ -1045,7 +1045,7 @@ EAPI void evas_device_pop(Evas *e); | |||
1045 | * @see evas_device_emulation_source_get | 1045 | * @see evas_device_emulation_source_get |
1046 | * @since 1.8 | 1046 | * @since 1.8 |
1047 | */ | 1047 | */ |
1048 | EAPI const Eina_List *evas_device_list(Evas *e, const Evas_Device *dev); | 1048 | EVAS_API const Eina_List *evas_device_list(Evas *e, const Evas_Device *dev); |
1049 | 1049 | ||
1050 | /** | 1050 | /** |
1051 | * Get a device by its name | 1051 | * Get a device by its name |
@@ -1061,7 +1061,7 @@ EAPI const Eina_List *evas_device_list(Evas *e, const Evas_Device *dev); | |||
1061 | * | 1061 | * |
1062 | * @since 1.19 | 1062 | * @since 1.19 |
1063 | */ | 1063 | */ |
1064 | EAPI Evas_Device *evas_device_get(Evas *e, const char *name); | 1064 | EVAS_API Evas_Device *evas_device_get(Evas *e, const char *name); |
1065 | 1065 | ||
1066 | /** | 1066 | /** |
1067 | * Get a device by its seat id | 1067 | * Get a device by its seat id |
@@ -1075,7 +1075,7 @@ EAPI Evas_Device *evas_device_get(Evas *e, const char *name); | |||
1075 | * | 1075 | * |
1076 | * @since 1.20 | 1076 | * @since 1.20 |
1077 | */ | 1077 | */ |
1078 | EAPI Evas_Device *evas_device_get_by_seat_id(Evas *eo_e, unsigned int id); | 1078 | EVAS_API Evas_Device *evas_device_get_by_seat_id(Evas *eo_e, unsigned int id); |
1079 | 1079 | ||
1080 | /** | 1080 | /** |
1081 | * Set the name of a device as a string | 1081 | * Set the name of a device as a string |
@@ -1085,7 +1085,7 @@ EAPI Evas_Device *evas_device_get_by_seat_id(Evas *eo_e, unsigned int id); | |||
1085 | * | 1085 | * |
1086 | * @since 1.8 | 1086 | * @since 1.8 |
1087 | */ | 1087 | */ |
1088 | EAPI void evas_device_name_set(Evas_Device *dev, const char *name); | 1088 | EVAS_API void evas_device_name_set(Evas_Device *dev, const char *name); |
1089 | 1089 | ||
1090 | /** | 1090 | /** |
1091 | * Get the name of a device | 1091 | * Get the name of a device |
@@ -1101,7 +1101,7 @@ EAPI void evas_device_name_set(Evas_Device *dev, const char *name); | |||
1101 | * | 1101 | * |
1102 | * @since 1.8 | 1102 | * @since 1.8 |
1103 | */ | 1103 | */ |
1104 | EAPI const char *evas_device_name_get(const Evas_Device *dev); | 1104 | EVAS_API const char *evas_device_name_get(const Evas_Device *dev); |
1105 | 1105 | ||
1106 | /** | 1106 | /** |
1107 | * Set the seat id of a device | 1107 | * Set the seat id of a device |
@@ -1111,7 +1111,7 @@ EAPI const char *evas_device_name_get(const Evas_Device *dev); | |||
1111 | * | 1111 | * |
1112 | * @since 1.20 | 1112 | * @since 1.20 |
1113 | */ | 1113 | */ |
1114 | EAPI void evas_device_seat_id_set(Evas_Device *dev, unsigned int id); | 1114 | EVAS_API void evas_device_seat_id_set(Evas_Device *dev, unsigned int id); |
1115 | 1115 | ||
1116 | /** | 1116 | /** |
1117 | * Get the seat id of a device | 1117 | * Get the seat id of a device |
@@ -1125,7 +1125,7 @@ EAPI void evas_device_seat_id_set(Evas_Device *dev, unsigned int id); | |||
1125 | * | 1125 | * |
1126 | * @since 1.20 | 1126 | * @since 1.20 |
1127 | */ | 1127 | */ |
1128 | EAPI unsigned int evas_device_seat_id_get(const Evas_Device *dev); | 1128 | EVAS_API unsigned int evas_device_seat_id_get(const Evas_Device *dev); |
1129 | 1129 | ||
1130 | /** | 1130 | /** |
1131 | * Set the description of a device as a string | 1131 | * Set the description of a device as a string |
@@ -1135,7 +1135,7 @@ EAPI unsigned int evas_device_seat_id_get(const Evas_Device *dev); | |||
1135 | * | 1135 | * |
1136 | * @since 1.8 | 1136 | * @since 1.8 |
1137 | */ | 1137 | */ |
1138 | EAPI void evas_device_description_set(Evas_Device *dev, const char *desc); | 1138 | EVAS_API void evas_device_description_set(Evas_Device *dev, const char *desc); |
1139 | 1139 | ||
1140 | /** | 1140 | /** |
1141 | * Get the description of a device | 1141 | * Get the description of a device |
@@ -1153,7 +1153,7 @@ EAPI void evas_device_description_set(Evas_Device *dev, const char *desc); | |||
1153 | * | 1153 | * |
1154 | * @since 1.8 | 1154 | * @since 1.8 |
1155 | */ | 1155 | */ |
1156 | EAPI const char *evas_device_description_get(const Evas_Device *dev); | 1156 | EVAS_API const char *evas_device_description_get(const Evas_Device *dev); |
1157 | 1157 | ||
1158 | /** | 1158 | /** |
1159 | * Set the parent of a device | 1159 | * Set the parent of a device |
@@ -1175,7 +1175,7 @@ EAPI const char *evas_device_description_get(const Evas_Device *dev); | |||
1175 | * | 1175 | * |
1176 | * @since 1.8 | 1176 | * @since 1.8 |
1177 | */ | 1177 | */ |
1178 | EAPI void evas_device_parent_set(Evas_Device *dev, Evas_Device *parent) EINA_DEPRECATED; | 1178 | EVAS_API void evas_device_parent_set(Evas_Device *dev, Evas_Device *parent) EINA_DEPRECATED; |
1179 | 1179 | ||
1180 | /** | 1180 | /** |
1181 | * Get the parent of a device | 1181 | * Get the parent of a device |
@@ -1188,7 +1188,7 @@ EAPI void evas_device_parent_set(Evas_Device *dev, Evas_Device *parent) EINA_DEP | |||
1188 | * | 1188 | * |
1189 | * @since 1.8 | 1189 | * @since 1.8 |
1190 | */ | 1190 | */ |
1191 | EAPI const Evas_Device *evas_device_parent_get(const Evas_Device *dev); | 1191 | EVAS_API const Evas_Device *evas_device_parent_get(const Evas_Device *dev); |
1192 | 1192 | ||
1193 | /** | 1193 | /** |
1194 | * Set the major class of device | 1194 | * Set the major class of device |
@@ -1203,7 +1203,7 @@ EAPI const Evas_Device *evas_device_parent_get(const Evas_Device *dev); | |||
1203 | * | 1203 | * |
1204 | * @since 1.8 | 1204 | * @since 1.8 |
1205 | */ | 1205 | */ |
1206 | EAPI void evas_device_class_set(Evas_Device *dev, Evas_Device_Class clas) EINA_DEPRECATED; | 1206 | EVAS_API void evas_device_class_set(Evas_Device *dev, Evas_Device_Class clas) EINA_DEPRECATED; |
1207 | 1207 | ||
1208 | /** | 1208 | /** |
1209 | * Get the major class of a device | 1209 | * Get the major class of a device |
@@ -1215,7 +1215,7 @@ EAPI void evas_device_class_set(Evas_Device *dev, Evas_Device_Class clas) EINA_D | |||
1215 | * | 1215 | * |
1216 | * @since 1.8 | 1216 | * @since 1.8 |
1217 | */ | 1217 | */ |
1218 | EAPI Evas_Device_Class evas_device_class_get(const Evas_Device *dev); | 1218 | EVAS_API Evas_Device_Class evas_device_class_get(const Evas_Device *dev); |
1219 | 1219 | ||
1220 | /** | 1220 | /** |
1221 | * Set the sub-class of a device | 1221 | * Set the sub-class of a device |
@@ -1228,7 +1228,7 @@ EAPI Evas_Device_Class evas_device_class_get(const Evas_Device *dev); | |||
1228 | * | 1228 | * |
1229 | * @since 1.8 | 1229 | * @since 1.8 |
1230 | */ | 1230 | */ |
1231 | EAPI void evas_device_subclass_set(Evas_Device *dev, Evas_Device_Subclass clas); | 1231 | EVAS_API void evas_device_subclass_set(Evas_Device *dev, Evas_Device_Subclass clas); |
1232 | 1232 | ||
1233 | /** | 1233 | /** |
1234 | * Get the device sub-class | 1234 | * Get the device sub-class |
@@ -1238,7 +1238,7 @@ EAPI void evas_device_subclass_set(Evas_Device *dev, Evas_Device_Subclass clas); | |||
1238 | * | 1238 | * |
1239 | * @since 1.8 | 1239 | * @since 1.8 |
1240 | */ | 1240 | */ |
1241 | EAPI Evas_Device_Subclass evas_device_subclass_get(const Evas_Device *dev); | 1241 | EVAS_API Evas_Device_Subclass evas_device_subclass_get(const Evas_Device *dev); |
1242 | 1242 | ||
1243 | /** | 1243 | /** |
1244 | * Set the emulation source device | 1244 | * Set the emulation source device |
@@ -1255,7 +1255,7 @@ EAPI Evas_Device_Subclass evas_device_subclass_get(const Evas_Device *dev); | |||
1255 | * | 1255 | * |
1256 | * @since 1.8 | 1256 | * @since 1.8 |
1257 | */ | 1257 | */ |
1258 | EAPI void evas_device_emulation_source_set(Evas_Device *dev, Evas_Device *src); | 1258 | EVAS_API void evas_device_emulation_source_set(Evas_Device *dev, Evas_Device *src); |
1259 | 1259 | ||
1260 | /** | 1260 | /** |
1261 | * Get the emulation source device | 1261 | * Get the emulation source device |
@@ -1265,7 +1265,7 @@ EAPI void evas_device_emulation_source_set(Evas_Device *dev, Evas_Device *src); | |||
1265 | * | 1265 | * |
1266 | * @since 1.8 | 1266 | * @since 1.8 |
1267 | */ | 1267 | */ |
1268 | EAPI const Evas_Device *evas_device_emulation_source_get(const Evas_Device *dev); | 1268 | EVAS_API const Evas_Device *evas_device_emulation_source_get(const Evas_Device *dev); |
1269 | 1269 | ||
1270 | /** | 1270 | /** |
1271 | * @} | 1271 | * @} |
@@ -1777,7 +1777,7 @@ typedef void (*Evas_Object_Image_Pixels_Get_Cb)(void *data, Evas_Object *o); | |||
1777 | * | 1777 | * |
1778 | * This functions is threadsafe. | 1778 | * This functions is threadsafe. |
1779 | */ | 1779 | */ |
1780 | EAPI Eina_Bool evas_object_image_extension_can_load_get(const char *file); | 1780 | EVAS_API Eina_Bool evas_object_image_extension_can_load_get(const char *file); |
1781 | 1781 | ||
1782 | /** | 1782 | /** |
1783 | * Check if a file extension may be supported by @ref Evas_Object_Image. | 1783 | * Check if a file extension may be supported by @ref Evas_Object_Image. |
@@ -1789,7 +1789,7 @@ EAPI Eina_Bool evas_object_image_extension_can_load_get(cons | |||
1789 | * | 1789 | * |
1790 | * This functions is threadsafe. | 1790 | * This functions is threadsafe. |
1791 | */ | 1791 | */ |
1792 | EAPI Eina_Bool evas_object_image_extension_can_load_fast_get(const char *file); | 1792 | EVAS_API Eina_Bool evas_object_image_extension_can_load_fast_get(const char *file); |
1793 | /** | 1793 | /** |
1794 | * @} | 1794 | * @} |
1795 | */ | 1795 | */ |
@@ -2336,7 +2336,7 @@ struct _Evas_Smart_Cb_Description | |||
2336 | * when they are not referenced anymore. Thus, this function is of no use | 2336 | * when they are not referenced anymore. Thus, this function is of no use |
2337 | * for Evas users, most probably. | 2337 | * for Evas users, most probably. |
2338 | */ | 2338 | */ |
2339 | EAPI void evas_smart_free(Evas_Smart *s) EINA_ARG_NONNULL(1); | 2339 | EVAS_API void evas_smart_free(Evas_Smart *s) EINA_ARG_NONNULL(1); |
2340 | 2340 | ||
2341 | /** | 2341 | /** |
2342 | * Creates a new #Evas_Smart from a given #Evas_Smart_Class struct | 2342 | * Creates a new #Evas_Smart from a given #Evas_Smart_Class struct |
@@ -2353,7 +2353,7 @@ EAPI void evas_smart_free(Evas_Smart *s) EINA_ARG_N | |||
2353 | * construct yours, consider using the #EVAS_SMART_SUBCLASS_NEW macro, | 2353 | * construct yours, consider using the #EVAS_SMART_SUBCLASS_NEW macro, |
2354 | * which will make use of this function automatically for you. | 2354 | * which will make use of this function automatically for you. |
2355 | */ | 2355 | */ |
2356 | EAPI Evas_Smart *evas_smart_class_new(const Evas_Smart_Class *sc) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC; | 2356 | EVAS_API Evas_Smart *evas_smart_class_new(const Evas_Smart_Class *sc) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC; |
2357 | 2357 | ||
2358 | /** | 2358 | /** |
2359 | * Get the #Evas_Smart_Class handle of an #Evas_Smart struct | 2359 | * Get the #Evas_Smart_Class handle of an #Evas_Smart struct |
@@ -2361,7 +2361,7 @@ EAPI Evas_Smart *evas_smart_class_new(const Evas_Smart_Cla | |||
2361 | * @param s a valid #Evas_Smart pointer | 2361 | * @param s a valid #Evas_Smart pointer |
2362 | * @return the #Evas_Smart_Class in it | 2362 | * @return the #Evas_Smart_Class in it |
2363 | */ | 2363 | */ |
2364 | EAPI const Evas_Smart_Class *evas_smart_class_get(const Evas_Smart *s) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); | 2364 | EVAS_API const Evas_Smart_Class *evas_smart_class_get(const Evas_Smart *s) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); |
2365 | 2365 | ||
2366 | /** | 2366 | /** |
2367 | * @brief Get the data pointer set on an #Evas_Smart struct | 2367 | * @brief Get the data pointer set on an #Evas_Smart struct |
@@ -2371,7 +2371,7 @@ EAPI const Evas_Smart_Class *evas_smart_class_get(const Evas_Smart *s) | |||
2371 | * This data pointer is set as the data field in the #Evas_Smart_Class | 2371 | * This data pointer is set as the data field in the #Evas_Smart_Class |
2372 | * passed in to evas_smart_class_new(). | 2372 | * passed in to evas_smart_class_new(). |
2373 | */ | 2373 | */ |
2374 | EAPI void *evas_smart_data_get(const Evas_Smart *s) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); | 2374 | EVAS_API void *evas_smart_data_get(const Evas_Smart *s) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); |
2375 | 2375 | ||
2376 | /** | 2376 | /** |
2377 | * Get the smart callbacks known by this #Evas_Smart handle's smart | 2377 | * Get the smart callbacks known by this #Evas_Smart handle's smart |
@@ -2410,7 +2410,7 @@ EAPI void *evas_smart_data_get(const Evas_Smart *s) | |||
2410 | * as well. | 2410 | * as well. |
2411 | * @see evas_object_smart_callbacks_descriptions_get() | 2411 | * @see evas_object_smart_callbacks_descriptions_get() |
2412 | */ | 2412 | */ |
2413 | EAPI const Evas_Smart_Cb_Description **evas_smart_callbacks_descriptions_get(const Evas_Smart *s, unsigned int *count) EINA_ARG_NONNULL(1, 1); | 2413 | EVAS_API const Evas_Smart_Cb_Description **evas_smart_callbacks_descriptions_get(const Evas_Smart *s, unsigned int *count) EINA_ARG_NONNULL(1, 1); |
2414 | 2414 | ||
2415 | /** | 2415 | /** |
2416 | * Find a callback description for the callback named @a name. | 2416 | * Find a callback description for the callback named @a name. |
@@ -2425,7 +2425,7 @@ EAPI const Evas_Smart_Cb_Description **evas_smart_callbacks_descriptions_get(con | |||
2425 | * | 2425 | * |
2426 | * @see evas_smart_callbacks_descriptions_get() | 2426 | * @see evas_smart_callbacks_descriptions_get() |
2427 | */ | 2427 | */ |
2428 | EAPI const Evas_Smart_Cb_Description *evas_smart_callback_description_find(const Evas_Smart *s, const char *name) EINA_ARG_NONNULL(1, 2); | 2428 | EVAS_API const Evas_Smart_Cb_Description *evas_smart_callback_description_find(const Evas_Smart *s, const char *name) EINA_ARG_NONNULL(1, 2); |
2429 | 2429 | ||
2430 | /** | 2430 | /** |
2431 | * Sets one class to inherit from the other. | 2431 | * Sets one class to inherit from the other. |
@@ -2444,7 +2444,7 @@ EAPI const Evas_Smart_Cb_Description *evas_smart_callback_description_find(cons | |||
2444 | * this size. Everything after @c Evas_Smart_Class size is copied | 2444 | * this size. Everything after @c Evas_Smart_Class size is copied |
2445 | * using regular memcpy(). | 2445 | * using regular memcpy(). |
2446 | */ | 2446 | */ |
2447 | EAPI Eina_Bool evas_smart_class_inherit_full(Evas_Smart_Class *sc, const Evas_Smart_Class *parent_sc, unsigned int parent_sc_size) EINA_ARG_NONNULL(1, 2); | 2447 | EVAS_API Eina_Bool evas_smart_class_inherit_full(Evas_Smart_Class *sc, const Evas_Smart_Class *parent_sc, unsigned int parent_sc_size) EINA_ARG_NONNULL(1, 2); |
2448 | 2448 | ||
2449 | /** | 2449 | /** |
2450 | * Get the number of uses of the smart instance | 2450 | * Get the number of uses of the smart instance |
@@ -2465,7 +2465,7 @@ EAPI Eina_Bool evas_smart_class_inherit_full(Evas_Smart_ | |||
2465 | * Evas_Smart_Class data from memory (have it be a constant structure and | 2465 | * Evas_Smart_Class data from memory (have it be a constant structure and |
2466 | * data), or use this API call and be very careful. | 2466 | * data), or use this API call and be very careful. |
2467 | */ | 2467 | */ |
2468 | EAPI int evas_smart_usage_get(const Evas_Smart *s); | 2468 | EVAS_API int evas_smart_usage_get(const Evas_Smart *s); |
2469 | 2469 | ||
2470 | /** | 2470 | /** |
2471 | * @def evas_smart_class_inherit | 2471 | * @def evas_smart_class_inherit |
@@ -2543,7 +2543,7 @@ EAPI int evas_smart_usage_get(const Evas_Smart *s) | |||
2543 | * | 2543 | * |
2544 | * @ingroup Evas_Smart_Object_Group | 2544 | * @ingroup Evas_Smart_Object_Group |
2545 | */ | 2545 | */ |
2546 | EAPI void evas_smart_legacy_type_register(const char *type, const Efl_Class *klass) EINA_ARG_NONNULL(1, 2); | 2546 | EVAS_API void evas_smart_legacy_type_register(const char *type, const Efl_Class *klass) EINA_ARG_NONNULL(1, 2); |
2547 | 2547 | ||
2548 | /** | 2548 | /** |
2549 | * @} | 2549 | * @} |
@@ -2634,7 +2634,7 @@ struct _Evas_Object_Smart_Clipped_Data | |||
2634 | * child ones, like the #EVAS_SMART_SUBCLASS_NEW macro or the | 2634 | * child ones, like the #EVAS_SMART_SUBCLASS_NEW macro or the |
2635 | * evas_smart_class_inherit_full() function. | 2635 | * evas_smart_class_inherit_full() function. |
2636 | */ | 2636 | */ |
2637 | EAPI void evas_object_smart_clipped_smart_set(Evas_Smart_Class *sc) EINA_ARG_NONNULL(1); | 2637 | EVAS_API void evas_object_smart_clipped_smart_set(Evas_Smart_Class *sc) EINA_ARG_NONNULL(1); |
2638 | 2638 | ||
2639 | /** | 2639 | /** |
2640 | * Get a pointer to the <b>clipped smart object's</b> class, to use | 2640 | * Get a pointer to the <b>clipped smart object's</b> class, to use |
@@ -2643,7 +2643,7 @@ EAPI void evas_object_smart_clipped_smart_set(Evas_Smart_Clas | |||
2643 | * @see #Evas_Smart_Object_Clipped for more information on this smart | 2643 | * @see #Evas_Smart_Object_Clipped for more information on this smart |
2644 | * class | 2644 | * class |
2645 | */ | 2645 | */ |
2646 | EAPI const Evas_Smart_Class *evas_object_smart_clipped_class_get(void) EINA_CONST; | 2646 | EVAS_API const Evas_Smart_Class *evas_object_smart_clipped_class_get(void) EINA_CONST; |
2647 | /** | 2647 | /** |
2648 | * @} | 2648 | * @} |
2649 | */ | 2649 | */ |
@@ -2883,7 +2883,7 @@ struct _Evas_Object_Box_Option | |||
2883 | * @param api The box API struct to set back, most probably with | 2883 | * @param api The box API struct to set back, most probably with |
2884 | * overridden fields (on class extensions scenarios) | 2884 | * overridden fields (on class extensions scenarios) |
2885 | */ | 2885 | */ |
2886 | EAPI void evas_object_box_smart_set(Evas_Object_Box_Api *api) EINA_ARG_NONNULL(1); | 2886 | EVAS_API void evas_object_box_smart_set(Evas_Object_Box_Api *api) EINA_ARG_NONNULL(1); |
2887 | 2887 | ||
2888 | /** | 2888 | /** |
2889 | * Get the Evas box smart class, for inheritance purposes. | 2889 | * Get the Evas box smart class, for inheritance purposes. |
@@ -2893,7 +2893,7 @@ EAPI void evas_object_box_smart_set(Evas_Object_Box_Api *a | |||
2893 | * The returned value is @b not to be modified, just use it as your | 2893 | * The returned value is @b not to be modified, just use it as your |
2894 | * parent class. | 2894 | * parent class. |
2895 | */ | 2895 | */ |
2896 | EAPI const Evas_Object_Box_Api *evas_object_box_smart_class_get(void) EINA_CONST; | 2896 | EVAS_API const Evas_Object_Box_Api *evas_object_box_smart_class_get(void) EINA_CONST; |
2897 | 2897 | ||
2898 | /** | 2898 | /** |
2899 | * @} | 2899 | * @} |
@@ -3008,7 +3008,7 @@ struct _Evas_Cserve_Config | |||
3008 | * @return @c EINA_TRUE if it wants, @c EINA_FALSE otherwise. | 3008 | * @return @c EINA_TRUE if it wants, @c EINA_FALSE otherwise. |
3009 | * @ingroup Evas_Cserve | 3009 | * @ingroup Evas_Cserve |
3010 | */ | 3010 | */ |
3011 | EAPI Eina_Bool evas_cserve_want_get(void) EINA_WARN_UNUSED_RESULT; | 3011 | EVAS_API Eina_Bool evas_cserve_want_get(void) EINA_WARN_UNUSED_RESULT; |
3012 | 3012 | ||
3013 | /** | 3013 | /** |
3014 | * Retrieves if the system is connected to the server used to share | 3014 | * Retrieves if the system is connected to the server used to share |
@@ -3017,7 +3017,7 @@ EAPI Eina_Bool evas_cserve_want_get(void) EINA_WARN_UNUSED_RESULT; | |||
3017 | * @return @c EINA_TRUE if it's connected, @c EINA_FALSE otherwise. | 3017 | * @return @c EINA_TRUE if it's connected, @c EINA_FALSE otherwise. |
3018 | * @ingroup Evas_Cserve | 3018 | * @ingroup Evas_Cserve |
3019 | */ | 3019 | */ |
3020 | EAPI Eina_Bool evas_cserve_connected_get(void) EINA_WARN_UNUSED_RESULT; | 3020 | EVAS_API Eina_Bool evas_cserve_connected_get(void) EINA_WARN_UNUSED_RESULT; |
3021 | 3021 | ||
3022 | /** | 3022 | /** |
3023 | * Retrieves statistics from a running bitmap sharing server. | 3023 | * Retrieves statistics from a running bitmap sharing server. |
@@ -3028,14 +3028,14 @@ EAPI Eina_Bool evas_cserve_connected_get(void) EINA_WARN_UNUSED_RESULT; | |||
3028 | * @c EINA_FALSE otherwise (when @p stats is untouched) | 3028 | * @c EINA_FALSE otherwise (when @p stats is untouched) |
3029 | * @ingroup Evas_Cserve | 3029 | * @ingroup Evas_Cserve |
3030 | */ | 3030 | */ |
3031 | EAPI Eina_Bool evas_cserve_stats_get(Evas_Cserve_Stats *stats) EINA_WARN_UNUSED_RESULT; | 3031 | EVAS_API Eina_Bool evas_cserve_stats_get(Evas_Cserve_Stats *stats) EINA_WARN_UNUSED_RESULT; |
3032 | 3032 | ||
3033 | /** | 3033 | /** |
3034 | * Completely discard/clean a given images cache, thus re-setting it. | 3034 | * Completely discard/clean a given images cache, thus re-setting it. |
3035 | * | 3035 | * |
3036 | * @param cache A handle to the given images cache. | 3036 | * @param cache A handle to the given images cache. |
3037 | */ | 3037 | */ |
3038 | EAPI void evas_cserve_image_cache_contents_clean(Evas_Cserve_Image_Cache *cache); | 3038 | EVAS_API void evas_cserve_image_cache_contents_clean(Evas_Cserve_Image_Cache *cache); |
3039 | 3039 | ||
3040 | /** | 3040 | /** |
3041 | * Retrieves the current configuration of the Evas image caching | 3041 | * Retrieves the current configuration of the Evas image caching |
@@ -3054,7 +3054,7 @@ EAPI void evas_cserve_image_cache_contents_clean(Evas_Cserve_Image_Cache | |||
3054 | * | 3054 | * |
3055 | * @ingroup Evas_Cserve | 3055 | * @ingroup Evas_Cserve |
3056 | */ | 3056 | */ |
3057 | EAPI Eina_Bool evas_cserve_config_get(Evas_Cserve_Config *config) EINA_WARN_UNUSED_RESULT; | 3057 | EVAS_API Eina_Bool evas_cserve_config_get(Evas_Cserve_Config *config) EINA_WARN_UNUSED_RESULT; |
3058 | 3058 | ||
3059 | /** | 3059 | /** |
3060 | * Changes the configurations of the Evas image caching server. | 3060 | * Changes the configurations of the Evas image caching server. |
@@ -3068,14 +3068,14 @@ EAPI Eina_Bool evas_cserve_config_get(Evas_Cserve_Config *config) EINA_WARN_UN | |||
3068 | * | 3068 | * |
3069 | * @ingroup Evas_Cserve | 3069 | * @ingroup Evas_Cserve |
3070 | */ | 3070 | */ |
3071 | EAPI Eina_Bool evas_cserve_config_set(const Evas_Cserve_Config *config) EINA_WARN_UNUSED_RESULT; | 3071 | EVAS_API Eina_Bool evas_cserve_config_set(const Evas_Cserve_Config *config) EINA_WARN_UNUSED_RESULT; |
3072 | 3072 | ||
3073 | /** | 3073 | /** |
3074 | * Force the system to disconnect from the bitmap caching server. | 3074 | * Force the system to disconnect from the bitmap caching server. |
3075 | * | 3075 | * |
3076 | * @ingroup Evas_Cserve | 3076 | * @ingroup Evas_Cserve |
3077 | */ | 3077 | */ |
3078 | EAPI void evas_cserve_disconnect(void); | 3078 | EVAS_API void evas_cserve_disconnect(void); |
3079 | 3079 | ||
3080 | /** | 3080 | /** |
3081 | * @defgroup Evas_Utils General Utilities | 3081 | * @defgroup Evas_Utils General Utilities |
@@ -3114,7 +3114,7 @@ EAPI void evas_cserve_disconnect(void); | |||
3114 | * | 3114 | * |
3115 | * @ingroup Evas_Utils | 3115 | * @ingroup Evas_Utils |
3116 | */ | 3116 | */ |
3117 | EAPI const char *evas_load_error_str(Evas_Load_Error error); | 3117 | EVAS_API const char *evas_load_error_str(Evas_Load_Error error); |
3118 | 3118 | ||
3119 | /* Evas utility routines for color space conversions */ | 3119 | /* Evas utility routines for color space conversions */ |
3120 | /* hsv color space has h in the range 0.0 to 360.0, and s,v in the range 0.0 to 1.0 */ | 3120 | /* hsv color space has h in the range 0.0 to 360.0, and s,v in the range 0.0 to 1.0 */ |
@@ -3135,7 +3135,7 @@ EAPI const char *evas_load_error_str(Evas_Load_Error error); | |||
3135 | * | 3135 | * |
3136 | * @ingroup Evas_Utils | 3136 | * @ingroup Evas_Utils |
3137 | **/ | 3137 | **/ |
3138 | EAPI void evas_color_hsv_to_rgb(float h, float s, float v, int *r, int *g, int *b); | 3138 | EVAS_API void evas_color_hsv_to_rgb(float h, float s, float v, int *r, int *g, int *b); |
3139 | 3139 | ||
3140 | /** | 3140 | /** |
3141 | * Convert a given color from RGB to HSV format. | 3141 | * Convert a given color from RGB to HSV format. |
@@ -3152,7 +3152,7 @@ EAPI void evas_color_hsv_to_rgb(float h, float s, float v, int *r, int *g, int * | |||
3152 | * | 3152 | * |
3153 | * @ingroup Evas_Utils | 3153 | * @ingroup Evas_Utils |
3154 | **/ | 3154 | **/ |
3155 | EAPI void evas_color_rgb_to_hsv(int r, int g, int b, float *h, float *s, float *v); | 3155 | EVAS_API void evas_color_rgb_to_hsv(int r, int g, int b, float *h, float *s, float *v); |
3156 | 3156 | ||
3157 | /* argb color space has a,r,g,b in the range 0 to 255 */ | 3157 | /* argb color space has a,r,g,b in the range 0 to 255 */ |
3158 | 3158 | ||
@@ -3169,7 +3169,7 @@ EAPI void evas_color_rgb_to_hsv(int r, int g, int b, float *h, float *s, float * | |||
3169 | * | 3169 | * |
3170 | * @ingroup Evas_Utils | 3170 | * @ingroup Evas_Utils |
3171 | **/ | 3171 | **/ |
3172 | EAPI void evas_color_argb_premul(int a, int *r, int *g, int *b); | 3172 | EVAS_API void evas_color_argb_premul(int a, int *r, int *g, int *b); |
3173 | 3173 | ||
3174 | /** | 3174 | /** |
3175 | * Undo pre-multiplication of a rgb triplet by an alpha factor. | 3175 | * Undo pre-multiplication of a rgb triplet by an alpha factor. |
@@ -3186,7 +3186,7 @@ EAPI void evas_color_argb_premul(int a, int *r, int *g, int *b); | |||
3186 | * | 3186 | * |
3187 | * @ingroup Evas_Utils | 3187 | * @ingroup Evas_Utils |
3188 | **/ | 3188 | **/ |
3189 | EAPI void evas_color_argb_unpremul(int a, int *r, int *g, int *b); | 3189 | EVAS_API void evas_color_argb_unpremul(int a, int *r, int *g, int *b); |
3190 | 3190 | ||
3191 | /** | 3191 | /** |
3192 | * Pre-multiplies data by an alpha factor. | 3192 | * Pre-multiplies data by an alpha factor. |
@@ -3199,7 +3199,7 @@ EAPI void evas_color_argb_unpremul(int a, int *r, int *g, int *b); | |||
3199 | * | 3199 | * |
3200 | * @ingroup Evas_Utils | 3200 | * @ingroup Evas_Utils |
3201 | **/ | 3201 | **/ |
3202 | EAPI void evas_data_argb_premul(unsigned int *data, unsigned int len); | 3202 | EVAS_API void evas_data_argb_premul(unsigned int *data, unsigned int len); |
3203 | 3203 | ||
3204 | /** | 3204 | /** |
3205 | * Undo pre-multiplication data by an alpha factor. | 3205 | * Undo pre-multiplication data by an alpha factor. |
@@ -3212,7 +3212,7 @@ EAPI void evas_data_argb_premul(unsigned int *data, unsigned int len); | |||
3212 | * | 3212 | * |
3213 | * @ingroup Evas_Utils | 3213 | * @ingroup Evas_Utils |
3214 | **/ | 3214 | **/ |
3215 | EAPI void evas_data_argb_unpremul(unsigned int *data, unsigned int len); | 3215 | EVAS_API void evas_data_argb_unpremul(unsigned int *data, unsigned int len); |
3216 | 3216 | ||
3217 | /* string and font handling */ | 3217 | /* string and font handling */ |
3218 | 3218 | ||
@@ -3235,7 +3235,7 @@ EAPI void evas_data_argb_unpremul(unsigned int *data, unsigned int len); | |||
3235 | * | 3235 | * |
3236 | * @ingroup Evas_Utils | 3236 | * @ingroup Evas_Utils |
3237 | */ | 3237 | */ |
3238 | EAPI int evas_string_char_next_get(const char *str, int pos, int *decoded) EINA_ARG_NONNULL(1); | 3238 | EVAS_API int evas_string_char_next_get(const char *str, int pos, int *decoded) EINA_ARG_NONNULL(1); |
3239 | 3239 | ||
3240 | /** | 3240 | /** |
3241 | * Gets the previous character in the string | 3241 | * Gets the previous character in the string |
@@ -3256,7 +3256,7 @@ EAPI int evas_string_char_next_get(const char *str, int pos, int *decoded) EINA | |||
3256 | * | 3256 | * |
3257 | * @ingroup Evas_Utils | 3257 | * @ingroup Evas_Utils |
3258 | */ | 3258 | */ |
3259 | EAPI int evas_string_char_prev_get(const char *str, int pos, int *decoded) EINA_ARG_NONNULL(1); | 3259 | EVAS_API int evas_string_char_prev_get(const char *str, int pos, int *decoded) EINA_ARG_NONNULL(1); |
3260 | 3260 | ||
3261 | /** | 3261 | /** |
3262 | * Get the length in characters of the string. | 3262 | * Get the length in characters of the string. |
@@ -3266,7 +3266,7 @@ EAPI int evas_string_char_prev_get(const char *str, int pos, int *decoded) EINA | |||
3266 | * | 3266 | * |
3267 | * @ingroup Evas_Utils | 3267 | * @ingroup Evas_Utils |
3268 | */ | 3268 | */ |
3269 | EAPI int evas_string_char_len_get(const char *str) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); | 3269 | EVAS_API int evas_string_char_len_get(const char *str) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); |
3270 | 3270 | ||
3271 | /** | 3271 | /** |
3272 | * Get language direction. | 3272 | * Get language direction. |
@@ -3274,7 +3274,7 @@ EAPI int evas_string_char_len_get(const char *str) EINA_WARN_UNUSED_RESULT EINA | |||
3274 | * @ingroup Evas_Utils | 3274 | * @ingroup Evas_Utils |
3275 | * @since 1.20 | 3275 | * @since 1.20 |
3276 | */ | 3276 | */ |
3277 | EAPI Evas_BiDi_Direction evas_language_direction_get(void); | 3277 | EVAS_API Evas_BiDi_Direction evas_language_direction_get(void); |
3278 | 3278 | ||
3279 | /** | 3279 | /** |
3280 | * Reinitialize language from the environment. | 3280 | * Reinitialize language from the environment. |
@@ -3285,7 +3285,7 @@ EAPI Evas_BiDi_Direction evas_language_direction_get(void); | |||
3285 | * @ingroup Evas_Utils | 3285 | * @ingroup Evas_Utils |
3286 | * @since 1.18 | 3286 | * @since 1.18 |
3287 | */ | 3287 | */ |
3288 | EAPI void evas_language_reinit(void); | 3288 | EVAS_API void evas_language_reinit(void); |
3289 | 3289 | ||
3290 | /** | 3290 | /** |
3291 | * @defgroup Evas_Keys Key Input Functions | 3291 | * @defgroup Evas_Keys Key Input Functions |
@@ -3341,28 +3341,28 @@ EAPI void evas_language_reinit(void); | |||
3341 | * for the application. | 3341 | * for the application. |
3342 | * @since 1.9 | 3342 | * @since 1.9 |
3343 | */ | 3343 | */ |
3344 | EAPI void evas_font_path_global_clear(void); | 3344 | EVAS_API void evas_font_path_global_clear(void); |
3345 | 3345 | ||
3346 | /** | 3346 | /** |
3347 | * Appends a font path to the list of font paths used by the application. | 3347 | * Appends a font path to the list of font paths used by the application. |
3348 | * @param path The new font path. | 3348 | * @param path The new font path. |
3349 | * @since 1.9 | 3349 | * @since 1.9 |
3350 | */ | 3350 | */ |
3351 | EAPI void evas_font_path_global_append(const char *path) EINA_ARG_NONNULL(1); | 3351 | EVAS_API void evas_font_path_global_append(const char *path) EINA_ARG_NONNULL(1); |
3352 | 3352 | ||
3353 | /** | 3353 | /** |
3354 | * Prepends a font path to the list of font paths used by the application. | 3354 | * Prepends a font path to the list of font paths used by the application. |
3355 | * @param path The new font path. | 3355 | * @param path The new font path. |
3356 | * @since 1.9 | 3356 | * @since 1.9 |
3357 | */ | 3357 | */ |
3358 | EAPI void evas_font_path_global_prepend(const char *path) EINA_ARG_NONNULL(1); | 3358 | EVAS_API void evas_font_path_global_prepend(const char *path) EINA_ARG_NONNULL(1); |
3359 | 3359 | ||
3360 | /** | 3360 | /** |
3361 | * Retrieves the list of font paths used by the application. | 3361 | * Retrieves the list of font paths used by the application. |
3362 | * @return The list of font paths used. | 3362 | * @return The list of font paths used. |
3363 | * @since 1.9 | 3363 | * @since 1.9 |
3364 | */ | 3364 | */ |
3365 | EAPI const Eina_List *evas_font_path_global_list(void) EINA_WARN_UNUSED_RESULT; | 3365 | EVAS_API const Eina_List *evas_font_path_global_list(void) EINA_WARN_UNUSED_RESULT; |
3366 | 3366 | ||
3367 | /** | 3367 | /** |
3368 | * @} | 3368 | * @} |
@@ -3374,7 +3374,7 @@ EAPI const Eina_List *evas_font_path_global_list(void) EINA_WARN_UNUSED_R | |||
3374 | * | 3374 | * |
3375 | * @since 1.14 | 3375 | * @since 1.14 |
3376 | */ | 3376 | */ |
3377 | EAPI void evas_font_reinit(void); | 3377 | EVAS_API void evas_font_reinit(void); |
3378 | 3378 | ||
3379 | /** | 3379 | /** |
3380 | * @} | 3380 | * @} |
@@ -3387,7 +3387,7 @@ EAPI void evas_font_reinit(void); | |||
3387 | * | 3387 | * |
3388 | * @since 1.24 | 3388 | * @since 1.24 |
3389 | */ | 3389 | */ |
3390 | EAPI void evas_font_data_cache_set(Evas_Font_Data_Cache options, int byte); | 3390 | EVAS_API void evas_font_data_cache_set(Evas_Font_Data_Cache options, int byte); |
3391 | 3391 | ||
3392 | /** | 3392 | /** |
3393 | * @} | 3393 | * @} |
@@ -3399,7 +3399,7 @@ EAPI void evas_font_data_cache_set(Evas_Font_Data_Cache optio | |||
3399 | * @return Returns font allocated memory cache limit, if value is negative this means no limit. | 3399 | * @return Returns font allocated memory cache limit, if value is negative this means no limit. |
3400 | * @since 1.24 | 3400 | * @since 1.24 |
3401 | */ | 3401 | */ |
3402 | EAPI int evas_font_data_cache_get(Evas_Font_Data_Cache options); | 3402 | EVAS_API int evas_font_data_cache_get(Evas_Font_Data_Cache options); |
3403 | 3403 | ||
3404 | /** | 3404 | /** |
3405 | * @} | 3405 | * @} |
diff --git a/src/lib/evas/Evas_GL.h b/src/lib/evas/Evas_GL.h index 98b2440ff2..614fef9334 100644 --- a/src/lib/evas/Evas_GL.h +++ b/src/lib/evas/Evas_GL.h | |||
@@ -4,31 +4,7 @@ | |||
4 | #include <Evas.h> | 4 | #include <Evas.h> |
5 | //#include <GL/gl.h> | 5 | //#include <GL/gl.h> |
6 | 6 | ||
7 | #ifdef EAPI | 7 | #include <evas_api.h> |
8 | # undef EAPI | ||
9 | #endif | ||
10 | |||
11 | #ifdef _WIN32 | ||
12 | # ifdef EFL_BUILD | ||
13 | # ifdef DLL_EXPORT | ||
14 | # define EAPI __declspec(dllexport) | ||
15 | # else | ||
16 | # define EAPI | ||
17 | # endif | ||
18 | # else | ||
19 | # define EAPI __declspec(dllimport) | ||
20 | # endif | ||
21 | #else | ||
22 | # ifdef __GNUC__ | ||
23 | # if __GNUC__ >= 4 | ||
24 | # define EAPI __attribute__ ((visibility("default"))) | ||
25 | # else | ||
26 | # define EAPI | ||
27 | # endif | ||
28 | # else | ||
29 | # define EAPI | ||
30 | # endif | ||
31 | #endif | ||
32 | 8 | ||
33 | #ifdef __cplusplus | 9 | #ifdef __cplusplus |
34 | extern "C" { | 10 | extern "C" { |
@@ -581,7 +557,7 @@ struct _Evas_GL_Config | |||
581 | * | 557 | * |
582 | * @return The created Evas_GL object, or @c NULL in case of failure | 558 | * @return The created Evas_GL object, or @c NULL in case of failure |
583 | */ | 559 | */ |
584 | EAPI Evas_GL *evas_gl_new (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); | 560 | EVAS_API Evas_GL *evas_gl_new (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); |
585 | 561 | ||
586 | /** | 562 | /** |
587 | * @brief Frees an Evas_GL object. | 563 | * @brief Frees an Evas_GL object. |
@@ -590,7 +566,7 @@ EAPI Evas_GL *evas_gl_new (Evas *e) EINA_WARN_UNU | |||
590 | * | 566 | * |
591 | * @see evas_gl_new | 567 | * @see evas_gl_new |
592 | */ | 568 | */ |
593 | EAPI void evas_gl_free (Evas_GL *evas_gl) EINA_ARG_NONNULL(1); | 569 | EVAS_API void evas_gl_free (Evas_GL *evas_gl) EINA_ARG_NONNULL(1); |
594 | 570 | ||
595 | /** | 571 | /** |
596 | * @brief Allocates a new config object for the user to fill out. | 572 | * @brief Allocates a new config object for the user to fill out. |
@@ -600,7 +576,7 @@ EAPI void evas_gl_free (Evas_GL *evas_gl) EINA | |||
600 | * | 576 | * |
601 | * @see evas_gl_config_free | 577 | * @see evas_gl_config_free |
602 | */ | 578 | */ |
603 | EAPI Evas_GL_Config *evas_gl_config_new (void); | 579 | EVAS_API Evas_GL_Config *evas_gl_config_new (void); |
604 | 580 | ||
605 | /** | 581 | /** |
606 | * @brief Frees a config object created from evas_gl_config_new. | 582 | * @brief Frees a config object created from evas_gl_config_new. |
@@ -612,7 +588,7 @@ EAPI Evas_GL_Config *evas_gl_config_new (void); | |||
612 | * | 588 | * |
613 | * @see evas_gl_config_new | 589 | * @see evas_gl_config_new |
614 | */ | 590 | */ |
615 | EAPI void evas_gl_config_free (Evas_GL_Config *cfg) EINA_ARG_NONNULL(1); | 591 | EVAS_API void evas_gl_config_free (Evas_GL_Config *cfg) EINA_ARG_NONNULL(1); |
616 | 592 | ||
617 | /** | 593 | /** |
618 | * @brief Creates and returns a new @ref Evas_GL_Surface object for GL Rendering. | 594 | * @brief Creates and returns a new @ref Evas_GL_Surface object for GL Rendering. |
@@ -627,7 +603,7 @@ EAPI void evas_gl_config_free (Evas_GL_Config *cfg) E | |||
627 | * | 603 | * |
628 | * @see evas_gl_surface_destroy | 604 | * @see evas_gl_surface_destroy |
629 | */ | 605 | */ |
630 | EAPI Evas_GL_Surface *evas_gl_surface_create (Evas_GL *evas_gl, Evas_GL_Config *cfg, int w, int h) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1,2); | 606 | EVAS_API Evas_GL_Surface *evas_gl_surface_create (Evas_GL *evas_gl, Evas_GL_Config *cfg, int w, int h) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1,2); |
631 | 607 | ||
632 | /** | 608 | /** |
633 | * @brief Create a pixel buffer surface | 609 | * @brief Create a pixel buffer surface |
@@ -660,7 +636,7 @@ EAPI Evas_GL_Surface *evas_gl_surface_create (Evas_GL *evas_gl, Evas | |||
660 | * | 636 | * |
661 | * @since 1.12 | 637 | * @since 1.12 |
662 | */ | 638 | */ |
663 | EAPI Evas_GL_Surface *evas_gl_pbuffer_surface_create(Evas_GL *evas_gl, Evas_GL_Config *cfg, int w, int h, const int *attrib_list) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1,2); | 639 | EVAS_API Evas_GL_Surface *evas_gl_pbuffer_surface_create(Evas_GL *evas_gl, Evas_GL_Config *cfg, int w, int h, const int *attrib_list) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1,2); |
664 | 640 | ||
665 | /** | 641 | /** |
666 | * @brief Destroys an Evas GL Surface. | 642 | * @brief Destroys an Evas GL Surface. |
@@ -670,7 +646,7 @@ EAPI Evas_GL_Surface *evas_gl_pbuffer_surface_create(Evas_GL *evas_gl, E | |||
670 | * | 646 | * |
671 | * @note This function can also destroy pbuffer surfaces. | 647 | * @note This function can also destroy pbuffer surfaces. |
672 | */ | 648 | */ |
673 | EAPI void evas_gl_surface_destroy (Evas_GL *evas_gl, Evas_GL_Surface *surf) EINA_ARG_NONNULL(1,2); | 649 | EVAS_API void evas_gl_surface_destroy (Evas_GL *evas_gl, Evas_GL_Surface *surf) EINA_ARG_NONNULL(1,2); |
674 | 650 | ||
675 | /** | 651 | /** |
676 | * @brief Creates and returns a new Evas GL context object. | 652 | * @brief Creates and returns a new Evas GL context object. |
@@ -681,7 +657,7 @@ EAPI void evas_gl_surface_destroy (Evas_GL *evas_gl, Evas | |||
681 | * @return The created context, | 657 | * @return The created context, |
682 | * otherwise @c NULL on failure | 658 | * otherwise @c NULL on failure |
683 | */ | 659 | */ |
684 | EAPI Evas_GL_Context *evas_gl_context_create (Evas_GL *evas_gl, Evas_GL_Context *share_ctx) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); | 660 | EVAS_API Evas_GL_Context *evas_gl_context_create (Evas_GL *evas_gl, Evas_GL_Context *share_ctx) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); |
685 | 661 | ||
686 | /** | 662 | /** |
687 | * @brief Creates and returns a new Evas GL context object for OpenGL-ES 1.1 or 2.0. | 663 | * @brief Creates and returns a new Evas GL context object for OpenGL-ES 1.1 or 2.0. |
@@ -706,7 +682,7 @@ EAPI Evas_GL_Context *evas_gl_context_create (Evas_GL *evas_gl, Evas | |||
706 | * | 682 | * |
707 | * @since 1.12 | 683 | * @since 1.12 |
708 | */ | 684 | */ |
709 | EAPI Evas_GL_Context *evas_gl_context_version_create(Evas_GL *evas_gl, Evas_GL_Context *share_ctx, Evas_GL_Context_Version version) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); | 685 | EVAS_API Evas_GL_Context *evas_gl_context_version_create(Evas_GL *evas_gl, Evas_GL_Context *share_ctx, Evas_GL_Context_Version version) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); |
710 | 686 | ||
711 | /** | 687 | /** |
712 | * @brief Destroys the given Evas GL context object. | 688 | * @brief Destroys the given Evas GL context object. |
@@ -717,7 +693,7 @@ EAPI Evas_GL_Context *evas_gl_context_version_create(Evas_GL *evas_gl, E | |||
717 | * @see evas_gl_context_create | 693 | * @see evas_gl_context_create |
718 | * @see evas_gl_context_version_create | 694 | * @see evas_gl_context_version_create |
719 | */ | 695 | */ |
720 | EAPI void evas_gl_context_destroy (Evas_GL *evas_gl, Evas_GL_Context *ctx) EINA_ARG_NONNULL(1,2); | 696 | EVAS_API void evas_gl_context_destroy (Evas_GL *evas_gl, Evas_GL_Context *ctx) EINA_ARG_NONNULL(1,2); |
721 | 697 | ||
722 | /** | 698 | /** |
723 | * @brief Sets the given context as the current context for the given surface. | 699 | * @brief Sets the given context as the current context for the given surface. |
@@ -728,7 +704,7 @@ EAPI void evas_gl_context_destroy (Evas_GL *evas_gl, Evas | |||
728 | * @return @c EINA_TRUE if successful, | 704 | * @return @c EINA_TRUE if successful, |
729 | * otherwise @c EINA_FALSE if not | 705 | * otherwise @c EINA_FALSE if not |
730 | */ | 706 | */ |
731 | EAPI Eina_Bool evas_gl_make_current (Evas_GL *evas_gl, Evas_GL_Surface *surf, Evas_GL_Context *ctx) EINA_ARG_NONNULL(1,2); | 707 | EVAS_API Eina_Bool evas_gl_make_current (Evas_GL *evas_gl, Evas_GL_Surface *surf, Evas_GL_Context *ctx) EINA_ARG_NONNULL(1,2); |
732 | 708 | ||
733 | /** | 709 | /** |
734 | * @brief Returns a pointer to a static, null-terminated string describing some aspect of Evas GL. | 710 | * @brief Returns a pointer to a static, null-terminated string describing some aspect of Evas GL. |
@@ -736,7 +712,7 @@ EAPI Eina_Bool evas_gl_make_current (Evas_GL *evas_gl, Evas | |||
736 | * @param[in] evas_gl The given Evas_GL object | 712 | * @param[in] evas_gl The given Evas_GL object |
737 | * @param[in] name A symbolic constant, only @ref EVAS_GL_EXTENSIONS is supported for now | 713 | * @param[in] name A symbolic constant, only @ref EVAS_GL_EXTENSIONS is supported for now |
738 | */ | 714 | */ |
739 | EAPI const char *evas_gl_string_query (Evas_GL *evas_gl, int name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE; | 715 | EVAS_API const char *evas_gl_string_query (Evas_GL *evas_gl, int name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE; |
740 | 716 | ||
741 | /** | 717 | /** |
742 | * @brief Returns a extension function from OpenGL or the Evas_GL glue layer. | 718 | * @brief Returns a extension function from OpenGL or the Evas_GL glue layer. |
@@ -749,7 +725,7 @@ EAPI const char *evas_gl_string_query (Evas_GL *evas_gl, int | |||
749 | * | 725 | * |
750 | * @return A function pointer to the Evas_GL extension. | 726 | * @return A function pointer to the Evas_GL extension. |
751 | */ | 727 | */ |
752 | EAPI Evas_GL_Func evas_gl_proc_address_get (Evas_GL *evas_gl, const char *name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1,2) EINA_PURE; | 728 | EVAS_API Evas_GL_Func evas_gl_proc_address_get (Evas_GL *evas_gl, const char *name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1,2) EINA_PURE; |
753 | 729 | ||
754 | /** | 730 | /** |
755 | * @brief Fills in the Native Surface information from a given Evas GL surface. | 731 | * @brief Fills in the Native Surface information from a given Evas GL surface. |
@@ -768,7 +744,7 @@ EAPI Evas_GL_Func evas_gl_proc_address_get (Evas_GL *evas_gl, cons | |||
768 | * since its properties are internal to Evas and are not meant to be | 744 | * since its properties are internal to Evas and are not meant to be |
769 | * tampered with in any way or form from outside Evas. | 745 | * tampered with in any way or form from outside Evas. |
770 | */ | 746 | */ |
771 | EAPI Eina_Bool evas_gl_native_surface_get (Evas_GL *evas_gl, Evas_GL_Surface *surf, Evas_Native_Surface *ns) EINA_ARG_NONNULL(1,2,3); | 747 | EVAS_API Eina_Bool evas_gl_native_surface_get (Evas_GL *evas_gl, Evas_GL_Surface *surf, Evas_Native_Surface *ns) EINA_ARG_NONNULL(1,2,3); |
772 | 748 | ||
773 | /** | 749 | /** |
774 | * @brief Gets the API for rendering using OpenGL. | 750 | * @brief Gets the API for rendering using OpenGL. |
@@ -790,7 +766,7 @@ EAPI Eina_Bool evas_gl_native_surface_get (Evas_GL *evas_gl, Evas | |||
790 | * @see evas_gl_context_api_get | 766 | * @see evas_gl_context_api_get |
791 | * | 767 | * |
792 | */ | 768 | */ |
793 | EAPI Evas_GL_API *evas_gl_api_get (Evas_GL *evas_gl) EINA_ARG_NONNULL(1); | 769 | EVAS_API Evas_GL_API *evas_gl_api_get (Evas_GL *evas_gl) EINA_ARG_NONNULL(1); |
794 | 770 | ||
795 | /** | 771 | /** |
796 | * @brief Gets the API for rendering using OpenGL with non standard contexts. | 772 | * @brief Gets the API for rendering using OpenGL with non standard contexts. |
@@ -817,7 +793,7 @@ EAPI Evas_GL_API *evas_gl_api_get (Evas_GL *evas_gl) EINA | |||
817 | * | 793 | * |
818 | * @since 1.12 | 794 | * @since 1.12 |
819 | */ | 795 | */ |
820 | EAPI Evas_GL_API *evas_gl_context_api_get (Evas_GL *evas_gl, Evas_GL_Context *ctx) EINA_ARG_NONNULL(1); | 796 | EVAS_API Evas_GL_API *evas_gl_context_api_get (Evas_GL *evas_gl, Evas_GL_Context *ctx) EINA_ARG_NONNULL(1); |
821 | 797 | ||
822 | /** | 798 | /** |
823 | * @brief Get the current rotation of the view, in degrees. | 799 | * @brief Get the current rotation of the view, in degrees. |
@@ -842,7 +818,7 @@ EAPI Evas_GL_API *evas_gl_context_api_get (Evas_GL *evas_gl, Evas | |||
842 | * | 818 | * |
843 | * @since 1.12 | 819 | * @since 1.12 |
844 | */ | 820 | */ |
845 | EAPI int evas_gl_rotation_get (Evas_GL *evas_gl) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT; | 821 | EVAS_API int evas_gl_rotation_get (Evas_GL *evas_gl) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT; |
846 | 822 | ||
847 | /** | 823 | /** |
848 | * @brief Query a surface for its properties | 824 | * @brief Query a surface for its properties |
@@ -862,7 +838,7 @@ EAPI int evas_gl_rotation_get (Evas_GL *evas_gl) EINA | |||
862 | * | 838 | * |
863 | * @since 1.12 | 839 | * @since 1.12 |
864 | */ | 840 | */ |
865 | EAPI Eina_Bool evas_gl_surface_query (Evas_GL *evas_gl, Evas_GL_Surface *surface, int attribute, void *value) EINA_ARG_NONNULL(1,2); | 841 | EVAS_API Eina_Bool evas_gl_surface_query (Evas_GL *evas_gl, Evas_GL_Surface *surface, int attribute, void *value) EINA_ARG_NONNULL(1,2); |
866 | 842 | ||
867 | /** | 843 | /** |
868 | * @brief Returns the last error of any evas_gl function called in the current thread. | 844 | * @brief Returns the last error of any evas_gl function called in the current thread. |
@@ -886,7 +862,7 @@ EAPI Eina_Bool evas_gl_surface_query (Evas_GL *evas_gl, Evas | |||
886 | * | 862 | * |
887 | * @since 1.12 | 863 | * @since 1.12 |
888 | */ | 864 | */ |
889 | EAPI int evas_gl_error_get (Evas_GL *evas_gl) EINA_ARG_NONNULL(1); | 865 | EVAS_API int evas_gl_error_get (Evas_GL *evas_gl) EINA_ARG_NONNULL(1); |
890 | 866 | ||
891 | /** | 867 | /** |
892 | * @brief Returns the Evas GL context object in use or set by @ref evas_gl_make_current. | 868 | * @brief Returns the Evas GL context object in use or set by @ref evas_gl_make_current. |
@@ -898,7 +874,7 @@ EAPI int evas_gl_error_get (Evas_GL *evas_gl) EINA | |||
898 | * | 874 | * |
899 | * @since 1.12 | 875 | * @since 1.12 |
900 | */ | 876 | */ |
901 | EAPI Evas_GL_Context *evas_gl_current_context_get (Evas_GL *evas_gl) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); | 877 | EVAS_API Evas_GL_Context *evas_gl_current_context_get (Evas_GL *evas_gl) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); |
902 | 878 | ||
903 | /** | 879 | /** |
904 | * @brief Returns the Evas GL surface object in use or set by @ref evas_gl_make_current | 880 | * @brief Returns the Evas GL surface object in use or set by @ref evas_gl_make_current |
@@ -916,7 +892,7 @@ EAPI Evas_GL_Context *evas_gl_current_context_get (Evas_GL *evas_gl) EIN | |||
916 | * | 892 | * |
917 | * @since 1.12 | 893 | * @since 1.12 |
918 | */ | 894 | */ |
919 | EAPI Evas_GL_Surface *evas_gl_current_surface_get (Evas_GL *evas_gl) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); | 895 | EVAS_API Evas_GL_Surface *evas_gl_current_surface_get (Evas_GL *evas_gl) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); |
920 | 896 | ||
921 | /** | 897 | /** |
922 | * @brief Get current Evas GL | 898 | * @brief Get current Evas GL |
@@ -934,7 +910,7 @@ EAPI Evas_GL_Surface *evas_gl_current_surface_get (Evas_GL *evas_gl) EIN | |||
934 | * | 910 | * |
935 | * @since 1.16 | 911 | * @since 1.16 |
936 | */ | 912 | */ |
937 | EAPI Evas_GL *evas_gl_current_evas_gl_get (Evas_GL_Context **context, Evas_GL_Surface **surface) EINA_WARN_UNUSED_RESULT; | 913 | EVAS_API Evas_GL *evas_gl_current_evas_gl_get (Evas_GL_Context **context, Evas_GL_Surface **surface) EINA_WARN_UNUSED_RESULT; |
938 | 914 | ||
939 | 915 | ||
940 | /*------------------------------------------------------------------------- | 916 | /*------------------------------------------------------------------------- |
@@ -6140,7 +6116,4 @@ EvasGLImage *img = glapi->evasglCreateImageForContext | |||
6140 | } | 6116 | } |
6141 | #endif | 6117 | #endif |
6142 | 6118 | ||
6143 | #undef EAPI | ||
6144 | #define EAPI | ||
6145 | |||
6146 | #endif | 6119 | #endif |
diff --git a/src/lib/evas/Evas_Internal.h b/src/lib/evas/Evas_Internal.h index 7fa7021e50..ef6d64ea18 100644 --- a/src/lib/evas/Evas_Internal.h +++ b/src/lib/evas/Evas_Internal.h | |||
@@ -2,31 +2,7 @@ | |||
2 | #ifndef _EVAS_INTERNAL_H | 2 | #ifndef _EVAS_INTERNAL_H |
3 | #define _EVAS_INTERNAL_H | 3 | #define _EVAS_INTERNAL_H |
4 | 4 | ||
5 | #ifdef EAPI | 5 | #include <evas_api.h> |
6 | # undef EAPI | ||
7 | #endif | ||
8 | |||
9 | #ifdef _WIN32 | ||
10 | # ifdef EFL_BUILD | ||
11 | # ifdef DLL_EXPORT | ||
12 | # define EAPI __declspec(dllexport) | ||
13 | # else | ||
14 | # define EAPI | ||
15 | # endif | ||
16 | # else | ||
17 | # define EAPI __declspec(dllimport) | ||
18 | # endif | ||
19 | #else | ||
20 | # ifdef __GNUC__ | ||
21 | # if __GNUC__ >= 4 | ||
22 | # define EAPI __attribute__ ((visibility("default"))) | ||
23 | # else | ||
24 | # define EAPI | ||
25 | # endif | ||
26 | # else | ||
27 | # define EAPI | ||
28 | # endif | ||
29 | #endif | ||
30 | 6 | ||
31 | #ifdef __cplusplus | 7 | #ifdef __cplusplus |
32 | extern "C" { | 8 | extern "C" { |
@@ -40,16 +16,16 @@ extern "C" { | |||
40 | 16 | ||
41 | typedef struct _Evas_Object_Pointer_Data Evas_Object_Pointer_Data; | 17 | typedef struct _Evas_Object_Pointer_Data Evas_Object_Pointer_Data; |
42 | 18 | ||
43 | EOAPI const Eina_List *efl_input_device_children_get(const Eo *obj); | 19 | EVAS_API EVAS_API_WEAK const Eina_List *efl_input_device_children_get(const Eo *obj); |
44 | 20 | ||
45 | EOAPI void efl_input_device_evas_set(Eo *obj, Evas *e); | 21 | EVAS_API EVAS_API_WEAK void efl_input_device_evas_set(Eo *obj, Evas *e); |
46 | EOAPI Evas *efl_input_device_evas_get(const Eo *obj); | 22 | EVAS_API EVAS_API_WEAK Evas *efl_input_device_evas_get(const Eo *obj); |
47 | 23 | ||
48 | EOAPI void efl_input_device_subclass_set(Eo *obj, Evas_Device_Subclass sub_clas); | 24 | EVAS_API EVAS_API_WEAK void efl_input_device_subclass_set(Eo *obj, Evas_Device_Subclass sub_clas); |
49 | EOAPI Evas_Device_Subclass efl_input_device_subclass_get(const Eo *obj); | 25 | EVAS_API EVAS_API_WEAK Evas_Device_Subclass efl_input_device_subclass_get(const Eo *obj); |
50 | 26 | ||
51 | EOAPI void efl_input_device_grab_register(Eo *obj, Efl_Canvas_Object *grab, Evas_Object_Pointer_Data *pdata); | 27 | EVAS_API EVAS_API_WEAK void efl_input_device_grab_register(Eo *obj, Efl_Canvas_Object *grab, Evas_Object_Pointer_Data *pdata); |
52 | EOAPI void efl_input_device_grab_unregister(Eo *obj, Efl_Canvas_Object *grab, Evas_Object_Pointer_Data *pdata); | 28 | EVAS_API EVAS_API_WEAK void efl_input_device_grab_unregister(Eo *obj, Efl_Canvas_Object *grab, Evas_Object_Pointer_Data *pdata); |
53 | 29 | ||
54 | typedef struct _Efl_Input_Pointer_Data Efl_Input_Pointer_Data; | 30 | typedef struct _Efl_Input_Pointer_Data Efl_Input_Pointer_Data; |
55 | typedef struct _Efl_Input_Key_Data Efl_Input_Key_Data; | 31 | typedef struct _Efl_Input_Key_Data Efl_Input_Key_Data; |
@@ -193,23 +169,23 @@ _efl_input_value_mark(Efl_Input_Pointer_Data *pd, Efl_Input_Value key) | |||
193 | 169 | ||
194 | typedef struct _Efl_Canvas_Output Efl_Canvas_Output; | 170 | typedef struct _Efl_Canvas_Output Efl_Canvas_Output; |
195 | 171 | ||
196 | EAPI Efl_Canvas_Output *efl_canvas_output_add(Evas *canvas); | 172 | EVAS_API Efl_Canvas_Output *efl_canvas_output_add(Evas *canvas); |
197 | EAPI void efl_canvas_output_del(Efl_Canvas_Output *output); | 173 | EVAS_API void efl_canvas_output_del(Efl_Canvas_Output *output); |
198 | EAPI void efl_canvas_output_view_set(Efl_Canvas_Output *output, | 174 | EVAS_API void efl_canvas_output_view_set(Efl_Canvas_Output *output, |
199 | Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h); | 175 | Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h); |
200 | EAPI void efl_canvas_output_view_get(Efl_Canvas_Output *output, | 176 | EVAS_API void efl_canvas_output_view_get(Efl_Canvas_Output *output, |
201 | Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); | 177 | Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); |
202 | EAPI Eina_Bool efl_canvas_output_engine_info_set(Efl_Canvas_Output *output, | 178 | EVAS_API Eina_Bool efl_canvas_output_engine_info_set(Efl_Canvas_Output *output, |
203 | Evas_Engine_Info *info); | 179 | Evas_Engine_Info *info); |
204 | EAPI Evas_Engine_Info *efl_canvas_output_engine_info_get(Efl_Canvas_Output *output); | 180 | EVAS_API Evas_Engine_Info *efl_canvas_output_engine_info_get(Efl_Canvas_Output *output); |
205 | EAPI Eina_Bool efl_canvas_output_lock(Efl_Canvas_Output *output); | 181 | EVAS_API Eina_Bool efl_canvas_output_lock(Efl_Canvas_Output *output); |
206 | EAPI Eina_Bool efl_canvas_output_unlock(Efl_Canvas_Output *output); | 182 | EVAS_API Eina_Bool efl_canvas_output_unlock(Efl_Canvas_Output *output); |
207 | 183 | ||
208 | EAPI void evas_render_pending_objects_flush(Evas *eo_evas); | 184 | EVAS_API void evas_render_pending_objects_flush(Evas *eo_evas); |
209 | 185 | ||
210 | EAPI void efl_input_pointer_finalize(Efl_Input_Pointer *obj); | 186 | EVAS_API void efl_input_pointer_finalize(Efl_Input_Pointer *obj); |
211 | 187 | ||
212 | EAPI Eina_Iterator *efl_canvas_iterator_create(Eo *obj, Eina_Iterator *real_iterator, Eina_List *list); | 188 | EVAS_API Eina_Iterator *efl_canvas_iterator_create(Eo *obj, Eina_Iterator *real_iterator, Eina_List *list); |
213 | 189 | ||
214 | static inline void | 190 | static inline void |
215 | evas_object_size_hint_combined_min_get(const Eo *obj, int *w, int *h) | 191 | evas_object_size_hint_combined_min_get(const Eo *obj, int *w, int *h) |
@@ -230,23 +206,23 @@ evas_object_size_hint_combined_max_get(const Eo *obj, int *w, int *h) | |||
230 | } | 206 | } |
231 | 207 | ||
232 | /* Internal EO APIs */ | 208 | /* Internal EO APIs */ |
233 | EAPI Eo *evas_find(const Eo *obj); | 209 | EVAS_API Eo *evas_find(const Eo *obj); |
234 | EOAPI void efl_canvas_object_legacy_ctor(Eo *obj); | 210 | EVAS_API EVAS_API_WEAK void efl_canvas_object_legacy_ctor(Eo *obj); |
235 | EOAPI void efl_canvas_object_type_set(Eo *obj, const char *type); | 211 | EVAS_API EVAS_API_WEAK void efl_canvas_object_type_set(Eo *obj, const char *type); |
236 | EOAPI void efl_canvas_group_add(Eo *obj); | 212 | EVAS_API EVAS_API_WEAK void efl_canvas_group_add(Eo *obj); |
237 | EOAPI void efl_canvas_group_del(Eo *obj); | 213 | EVAS_API EVAS_API_WEAK void efl_canvas_group_del(Eo *obj); |
238 | EOAPI void efl_canvas_group_clipped_set(Eo *obj, Eina_Bool unclipped); | 214 | EVAS_API EVAS_API_WEAK void efl_canvas_group_clipped_set(Eo *obj, Eina_Bool unclipped); |
239 | EOAPI void evas_canvas_touch_point_list_nth_xy_get(Eo *obj, unsigned int n, double *x, double *y); | 215 | EVAS_API EVAS_API_WEAK void evas_canvas_touch_point_list_nth_xy_get(Eo *obj, unsigned int n, double *x, double *y); |
240 | EOAPI void evas_canvas_seat_focus_in(Eo *obj, Efl_Input_Device *seat); | 216 | EVAS_API EVAS_API_WEAK void evas_canvas_seat_focus_in(Eo *obj, Efl_Input_Device *seat); |
241 | EOAPI void evas_canvas_seat_focus_out(Eo *obj, Efl_Input_Device *seat); | 217 | EVAS_API EVAS_API_WEAK void evas_canvas_seat_focus_out(Eo *obj, Efl_Input_Device *seat); |
242 | EOAPI Eo* evas_canvas_seat_focus_get(const Eo *obj, Efl_Input_Device *seat); | 218 | EVAS_API EVAS_API_WEAK Eo* evas_canvas_seat_focus_get(const Eo *obj, Efl_Input_Device *seat); |
243 | 219 | ||
244 | EOAPI void *efl_input_legacy_info_get(const Eo *obj); | 220 | EVAS_API EVAS_API_WEAK void *efl_input_legacy_info_get(const Eo *obj); |
245 | 221 | ||
246 | EOAPI Eo *efl_input_focus_instance_get(Efl_Object *owner, void **priv); | 222 | EVAS_API EVAS_API_WEAK Eo *efl_input_focus_instance_get(Efl_Object *owner, void **priv); |
247 | EOAPI Eo *efl_input_hold_instance_get(Efl_Object *owner, void **priv); | 223 | EVAS_API EVAS_API_WEAK Eo *efl_input_hold_instance_get(Efl_Object *owner, void **priv); |
248 | EOAPI Eo *efl_input_key_instance_get(Efl_Object *owner, void **priv); | 224 | EVAS_API EVAS_API_WEAK Eo *efl_input_key_instance_get(Efl_Object *owner, void **priv); |
249 | EOAPI Eo *efl_input_pointer_instance_get(Efl_Object *owner, void **priv); | 225 | EVAS_API EVAS_API_WEAK Eo *efl_input_pointer_instance_get(Efl_Object *owner, void **priv); |
250 | /** | 226 | /** |
251 | * @brief If @c true the object belongs to the window border decorations. | 227 | * @brief If @c true the object belongs to the window border decorations. |
252 | * | 228 | * |
@@ -264,7 +240,7 @@ EOAPI Eo *efl_input_pointer_instance_get(Efl_Object *owner, void **priv); | |||
264 | * | 240 | * |
265 | * @ingroup Efl_Canvas_Object | 241 | * @ingroup Efl_Canvas_Object |
266 | */ | 242 | */ |
267 | EOAPI void efl_canvas_object_is_frame_object_set(Eo *obj, Eina_Bool is_frame); | 243 | EVAS_API EVAS_API_WEAK void efl_canvas_object_is_frame_object_set(Eo *obj, Eina_Bool is_frame); |
268 | 244 | ||
269 | /** | 245 | /** |
270 | * @brief If @c true the object belongs to the window border decorations. | 246 | * @brief If @c true the object belongs to the window border decorations. |
@@ -284,18 +260,18 @@ EOAPI void efl_canvas_object_is_frame_object_set(Eo *obj, Eina_Bool is_frame); | |||
284 | * | 260 | * |
285 | * @ingroup Efl_Canvas_Object | 261 | * @ingroup Efl_Canvas_Object |
286 | */ | 262 | */ |
287 | EOAPI Eina_Bool efl_canvas_object_is_frame_object_get(const Eo *obj); | 263 | EVAS_API EVAS_API_WEAK Eina_Bool efl_canvas_object_is_frame_object_get(const Eo *obj); |
288 | 264 | ||
289 | EWAPI extern const Efl_Event_Description _EVAS_CANVAS_EVENT_RENDER_FLUSH_PRE; | 265 | EVAS_API EVAS_API_WEAK extern const Efl_Event_Description _EVAS_CANVAS_EVENT_RENDER_FLUSH_PRE; |
290 | #define EVAS_CANVAS_EVENT_RENDER_FLUSH_PRE (&(_EVAS_CANVAS_EVENT_RENDER_FLUSH_PRE)) | 266 | #define EVAS_CANVAS_EVENT_RENDER_FLUSH_PRE (&(_EVAS_CANVAS_EVENT_RENDER_FLUSH_PRE)) |
291 | 267 | ||
292 | EWAPI extern const Efl_Event_Description _EVAS_CANVAS_EVENT_RENDER_FLUSH_POST; | 268 | EVAS_API EVAS_API_WEAK extern const Efl_Event_Description _EVAS_CANVAS_EVENT_RENDER_FLUSH_POST; |
293 | #define EVAS_CANVAS_EVENT_RENDER_FLUSH_POST (&(_EVAS_CANVAS_EVENT_RENDER_FLUSH_POST)) | 269 | #define EVAS_CANVAS_EVENT_RENDER_FLUSH_POST (&(_EVAS_CANVAS_EVENT_RENDER_FLUSH_POST)) |
294 | 270 | ||
295 | EWAPI extern const Efl_Event_Description _EVAS_CANVAS_EVENT_AXIS_UPDATE; | 271 | EVAS_API EVAS_API_WEAK extern const Efl_Event_Description _EVAS_CANVAS_EVENT_AXIS_UPDATE; |
296 | #define EVAS_CANVAS_EVENT_AXIS_UPDATE (&(_EVAS_CANVAS_EVENT_AXIS_UPDATE)) | 272 | #define EVAS_CANVAS_EVENT_AXIS_UPDATE (&(_EVAS_CANVAS_EVENT_AXIS_UPDATE)) |
297 | 273 | ||
298 | EWAPI extern const Efl_Event_Description _EVAS_CANVAS_EVENT_VIEWPORT_RESIZE; | 274 | EVAS_API EVAS_API_WEAK extern const Efl_Event_Description _EVAS_CANVAS_EVENT_VIEWPORT_RESIZE; |
299 | #define EVAS_CANVAS_EVENT_VIEWPORT_RESIZE (&(_EVAS_CANVAS_EVENT_VIEWPORT_RESIZE)) | 275 | #define EVAS_CANVAS_EVENT_VIEWPORT_RESIZE (&(_EVAS_CANVAS_EVENT_VIEWPORT_RESIZE)) |
300 | 276 | ||
301 | #define EFL_CANVAS_GROUP_DEL_OPS(kls) EFL_OBJECT_OP_FUNC(efl_canvas_group_del, _##kls##_efl_canvas_group_group_del) | 277 | #define EFL_CANVAS_GROUP_DEL_OPS(kls) EFL_OBJECT_OP_FUNC(efl_canvas_group_del, _##kls##_efl_canvas_group_group_del) |
@@ -303,7 +279,7 @@ EWAPI extern const Efl_Event_Description _EVAS_CANVAS_EVENT_VIEWPORT_RESIZE; | |||
303 | #define EFL_CANVAS_GROUP_ADD_DEL_OPS(kls) EFL_CANVAS_GROUP_ADD_OPS(kls), EFL_CANVAS_GROUP_DEL_OPS(kls) | 279 | #define EFL_CANVAS_GROUP_ADD_DEL_OPS(kls) EFL_CANVAS_GROUP_ADD_OPS(kls), EFL_CANVAS_GROUP_DEL_OPS(kls) |
304 | 280 | ||
305 | /* Efl.Animation.Player */ | 281 | /* Efl.Animation.Player */ |
306 | EWAPI extern const Efl_Event_Description _EFL_ANIMATION_PLAYER_EVENT_PRE_STARTED; | 282 | EVAS_API EVAS_API_WEAK extern const Efl_Event_Description _EFL_ANIMATION_PLAYER_EVENT_PRE_STARTED; |
307 | #define EFL_ANIMATION_PLAYER_EVENT_PRE_STARTED (&(_EFL_ANIMATION_PLAYER_EVENT_PRE_STARTED)) | 283 | #define EFL_ANIMATION_PLAYER_EVENT_PRE_STARTED (&(_EFL_ANIMATION_PLAYER_EVENT_PRE_STARTED)) |
308 | /* Efl.Animation.Player END */ | 284 | /* Efl.Animation.Player END */ |
309 | 285 | ||
@@ -316,24 +292,21 @@ EWAPI extern const Efl_Event_Description _EFL_ANIMATION_PLAYER_EVENT_PRE_STARTED | |||
316 | * @param cur the cursor. | 292 | * @param cur the cursor. |
317 | * @param forward if Eina_True check cluster after cusror position, else before cursor position. | 293 | * @param forward if Eina_True check cluster after cusror position, else before cursor position. |
318 | */ | 294 | */ |
319 | EAPI Eina_Bool evas_textblock_cursor_at_cluster_as_single_glyph(Evas_Textblock_Cursor *cur,Eina_Bool forward); | 295 | EVAS_API Eina_Bool evas_textblock_cursor_at_cluster_as_single_glyph(Evas_Textblock_Cursor *cur,Eina_Bool forward); |
320 | 296 | ||
321 | 297 | ||
322 | 298 | ||
323 | 299 | ||
324 | /*Attribute Factory Internal function*/ | 300 | /*Attribute Factory Internal function*/ |
325 | EAPI const char * efl_text_formatter_attribute_get(Efl_Text_Attribute_Handle *annotation); | 301 | EVAS_API const char * efl_text_formatter_attribute_get(Efl_Text_Attribute_Handle *annotation); |
326 | EAPI Eina_Iterator * efl_text_formatter_range_attributes_get(const Efl_Text_Cursor_Object *start, const Efl_Text_Cursor_Object *end); | 302 | EVAS_API Eina_Iterator * efl_text_formatter_range_attributes_get(const Efl_Text_Cursor_Object *start, const Efl_Text_Cursor_Object *end); |
327 | EAPI void efl_text_formatter_attribute_cursors_get(const Efl_Text_Attribute_Handle *handle, Efl_Text_Cursor_Object *start, Efl_Text_Cursor_Object *end); | 303 | EVAS_API void efl_text_formatter_attribute_cursors_get(const Efl_Text_Attribute_Handle *handle, Efl_Text_Cursor_Object *start, Efl_Text_Cursor_Object *end); |
328 | EAPI void efl_text_formatter_remove(Efl_Text_Attribute_Handle *annotation); | 304 | EVAS_API void efl_text_formatter_remove(Efl_Text_Attribute_Handle *annotation); |
329 | EAPI Eina_Bool efl_text_formatter_attribute_is_item(Efl_Text_Attribute_Handle *annotation); | 305 | EVAS_API Eina_Bool efl_text_formatter_attribute_is_item(Efl_Text_Attribute_Handle *annotation); |
330 | EAPI Eina_Bool efl_text_formatter_item_geometry_get(const Efl_Text_Attribute_Handle *annotation, int *x, int *y, int *w, int *h); | 306 | EVAS_API Eina_Bool efl_text_formatter_item_geometry_get(const Efl_Text_Attribute_Handle *annotation, int *x, int *y, int *w, int *h); |
331 | 307 | ||
332 | #ifdef __cplusplus | 308 | #ifdef __cplusplus |
333 | } | 309 | } |
334 | #endif | 310 | #endif |
335 | 311 | ||
336 | #undef EAPI | ||
337 | #define EAPI | ||
338 | |||
339 | #endif | 312 | #endif |
diff --git a/src/lib/evas/Evas_Legacy.h b/src/lib/evas/Evas_Legacy.h index cee20dda1a..4affbb99ae 100644 --- a/src/lib/evas/Evas_Legacy.h +++ b/src/lib/evas/Evas_Legacy.h | |||
@@ -30,7 +30,7 @@ | |||
30 | * @return A new uninitialised Evas canvas on success. Otherwise, @c NULL. | 30 | * @return A new uninitialised Evas canvas on success. Otherwise, @c NULL. |
31 | * @ingroup Evas_Canvas | 31 | * @ingroup Evas_Canvas |
32 | */ | 32 | */ |
33 | EAPI Evas *evas_new(void) EINA_WARN_UNUSED_RESULT EINA_MALLOC; | 33 | EVAS_API Evas *evas_new(void) EINA_WARN_UNUSED_RESULT EINA_MALLOC; |
34 | 34 | ||
35 | /** | 35 | /** |
36 | * Frees the given evas and any objects created on it. | 36 | * Frees the given evas and any objects created on it. |
@@ -42,7 +42,7 @@ EAPI Evas *evas_new(void) EINA_WARN_UNUSED_RESULT EINA_MALLOC; | |||
42 | * | 42 | * |
43 | * @ingroup Evas_Canvas | 43 | * @ingroup Evas_Canvas |
44 | */ | 44 | */ |
45 | EAPI void evas_free(Evas *e) EINA_ARG_NONNULL(1); | 45 | EVAS_API void evas_free(Evas *e) EINA_ARG_NONNULL(1); |
46 | 46 | ||
47 | typedef struct _Evas_Engine_Info /** Generic engine information. Generic info is useless */ | 47 | typedef struct _Evas_Engine_Info /** Generic engine information. Generic info is useless */ |
48 | { | 48 | { |
@@ -69,7 +69,7 @@ typedef struct _Evas_Engine_Info /** Generic engine information. Generic info is | |||
69 | * | 69 | * |
70 | * @ingroup Evas_Canvas | 70 | * @ingroup Evas_Canvas |
71 | */ | 71 | */ |
72 | EAPI Eina_Bool evas_engine_info_set(Evas *obj, Evas_Engine_Info *info); | 72 | EVAS_API Eina_Bool evas_engine_info_set(Evas *obj, Evas_Engine_Info *info); |
73 | 73 | ||
74 | /** | 74 | /** |
75 | * @brief Retrieves the current render engine info struct from the given evas. | 75 | * @brief Retrieves the current render engine info struct from the given evas. |
@@ -83,7 +83,7 @@ EAPI Eina_Bool evas_engine_info_set(Evas *obj, Evas_Engine_Info *info); | |||
83 | * | 83 | * |
84 | * @ingroup Evas_Canvas | 84 | * @ingroup Evas_Canvas |
85 | */ | 85 | */ |
86 | EAPI Evas_Engine_Info *evas_engine_info_get(const Evas *obj); | 86 | EVAS_API Evas_Engine_Info *evas_engine_info_get(const Evas *obj); |
87 | 87 | ||
88 | /** | 88 | /** |
89 | * @brief Get the maximum image size evas can possibly handle. | 89 | * @brief Get the maximum image size evas can possibly handle. |
@@ -99,7 +99,7 @@ EAPI Evas_Engine_Info *evas_engine_info_get(const Evas *obj); | |||
99 | * | 99 | * |
100 | * @return @c true on success, @c false otherwise | 100 | * @return @c true on success, @c false otherwise |
101 | */ | 101 | */ |
102 | EAPI Eina_Bool evas_image_max_size_get(Eo *eo_e, int *w, int *h); | 102 | EVAS_API Eina_Bool evas_image_max_size_get(Eo *eo_e, int *w, int *h); |
103 | 103 | ||
104 | 104 | ||
105 | #include "canvas/evas_canvas_eo.legacy.h" | 105 | #include "canvas/evas_canvas_eo.legacy.h" |
@@ -455,7 +455,7 @@ struct _Evas_Event_Axis_Update | |||
455 | * it more than once on the event, in this case). This would make | 455 | * it more than once on the event, in this case). This would make |
456 | * sense if you passed different functions and/or callback data, only. | 456 | * sense if you passed different functions and/or callback data, only. |
457 | */ | 457 | */ |
458 | EAPI void evas_event_callback_add(Evas *e, Evas_Callback_Type type, Evas_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 3); | 458 | EVAS_API void evas_event_callback_add(Evas *e, Evas_Callback_Type type, Evas_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 3); |
459 | 459 | ||
460 | /** | 460 | /** |
461 | * Add (register) a callback function to a given canvas event with a | 461 | * Add (register) a callback function to a given canvas event with a |
@@ -472,7 +472,7 @@ EAPI void evas_event_callback_add(Evas *e, Evas_Callback_Type type, Evas_Event_ | |||
472 | * @see evas_event_callback_add | 472 | * @see evas_event_callback_add |
473 | * @since 1.1 | 473 | * @since 1.1 |
474 | */ | 474 | */ |
475 | EAPI void evas_event_callback_priority_add(Evas *e, Evas_Callback_Type type, Evas_Callback_Priority priority, Evas_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 4); | 475 | EVAS_API void evas_event_callback_priority_add(Evas *e, Evas_Callback_Type type, Evas_Callback_Priority priority, Evas_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 4); |
476 | 476 | ||
477 | /** | 477 | /** |
478 | * Delete a callback function from the canvas. | 478 | * Delete a callback function from the canvas. |
@@ -498,7 +498,7 @@ EAPI void evas_event_callback_priority_add(Evas *e, Evas_Callback_Type type, Ev | |||
498 | * my_data = evas_event_callback_del(ebject, EVAS_CALLBACK_CANVAS_FOCUS_IN, focus_in_callback); | 498 | * my_data = evas_event_callback_del(ebject, EVAS_CALLBACK_CANVAS_FOCUS_IN, focus_in_callback); |
499 | * @endcode | 499 | * @endcode |
500 | */ | 500 | */ |
501 | EAPI void *evas_event_callback_del(Evas *e, Evas_Callback_Type type, Evas_Event_Cb func) EINA_ARG_NONNULL(1, 3); | 501 | EVAS_API void *evas_event_callback_del(Evas *e, Evas_Callback_Type type, Evas_Event_Cb func) EINA_ARG_NONNULL(1, 3); |
502 | 502 | ||
503 | /** | 503 | /** |
504 | * Delete (unregister) a callback function registered to a given | 504 | * Delete (unregister) a callback function registered to a given |
@@ -530,7 +530,7 @@ EAPI void *evas_event_callback_del(Evas *e, Evas_Callback_Type type, Evas_Event_ | |||
530 | * @note For deletion of canvas events callbacks filtering by just | 530 | * @note For deletion of canvas events callbacks filtering by just |
531 | * type and function pointer, user evas_event_callback_del(). | 531 | * type and function pointer, user evas_event_callback_del(). |
532 | */ | 532 | */ |
533 | EAPI void *evas_event_callback_del_full(Evas *e, Evas_Callback_Type type, Evas_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 3); | 533 | EVAS_API void *evas_event_callback_del_full(Evas *e, Evas_Callback_Type type, Evas_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 3); |
534 | 534 | ||
535 | /** | 535 | /** |
536 | * Push a callback on the post-event callback stack | 536 | * Push a callback on the post-event callback stack |
@@ -563,7 +563,7 @@ EAPI void *evas_event_callback_del_full(Evas *e, Evas_Callback_Type type, Evas_E | |||
563 | * @warning Only use this function if you know exactly what you are doing! | 563 | * @warning Only use this function if you know exactly what you are doing! |
564 | * | 564 | * |
565 | */ | 565 | */ |
566 | EAPI void evas_post_event_callback_push(Evas *e, Evas_Object_Event_Post_Cb func, const void *data); | 566 | EVAS_API void evas_post_event_callback_push(Evas *e, Evas_Object_Event_Post_Cb func, const void *data); |
567 | 567 | ||
568 | /** | 568 | /** |
569 | * Remove a callback from the post-event callback stack | 569 | * Remove a callback from the post-event callback stack |
@@ -576,7 +576,7 @@ EAPI void evas_post_event_callback_push(Evas *e, Evas_Object_Event_Post_Cb func | |||
576 | * the callback stack is removed from being executed when the stack is | 576 | * the callback stack is removed from being executed when the stack is |
577 | * unwound. Further instances may still be run on unwind. | 577 | * unwound. Further instances may still be run on unwind. |
578 | */ | 578 | */ |
579 | EAPI void evas_post_event_callback_remove(Evas *e, Evas_Object_Event_Post_Cb func); | 579 | EVAS_API void evas_post_event_callback_remove(Evas *e, Evas_Object_Event_Post_Cb func); |
580 | 580 | ||
581 | /** | 581 | /** |
582 | * Remove a callback from the post-event callback stack | 582 | * Remove a callback from the post-event callback stack |
@@ -590,7 +590,7 @@ EAPI void evas_post_event_callback_remove(Evas *e, Evas_Object_Event_Post_Cb fu | |||
590 | * in the callback stack is removed from being executed when the stack is | 590 | * in the callback stack is removed from being executed when the stack is |
591 | * unwound. Further instances may still be run on unwind. | 591 | * unwound. Further instances may still be run on unwind. |
592 | */ | 592 | */ |
593 | EAPI void evas_post_event_callback_remove_full(Evas *e, Evas_Object_Event_Post_Cb func, const void *data); | 593 | EVAS_API void evas_post_event_callback_remove_full(Evas *e, Evas_Object_Event_Post_Cb func, const void *data); |
594 | 594 | ||
595 | /** | 595 | /** |
596 | * @} | 596 | * @} |
@@ -631,7 +631,7 @@ EAPI void evas_post_event_callback_remove_full(Evas *e, Evas_Object_Event_Post_ | |||
631 | * realistic code we would be freezing while a toolkit or Edje was | 631 | * realistic code we would be freezing while a toolkit or Edje was |
632 | * doing some UI changes, thawing it back afterwards. | 632 | * doing some UI changes, thawing it back afterwards. |
633 | */ | 633 | */ |
634 | EAPI void evas_event_freeze(Evas *e) EINA_ARG_NONNULL(1); | 634 | EVAS_API void evas_event_freeze(Evas *e) EINA_ARG_NONNULL(1); |
635 | 635 | ||
636 | /** | 636 | /** |
637 | * Thaw a canvas out after freezing (for input events). | 637 | * Thaw a canvas out after freezing (for input events). |
@@ -646,7 +646,7 @@ EAPI void evas_event_freeze(Evas *e) EINA_ARG_NONNULL(1); | |||
646 | * | 646 | * |
647 | * See evas_event_freeze() for an example. | 647 | * See evas_event_freeze() for an example. |
648 | */ | 648 | */ |
649 | EAPI void evas_event_thaw(Evas *e) EINA_ARG_NONNULL(1); | 649 | EVAS_API void evas_event_thaw(Evas *e) EINA_ARG_NONNULL(1); |
650 | 650 | ||
651 | /** | 651 | /** |
652 | * Return the freeze count on input events of a given canvas. | 652 | * Return the freeze count on input events of a given canvas. |
@@ -668,7 +668,7 @@ EAPI void evas_event_thaw(Evas *e) EINA_ARG_NONNULL(1); | |||
668 | * @endcode | 668 | * @endcode |
669 | * | 669 | * |
670 | */ | 670 | */ |
671 | EAPI int evas_event_freeze_get(const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); | 671 | EVAS_API int evas_event_freeze_get(const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); |
672 | 672 | ||
673 | /** | 673 | /** |
674 | * After thaw of a canvas, re-evaluate the state of objects and call callbacks | 674 | * After thaw of a canvas, re-evaluate the state of objects and call callbacks |
@@ -679,7 +679,7 @@ EAPI int evas_event_freeze_get(const Evas *e) EINA_WARN_UNUSED_RESU | |||
679 | * containment and other states and thus also call callbacks for mouse in and | 679 | * containment and other states and thus also call callbacks for mouse in and |
680 | * out on new objects if the state change demands it. | 680 | * out on new objects if the state change demands it. |
681 | */ | 681 | */ |
682 | EAPI void evas_event_thaw_eval(Evas *e) EINA_ARG_NONNULL(1); | 682 | EVAS_API void evas_event_thaw_eval(Evas *e) EINA_ARG_NONNULL(1); |
683 | 683 | ||
684 | /** | 684 | /** |
685 | * @brief Mouse move event feed. | 685 | * @brief Mouse move event feed. |
@@ -692,7 +692,7 @@ EAPI void evas_event_thaw_eval(Evas *e) EINA_ARG_NONNULL(1); | |||
692 | * @param[in] timestamp The timestamp of the mouse up event. | 692 | * @param[in] timestamp The timestamp of the mouse up event. |
693 | * @param[in] data The data for canvas. | 693 | * @param[in] data The data for canvas. |
694 | */ | 694 | */ |
695 | EAPI void evas_event_feed_mouse_move(Evas *obj, int x, int y, unsigned int timestamp, const void *data); | 695 | EVAS_API void evas_event_feed_mouse_move(Evas *obj, int x, int y, unsigned int timestamp, const void *data); |
696 | 696 | ||
697 | /** | 697 | /** |
698 | * @brief Mouse move event feed from input. | 698 | * @brief Mouse move event feed from input. |
@@ -710,7 +710,7 @@ EAPI void evas_event_feed_mouse_move(Evas *obj, int x, int y, unsign | |||
710 | * | 710 | * |
711 | * @since 1.8 | 711 | * @since 1.8 |
712 | */ | 712 | */ |
713 | EAPI void evas_event_input_mouse_move(Evas *obj, int x, int y, unsigned int timestamp, const void *data); | 713 | EVAS_API void evas_event_input_mouse_move(Evas *obj, int x, int y, unsigned int timestamp, const void *data); |
714 | 714 | ||
715 | /** | 715 | /** |
716 | * @brief Mouse up event feed. | 716 | * @brief Mouse up event feed. |
@@ -723,7 +723,7 @@ EAPI void evas_event_input_mouse_move(Evas *obj, int x, int y, unsig | |||
723 | * @param[in] timestamp The timestamp of the mouse up event. | 723 | * @param[in] timestamp The timestamp of the mouse up event. |
724 | * @param[in] data The data for canvas. | 724 | * @param[in] data The data for canvas. |
725 | */ | 725 | */ |
726 | EAPI void evas_event_feed_mouse_up(Evas *obj, int b, Evas_Button_Flags flags, unsigned int timestamp, const void *data); | 726 | EVAS_API void evas_event_feed_mouse_up(Evas *obj, int b, Evas_Button_Flags flags, unsigned int timestamp, const void *data); |
727 | 727 | ||
728 | /** | 728 | /** |
729 | * @brief Mouse down event feed. | 729 | * @brief Mouse down event feed. |
@@ -736,7 +736,7 @@ EAPI void evas_event_feed_mouse_up(Evas *obj, int b, Evas_Button_Fla | |||
736 | * @param[in] timestamp The timestamp of the mouse up event. | 736 | * @param[in] timestamp The timestamp of the mouse up event. |
737 | * @param[in] data The data for canvas. | 737 | * @param[in] data The data for canvas. |
738 | */ | 738 | */ |
739 | EAPI void evas_event_feed_mouse_down(Evas *obj, int b, Evas_Button_Flags flags, unsigned int timestamp, const void *data); | 739 | EVAS_API void evas_event_feed_mouse_down(Evas *obj, int b, Evas_Button_Flags flags, unsigned int timestamp, const void *data); |
740 | 740 | ||
741 | /** | 741 | /** |
742 | * @brief Mouse wheel event feed. | 742 | * @brief Mouse wheel event feed. |
@@ -749,7 +749,7 @@ EAPI void evas_event_feed_mouse_down(Evas *obj, int b, Evas_Button_F | |||
749 | * @param[in] timestamp The timestamp of the mouse up event. | 749 | * @param[in] timestamp The timestamp of the mouse up event. |
750 | * @param[in] data The data for canvas. | 750 | * @param[in] data The data for canvas. |
751 | */ | 751 | */ |
752 | EAPI void evas_event_feed_mouse_wheel(Evas *obj, int direction, int z, unsigned int timestamp, const void *data); | 752 | EVAS_API void evas_event_feed_mouse_wheel(Evas *obj, int direction, int z, unsigned int timestamp, const void *data); |
753 | 753 | ||
754 | /** | 754 | /** |
755 | * @brief Mouse in event feed. | 755 | * @brief Mouse in event feed. |
@@ -760,7 +760,7 @@ EAPI void evas_event_feed_mouse_wheel(Evas *obj, int direction, int | |||
760 | * | 760 | * |
761 | * @param[in] data The data for canvas. | 761 | * @param[in] data The data for canvas. |
762 | */ | 762 | */ |
763 | EAPI void evas_event_feed_mouse_in(Evas *obj, unsigned int timestamp, const void *data); | 763 | EVAS_API void evas_event_feed_mouse_in(Evas *obj, unsigned int timestamp, const void *data); |
764 | 764 | ||
765 | /** | 765 | /** |
766 | * @brief Mouse out event feed. | 766 | * @brief Mouse out event feed. |
@@ -771,7 +771,7 @@ EAPI void evas_event_feed_mouse_in(Evas *obj, unsigned int timestamp | |||
771 | * | 771 | * |
772 | * @param[in] data The data for canvas. | 772 | * @param[in] data The data for canvas. |
773 | */ | 773 | */ |
774 | EAPI void evas_event_feed_mouse_out(Evas *obj, unsigned int timestamp, const void *data); | 774 | EVAS_API void evas_event_feed_mouse_out(Evas *obj, unsigned int timestamp, const void *data); |
775 | 775 | ||
776 | /** | 776 | /** |
777 | * @brief Mouse cancel event feed. | 777 | * @brief Mouse cancel event feed. |
@@ -780,15 +780,15 @@ EAPI void evas_event_feed_mouse_out(Evas *obj, unsigned int timestam | |||
780 | * | 780 | * |
781 | * @param[in] data The data for canvas. | 781 | * @param[in] data The data for canvas. |
782 | */ | 782 | */ |
783 | EAPI void evas_event_feed_mouse_cancel(Evas *obj, unsigned int timestamp, const void *data); | 783 | EVAS_API void evas_event_feed_mouse_cancel(Evas *obj, unsigned int timestamp, const void *data); |
784 | 784 | ||
785 | /* multi touch events - no doc */ | 785 | /* multi touch events - no doc */ |
786 | EAPI void evas_event_input_multi_down(Evas *obj, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, Evas_Button_Flags flags, unsigned int timestamp, const void *data); | 786 | EVAS_API void evas_event_input_multi_down(Evas *obj, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, Evas_Button_Flags flags, unsigned int timestamp, const void *data); |
787 | EAPI void evas_event_input_multi_move(Evas *obj, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, unsigned int timestamp, const void *data); | 787 | EVAS_API void evas_event_input_multi_move(Evas *obj, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, unsigned int timestamp, const void *data); |
788 | EAPI void evas_event_input_multi_up(Evas *obj, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, Evas_Button_Flags flags, unsigned int timestamp, const void *data); | 788 | EVAS_API void evas_event_input_multi_up(Evas *obj, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, Evas_Button_Flags flags, unsigned int timestamp, const void *data); |
789 | EAPI void evas_event_feed_multi_down(Evas *obj, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, Evas_Button_Flags flags, unsigned int timestamp, const void *data); | 789 | EVAS_API void evas_event_feed_multi_down(Evas *obj, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, Evas_Button_Flags flags, unsigned int timestamp, const void *data); |
790 | EAPI void evas_event_feed_multi_move(Evas *obj, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, unsigned int timestamp, const void *data); | 790 | EVAS_API void evas_event_feed_multi_move(Evas *obj, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, unsigned int timestamp, const void *data); |
791 | EAPI void evas_event_feed_multi_up(Evas *obj, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, Evas_Button_Flags flags, unsigned int timestamp, const void *data); | 791 | EVAS_API void evas_event_feed_multi_up(Evas *obj, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, Evas_Button_Flags flags, unsigned int timestamp, const void *data); |
792 | 792 | ||
793 | /** | 793 | /** |
794 | * @brief Key down event feed. | 794 | * @brief Key down event feed. |
@@ -802,7 +802,7 @@ EAPI void evas_event_feed_multi_up(Evas *obj, int d, int x, int y, d | |||
802 | * @param[in] timestamp Timestamp of the mouse up event. | 802 | * @param[in] timestamp Timestamp of the mouse up event. |
803 | * @param[in] data Data for canvas. | 803 | * @param[in] data Data for canvas. |
804 | */ | 804 | */ |
805 | EAPI void evas_event_feed_key_down(Evas *obj, const char *keyname, const char *key, const char *string, const char *compose, unsigned int timestamp, const void *data); | 805 | EVAS_API void evas_event_feed_key_down(Evas *obj, const char *keyname, const char *key, const char *string, const char *compose, unsigned int timestamp, const void *data); |
806 | 806 | ||
807 | /** | 807 | /** |
808 | * @brief Key up event feed. | 808 | * @brief Key up event feed. |
@@ -816,7 +816,7 @@ EAPI void evas_event_feed_key_down(Evas *obj, const char *keyname, c | |||
816 | * @param[in] timestamp Timestamp of the mouse up event. | 816 | * @param[in] timestamp Timestamp of the mouse up event. |
817 | * @param[in] data Data for canvas. | 817 | * @param[in] data Data for canvas. |
818 | */ | 818 | */ |
819 | EAPI void evas_event_feed_key_up(Evas *obj, const char *keyname, const char *key, const char *string, const char *compose, unsigned int timestamp, const void *data); | 819 | EVAS_API void evas_event_feed_key_up(Evas *obj, const char *keyname, const char *key, const char *string, const char *compose, unsigned int timestamp, const void *data); |
820 | 820 | ||
821 | /** | 821 | /** |
822 | * @brief Key down event feed with keycode. | 822 | * @brief Key down event feed with keycode. |
@@ -833,7 +833,7 @@ EAPI void evas_event_feed_key_up(Evas *obj, const char *keyname, con | |||
833 | * | 833 | * |
834 | * @since 1.10 | 834 | * @since 1.10 |
835 | */ | 835 | */ |
836 | EAPI void evas_event_feed_key_down_with_keycode(Evas *obj, const char *keyname, const char *key, const char *string, const char *compose, unsigned int timestamp, const void *data, unsigned int keycode); | 836 | EVAS_API void evas_event_feed_key_down_with_keycode(Evas *obj, const char *keyname, const char *key, const char *string, const char *compose, unsigned int timestamp, const void *data, unsigned int keycode); |
837 | 837 | ||
838 | /** | 838 | /** |
839 | * @brief Key up event feed with keycode. | 839 | * @brief Key up event feed with keycode. |
@@ -850,7 +850,7 @@ EAPI void evas_event_feed_key_down_with_keycode(Evas *obj, const cha | |||
850 | * | 850 | * |
851 | * @since 1.10 | 851 | * @since 1.10 |
852 | */ | 852 | */ |
853 | EAPI void evas_event_feed_key_up_with_keycode(Evas *obj, const char *keyname, const char *key, const char *string, const char *compose, unsigned int timestamp, const void *data, unsigned int keycode); | 853 | EVAS_API void evas_event_feed_key_up_with_keycode(Evas *obj, const char *keyname, const char *key, const char *string, const char *compose, unsigned int timestamp, const void *data, unsigned int keycode); |
854 | 854 | ||
855 | /** | 855 | /** |
856 | * @brief Input device axis update event feed. | 856 | * @brief Input device axis update event feed. |
@@ -867,7 +867,7 @@ EAPI void evas_event_feed_key_up_with_keycode(Evas *obj, const char | |||
867 | * | 867 | * |
868 | * @since 1.13 | 868 | * @since 1.13 |
869 | */ | 869 | */ |
870 | EAPI void evas_event_feed_axis_update(Evas *obj, unsigned int timestamp, int device, int toolid, int naxes, const Evas_Axis *axis, const void *data); | 870 | EVAS_API void evas_event_feed_axis_update(Evas *obj, unsigned int timestamp, int device, int toolid, int naxes, const Evas_Axis *axis, const void *data); |
871 | 871 | ||
872 | /** | 872 | /** |
873 | * @brief Hold event feed. | 873 | * @brief Hold event feed. |
@@ -877,7 +877,7 @@ EAPI void evas_event_feed_axis_update(Evas *obj, unsigned int timest | |||
877 | * @param[in] timestamp The timestamp of the mouse up event. | 877 | * @param[in] timestamp The timestamp of the mouse up event. |
878 | * @param[in] data The data for canvas. | 878 | * @param[in] data The data for canvas. |
879 | */ | 879 | */ |
880 | EAPI void evas_event_feed_hold(Evas *obj, int hold, unsigned int timestamp, const void *data); | 880 | EVAS_API void evas_event_feed_hold(Evas *obj, int hold, unsigned int timestamp, const void *data); |
881 | 881 | ||
882 | /** | 882 | /** |
883 | * @brief Re feed event. | 883 | * @brief Re feed event. |
@@ -889,7 +889,7 @@ EAPI void evas_event_feed_hold(Evas *obj, int hold, unsigned int tim | |||
889 | * | 889 | * |
890 | * @param[in] event_type Event type. | 890 | * @param[in] event_type Event type. |
891 | */ | 891 | */ |
892 | EAPI void evas_event_refeed_event(Evas *obj, void *event_copy, Evas_Callback_Type event_type); | 892 | EVAS_API void evas_event_refeed_event(Evas *obj, void *event_copy, Evas_Callback_Type event_type); |
893 | 893 | ||
894 | /** | 894 | /** |
895 | * @} | 895 | * @} |
@@ -917,7 +917,7 @@ EAPI void evas_event_refeed_event(Evas *obj, void *event_copy, Evas_ | |||
917 | * | 917 | * |
918 | * @ingroup Evas_Canvas | 918 | * @ingroup Evas_Canvas |
919 | */ | 919 | */ |
920 | EAPI const Evas_Modifier *evas_key_modifier_get(const Evas *obj) EINA_WARN_UNUSED_RESULT; | 920 | EVAS_API const Evas_Modifier *evas_key_modifier_get(const Evas *obj) EINA_WARN_UNUSED_RESULT; |
921 | 921 | ||
922 | /** | 922 | /** |
923 | * @brief Creates a bit mask from the @c keyname modifier key. Values returned | 923 | * @brief Creates a bit mask from the @c keyname modifier key. Values returned |
@@ -939,7 +939,7 @@ EAPI const Evas_Modifier *evas_key_modifier_get(const Evas *obj) EINA_WARN_UNUSE | |||
939 | * | 939 | * |
940 | * @ingroup Evas_Canvas | 940 | * @ingroup Evas_Canvas |
941 | */ | 941 | */ |
942 | EAPI Evas_Modifier_Mask evas_key_modifier_mask_get(const Evas *evas, const char *keyname) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(2); | 942 | EVAS_API Evas_Modifier_Mask evas_key_modifier_mask_get(const Evas *evas, const char *keyname) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(2); |
943 | 943 | ||
944 | /** | 944 | /** |
945 | * Checks the state of a given modifier of the default seat, at the time of the | 945 | * Checks the state of a given modifier of the default seat, at the time of the |
@@ -960,7 +960,7 @@ EAPI Evas_Modifier_Mask evas_key_modifier_mask_get(const Evas *evas, const char | |||
960 | * @see evas_key_modifier_off | 960 | * @see evas_key_modifier_off |
961 | * @see evas_seat_key_modifier_is_set | 961 | * @see evas_seat_key_modifier_is_set |
962 | */ | 962 | */ |
963 | EAPI Eina_Bool evas_key_modifier_is_set(const Evas_Modifier *m, const char *keyname) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1, 2); | 963 | EVAS_API Eina_Bool evas_key_modifier_is_set(const Evas_Modifier *m, const char *keyname) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1, 2); |
964 | 964 | ||
965 | /** | 965 | /** |
966 | * Checks the state of a given modifier key of a given seat, at the time of the | 966 | * Checks the state of a given modifier key of a given seat, at the time of the |
@@ -985,7 +985,7 @@ EAPI Eina_Bool evas_key_modifier_is_set(const Evas_Modifier *m, const | |||
985 | * @see evas_key_modifier_is_set | 985 | * @see evas_key_modifier_is_set |
986 | * @since 1.19 | 986 | * @since 1.19 |
987 | */ | 987 | */ |
988 | EAPI Eina_Bool evas_seat_key_modifier_is_set(const Evas_Modifier *m, const char *keyname, const Evas_Device *seat) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1, 2); | 988 | EVAS_API Eina_Bool evas_seat_key_modifier_is_set(const Evas_Modifier *m, const char *keyname, const Evas_Device *seat) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1, 2); |
989 | 989 | ||
990 | /** | 990 | /** |
991 | * Checks the state of a given lock key of the default seat, at the time of the call. If | 991 | * Checks the state of a given lock key of the default seat, at the time of the call. If |
@@ -1007,7 +1007,7 @@ EAPI Eina_Bool evas_seat_key_modifier_is_set(const Evas_Modifier *m, | |||
1007 | * @see evas_seat_key_lock_off | 1007 | * @see evas_seat_key_lock_off |
1008 | * @see evas_seat_key_lock_is_set | 1008 | * @see evas_seat_key_lock_is_set |
1009 | */ | 1009 | */ |
1010 | EAPI Eina_Bool evas_key_lock_is_set(const Evas_Lock *l, const char *keyname) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1, 2); | 1010 | EVAS_API Eina_Bool evas_key_lock_is_set(const Evas_Lock *l, const char *keyname) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1, 2); |
1011 | 1011 | ||
1012 | /** | 1012 | /** |
1013 | * Checks the state of a given lock key of a given seat, at the time of the call. If | 1013 | * Checks the state of a given lock key of a given seat, at the time of the call. If |
@@ -1029,7 +1029,7 @@ EAPI Eina_Bool evas_key_lock_is_set(const Evas_Lock *l, const char *k | |||
1029 | * @see evas_key_lock_is_set | 1029 | * @see evas_key_lock_is_set |
1030 | * @since 1.19 | 1030 | * @since 1.19 |
1031 | */ | 1031 | */ |
1032 | EAPI Eina_Bool evas_seat_key_lock_is_set(const Evas_Lock *l, const char *keyname, const Evas_Device *seat) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1, 2); | 1032 | EVAS_API Eina_Bool evas_seat_key_lock_is_set(const Evas_Lock *l, const char *keyname, const Evas_Device *seat) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1, 2); |
1033 | 1033 | ||
1034 | /** | 1034 | /** |
1035 | * @brief Returns a handle to the list of lock keys registered in the canvas | 1035 | * @brief Returns a handle to the list of lock keys registered in the canvas |
@@ -1043,7 +1043,7 @@ EAPI Eina_Bool evas_seat_key_lock_is_set(const Evas_Lock *l, const ch | |||
1043 | * | 1043 | * |
1044 | * @ingroup Evas_Canvas | 1044 | * @ingroup Evas_Canvas |
1045 | */ | 1045 | */ |
1046 | EAPI const Evas_Lock *evas_key_lock_get(const Evas *obj) EINA_WARN_UNUSED_RESULT; | 1046 | EVAS_API const Evas_Lock *evas_key_lock_get(const Evas *obj) EINA_WARN_UNUSED_RESULT; |
1047 | 1047 | ||
1048 | /** | 1048 | /** |
1049 | * @} | 1049 | * @} |
@@ -1061,7 +1061,7 @@ EAPI const Evas_Lock *evas_key_lock_get(const Evas *obj) EINA_WARN_UNUSED_RESULT | |||
1061 | * | 1061 | * |
1062 | * @ingroup Evas_Canvas | 1062 | * @ingroup Evas_Canvas |
1063 | */ | 1063 | */ |
1064 | EAPI Eina_Bool evas_pointer_inside_by_device_get(const Evas *obj, Efl_Input_Device *dev); | 1064 | EVAS_API Eina_Bool evas_pointer_inside_by_device_get(const Evas *obj, Efl_Input_Device *dev); |
1065 | 1065 | ||
1066 | /** | 1066 | /** |
1067 | * @brief Returns whether the default mouse pointer is logically inside the | 1067 | * @brief Returns whether the default mouse pointer is logically inside the |
@@ -1085,7 +1085,7 @@ EAPI Eina_Bool evas_pointer_inside_by_device_get(const Evas *obj, Efl_Input_Devi | |||
1085 | * | 1085 | * |
1086 | * @ingroup Evas_Canvas | 1086 | * @ingroup Evas_Canvas |
1087 | */ | 1087 | */ |
1088 | EAPI Eina_Bool evas_pointer_inside_get(const Evas *obj) EINA_WARN_UNUSED_RESULT; | 1088 | EVAS_API Eina_Bool evas_pointer_inside_get(const Evas *obj) EINA_WARN_UNUSED_RESULT; |
1089 | 1089 | ||
1090 | /** | 1090 | /** |
1091 | * @defgroup Evas_Touch_Point_List Touch Point List Functions | 1091 | * @defgroup Evas_Touch_Point_List Touch Point List Functions |
@@ -1122,7 +1122,7 @@ typedef enum | |||
1122 | * | 1122 | * |
1123 | * @return The number of touched point on the evas. | 1123 | * @return The number of touched point on the evas. |
1124 | */ | 1124 | */ |
1125 | EAPI unsigned int evas_touch_point_list_count(Evas *obj); | 1125 | EVAS_API unsigned int evas_touch_point_list_count(Evas *obj); |
1126 | 1126 | ||
1127 | /** | 1127 | /** |
1128 | * @brief This function returns the @c id of nth touch point. | 1128 | * @brief This function returns the @c id of nth touch point. |
@@ -1134,7 +1134,7 @@ EAPI unsigned int evas_touch_point_list_count(Evas *obj); | |||
1134 | * | 1134 | * |
1135 | * @return id of nth touch point, if the call succeeded, -1 otherwise. | 1135 | * @return id of nth touch point, if the call succeeded, -1 otherwise. |
1136 | */ | 1136 | */ |
1137 | EAPI int evas_touch_point_list_nth_id_get(Evas *obj, unsigned int n); | 1137 | EVAS_API int evas_touch_point_list_nth_id_get(Evas *obj, unsigned int n); |
1138 | 1138 | ||
1139 | /** | 1139 | /** |
1140 | * @brief This function returns the @c state of nth touch point. | 1140 | * @brief This function returns the @c state of nth touch point. |
@@ -1149,7 +1149,7 @@ EAPI int evas_touch_point_list_nth_id_get(Evas *obj, unsigned int n); | |||
1149 | * @return @c state of nth touch point, if the call succeeded, | 1149 | * @return @c state of nth touch point, if the call succeeded, |
1150 | * EVAS_TOUCH_POINT_CANCEL otherwise. | 1150 | * EVAS_TOUCH_POINT_CANCEL otherwise. |
1151 | */ | 1151 | */ |
1152 | EAPI Evas_Touch_Point_State evas_touch_point_list_nth_state_get(Evas *obj, unsigned int n); | 1152 | EVAS_API Evas_Touch_Point_State evas_touch_point_list_nth_state_get(Evas *obj, unsigned int n); |
1153 | 1153 | ||
1154 | /** | 1154 | /** |
1155 | * @brief This function returns the nth touch point's coordinates. | 1155 | * @brief This function returns the nth touch point's coordinates. |
@@ -1161,7 +1161,7 @@ EAPI Evas_Touch_Point_State evas_touch_point_list_nth_state_get(Evas *obj, unsig | |||
1161 | * @param[out] x The pointer to a Evas_Coord to be filled in. | 1161 | * @param[out] x The pointer to a Evas_Coord to be filled in. |
1162 | * @param[out] y The pointer to a Evas_Coord to be filled in. | 1162 | * @param[out] y The pointer to a Evas_Coord to be filled in. |
1163 | */ | 1163 | */ |
1164 | EAPI void evas_touch_point_list_nth_xy_get(Evas *eo_e, unsigned int n, Evas_Coord *x, Evas_Coord *y); | 1164 | EVAS_API void evas_touch_point_list_nth_xy_get(Evas *eo_e, unsigned int n, Evas_Coord *x, Evas_Coord *y); |
1165 | 1165 | ||
1166 | /** | 1166 | /** |
1167 | * @} | 1167 | * @} |
@@ -1179,7 +1179,7 @@ EAPI void evas_touch_point_list_nth_xy_get(Evas *eo_e, unsigned int n, Evas_Coor | |||
1179 | * @param e The evas instance that returned such list. | 1179 | * @param e The evas instance that returned such list. |
1180 | * @param available the list returned by evas_font_dir_available_list(). | 1180 | * @param available the list returned by evas_font_dir_available_list(). |
1181 | */ | 1181 | */ |
1182 | EAPI void evas_font_available_list_free(Evas *e, Eina_List *available) EINA_ARG_NONNULL(1); | 1182 | EVAS_API void evas_font_available_list_free(Evas *e, Eina_List *available) EINA_ARG_NONNULL(1); |
1183 | 1183 | ||
1184 | /** Flags for Font Hinting | 1184 | /** Flags for Font Hinting |
1185 | */ | 1185 | */ |
@@ -1198,7 +1198,7 @@ typedef enum | |||
1198 | * @param[in] hinting The used hinting, one of #EVAS_FONT_HINTING_NONE, | 1198 | * @param[in] hinting The used hinting, one of #EVAS_FONT_HINTING_NONE, |
1199 | * #EVAS_FONT_HINTING_AUTO, #EVAS_FONT_HINTING_BYTECODE. | 1199 | * #EVAS_FONT_HINTING_AUTO, #EVAS_FONT_HINTING_BYTECODE. |
1200 | */ | 1200 | */ |
1201 | EAPI void evas_font_hinting_set(Evas *e, Evas_Font_Hinting_Flags hinting); | 1201 | EVAS_API void evas_font_hinting_set(Evas *e, Evas_Font_Hinting_Flags hinting); |
1202 | 1202 | ||
1203 | /** | 1203 | /** |
1204 | * @brief Retrieves the font hinting used by the given evas. | 1204 | * @brief Retrieves the font hinting used by the given evas. |
@@ -1206,7 +1206,7 @@ EAPI void evas_font_hinting_set(Evas *e, Evas_Font_Hinting_Flags hinting); | |||
1206 | * @return The used hinting, one of #EVAS_FONT_HINTING_NONE, | 1206 | * @return The used hinting, one of #EVAS_FONT_HINTING_NONE, |
1207 | * #EVAS_FONT_HINTING_AUTO, #EVAS_FONT_HINTING_BYTECODE. | 1207 | * #EVAS_FONT_HINTING_AUTO, #EVAS_FONT_HINTING_BYTECODE. |
1208 | */ | 1208 | */ |
1209 | EAPI Evas_Font_Hinting_Flags evas_font_hinting_get(const Evas *e); | 1209 | EVAS_API Evas_Font_Hinting_Flags evas_font_hinting_get(const Evas *e); |
1210 | 1210 | ||
1211 | /** | 1211 | /** |
1212 | * @brief Checks if the font hinting is supported by the given evas. | 1212 | * @brief Checks if the font hinting is supported by the given evas. |
@@ -1220,7 +1220,7 @@ EAPI Evas_Font_Hinting_Flags evas_font_hinting_get(const Evas *e); | |||
1220 | * | 1220 | * |
1221 | * @ingroup Evas_Canvas | 1221 | * @ingroup Evas_Canvas |
1222 | */ | 1222 | */ |
1223 | EAPI Eina_Bool evas_font_hinting_can_hint(const Evas *e, Evas_Font_Hinting_Flags hinting) EINA_WARN_UNUSED_RESULT; | 1223 | EVAS_API Eina_Bool evas_font_hinting_can_hint(const Evas *e, Evas_Font_Hinting_Flags hinting) EINA_WARN_UNUSED_RESULT; |
1224 | 1224 | ||
1225 | /** | 1225 | /** |
1226 | * @} | 1226 | * @} |
@@ -1270,7 +1270,7 @@ EAPI Eina_Bool evas_font_hinting_can_hint(const Evas *e, Evas_Font_Hinting_Flags | |||
1270 | * @ingroup Evas_Object_Group_Basic | 1270 | * @ingroup Evas_Object_Group_Basic |
1271 | * @since 1.1 | 1271 | * @since 1.1 |
1272 | */ | 1272 | */ |
1273 | EAPI void evas_object_ref(Evas_Object *obj); | 1273 | EVAS_API void evas_object_ref(Evas_Object *obj); |
1274 | 1274 | ||
1275 | /** | 1275 | /** |
1276 | * Decrements object reference count. | 1276 | * Decrements object reference count. |
@@ -1288,7 +1288,7 @@ EAPI void evas_object_ref(Evas_Object *obj); | |||
1288 | * @ingroup Evas_Object_Group_Basic | 1288 | * @ingroup Evas_Object_Group_Basic |
1289 | * @since 1.1 | 1289 | * @since 1.1 |
1290 | */ | 1290 | */ |
1291 | EAPI void evas_object_unref(Evas_Object *obj); | 1291 | EVAS_API void evas_object_unref(Evas_Object *obj); |
1292 | 1292 | ||
1293 | /** | 1293 | /** |
1294 | * Get the object reference count. | 1294 | * Get the object reference count. |
@@ -1307,7 +1307,7 @@ EAPI void evas_object_unref(Evas_Object *obj); | |||
1307 | * @ingroup Evas_Object_Group_Basic | 1307 | * @ingroup Evas_Object_Group_Basic |
1308 | * @since 1.2 | 1308 | * @since 1.2 |
1309 | */ | 1309 | */ |
1310 | EAPI int evas_object_ref_get(const Evas_Object *obj); | 1310 | EVAS_API int evas_object_ref_get(const Evas_Object *obj); |
1311 | 1311 | ||
1312 | /** | 1312 | /** |
1313 | * Marks the given Evas object for deletion (when Evas will free its | 1313 | * Marks the given Evas object for deletion (when Evas will free its |
@@ -1329,7 +1329,7 @@ EAPI int evas_object_ref_get(const Evas_Object *obj); | |||
1329 | * | 1329 | * |
1330 | * @ingroup Evas_Object_Group_Basic | 1330 | * @ingroup Evas_Object_Group_Basic |
1331 | */ | 1331 | */ |
1332 | EAPI void evas_object_del(Evas_Object *obj) EINA_ARG_NONNULL(1); | 1332 | EVAS_API void evas_object_del(Evas_Object *obj) EINA_ARG_NONNULL(1); |
1333 | 1333 | ||
1334 | /** | 1334 | /** |
1335 | * @brief Retrieves the type of the given Evas object. | 1335 | * @brief Retrieves the type of the given Evas object. |
@@ -1348,7 +1348,7 @@ EAPI void evas_object_del(Evas_Object *obj) EINA_ARG_NONNULL(1); | |||
1348 | * @ingroup Evas_Object_Group_Basic | 1348 | * @ingroup Evas_Object_Group_Basic |
1349 | * @since 1.18 | 1349 | * @since 1.18 |
1350 | */ | 1350 | */ |
1351 | EAPI const char *evas_object_type_get(const Evas_Object *obj); | 1351 | EVAS_API const char *evas_object_type_get(const Evas_Object *obj); |
1352 | 1352 | ||
1353 | /** | 1353 | /** |
1354 | * @brief Sets the name of the given Evas object to the given name. | 1354 | * @brief Sets the name of the given Evas object to the given name. |
@@ -1359,7 +1359,7 @@ EAPI const char *evas_object_type_get(const Evas_Object *obj); | |||
1359 | * | 1359 | * |
1360 | * @ingroup Evas_Object_Group_Basic | 1360 | * @ingroup Evas_Object_Group_Basic |
1361 | */ | 1361 | */ |
1362 | EAPI void evas_object_name_set(Evas_Object *obj, const char *name); | 1362 | EVAS_API void evas_object_name_set(Evas_Object *obj, const char *name); |
1363 | 1363 | ||
1364 | /** | 1364 | /** |
1365 | * @brief Retrieves the name of the given Evas object. | 1365 | * @brief Retrieves the name of the given Evas object. |
@@ -1370,7 +1370,7 @@ EAPI void evas_object_name_set(Evas_Object *obj, const char *name); | |||
1370 | * | 1370 | * |
1371 | * @ingroup Evas_Object_Group_Basic | 1371 | * @ingroup Evas_Object_Group_Basic |
1372 | */ | 1372 | */ |
1373 | EAPI const char *evas_object_name_get(const Evas_Object *obj); | 1373 | EVAS_API const char *evas_object_name_get(const Evas_Object *obj); |
1374 | 1374 | ||
1375 | /** | 1375 | /** |
1376 | * @brief Retrieves the object from children of the given object with the given | 1376 | * @brief Retrieves the object from children of the given object with the given |
@@ -1394,7 +1394,7 @@ EAPI const char *evas_object_name_get(const Evas_Object *obj); | |||
1394 | * | 1394 | * |
1395 | * @ingroup Evas_Object_Group_Basic | 1395 | * @ingroup Evas_Object_Group_Basic |
1396 | */ | 1396 | */ |
1397 | EAPI Evas_Object *evas_object_name_child_find(const Evas_Object *obj, const char *name, int recurse) EINA_WARN_UNUSED_RESULT; | 1397 | EVAS_API Evas_Object *evas_object_name_child_find(const Evas_Object *obj, const char *name, int recurse) EINA_WARN_UNUSED_RESULT; |
1398 | 1398 | ||
1399 | /** | 1399 | /** |
1400 | * Retrieves the position and (rectangular) size of the given Evas | 1400 | * Retrieves the position and (rectangular) size of the given Evas |
@@ -1425,7 +1425,7 @@ EAPI Evas_Object *evas_object_name_child_find(const Evas_Object *obj, const char | |||
1425 | * | 1425 | * |
1426 | * @ingroup Evas_Object_Group_Basic | 1426 | * @ingroup Evas_Object_Group_Basic |
1427 | */ | 1427 | */ |
1428 | EAPI void evas_object_geometry_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1); | 1428 | EVAS_API void evas_object_geometry_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1); |
1429 | 1429 | ||
1430 | /** | 1430 | /** |
1431 | * Set the position and (rectangular) size of the given Evas object. | 1431 | * Set the position and (rectangular) size of the given Evas object. |
@@ -1452,7 +1452,7 @@ EAPI void evas_object_geometry_get(const Evas_Object *obj, Evas_Coor | |||
1452 | * @since 1.8 | 1452 | * @since 1.8 |
1453 | * @ingroup Evas_Object_Group_Basic | 1453 | * @ingroup Evas_Object_Group_Basic |
1454 | */ | 1454 | */ |
1455 | EAPI void evas_object_geometry_set(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1); | 1455 | EVAS_API void evas_object_geometry_set(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1); |
1456 | 1456 | ||
1457 | 1457 | ||
1458 | /** | 1458 | /** |
@@ -1468,7 +1468,7 @@ EAPI void evas_object_geometry_set(Evas_Object *obj, Evas_Coord x, E | |||
1468 | * | 1468 | * |
1469 | * @ingroup Evas_Object_Group_Basic | 1469 | * @ingroup Evas_Object_Group_Basic |
1470 | */ | 1470 | */ |
1471 | EAPI void evas_object_show(Evas_Object *obj) EINA_ARG_NONNULL(1); | 1471 | EVAS_API void evas_object_show(Evas_Object *obj) EINA_ARG_NONNULL(1); |
1472 | 1472 | ||
1473 | /** | 1473 | /** |
1474 | * Makes the given Evas object invisible. | 1474 | * Makes the given Evas object invisible. |
@@ -1500,7 +1500,7 @@ EAPI void evas_object_show(Evas_Object *obj) EINA_ARG_NONNULL(1); | |||
1500 | * | 1500 | * |
1501 | * @ingroup Evas_Object_Group_Basic | 1501 | * @ingroup Evas_Object_Group_Basic |
1502 | */ | 1502 | */ |
1503 | EAPI void evas_object_hide(Evas_Object *obj) EINA_ARG_NONNULL(1); | 1503 | EVAS_API void evas_object_hide(Evas_Object *obj) EINA_ARG_NONNULL(1); |
1504 | 1504 | ||
1505 | /** | 1505 | /** |
1506 | * | 1506 | * |
@@ -1517,7 +1517,7 @@ EAPI void evas_object_hide(Evas_Object *obj) EINA_ARG_NONNULL(1); | |||
1517 | * @param[in] b The blue component of the given color. | 1517 | * @param[in] b The blue component of the given color. |
1518 | * @param[in] a The alpha component of the given color. | 1518 | * @param[in] a The alpha component of the given color. |
1519 | */ | 1519 | */ |
1520 | EAPI void evas_object_color_set(Evas_Object *obj, int r, int g, int b, int a); | 1520 | EVAS_API void evas_object_color_set(Evas_Object *obj, int r, int g, int b, int a); |
1521 | 1521 | ||
1522 | /** | 1522 | /** |
1523 | * | 1523 | * |
@@ -1554,7 +1554,7 @@ EAPI void evas_object_color_set(Evas_Object *obj, int r, int g, int b, int a); | |||
1554 | * @param[out] b The blue component of the given color. | 1554 | * @param[out] b The blue component of the given color. |
1555 | * @param[out] a The alpha component of the given color. | 1555 | * @param[out] a The alpha component of the given color. |
1556 | */ | 1556 | */ |
1557 | EAPI void evas_object_color_get(const Evas_Object *obj, int *r, int *g, int *b, int *a); | 1557 | EVAS_API void evas_object_color_get(const Evas_Object *obj, int *r, int *g, int *b, int *a); |
1558 | 1558 | ||
1559 | /** | 1559 | /** |
1560 | * @} | 1560 | * @} |
@@ -1568,7 +1568,7 @@ EAPI void evas_object_color_get(const Evas_Object *obj, int *r, int *g, int *b, | |||
1568 | * @param[in] y in | 1568 | * @param[in] y in |
1569 | * @ingroup Evas_Object_Group | 1569 | * @ingroup Evas_Object_Group |
1570 | */ | 1570 | */ |
1571 | EAPI void evas_object_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y); | 1571 | EVAS_API void evas_object_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y); |
1572 | 1572 | ||
1573 | /** | 1573 | /** |
1574 | * | 1574 | * |
@@ -1578,7 +1578,7 @@ EAPI void evas_object_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y); | |||
1578 | * @param[in] h in | 1578 | * @param[in] h in |
1579 | * @ingroup Evas_Object_Group | 1579 | * @ingroup Evas_Object_Group |
1580 | */ | 1580 | */ |
1581 | EAPI void evas_object_resize(Evas_Object *obj, Evas_Coord w, Evas_Coord h); | 1581 | EVAS_API void evas_object_resize(Evas_Object *obj, Evas_Coord w, Evas_Coord h); |
1582 | 1582 | ||
1583 | /** | 1583 | /** |
1584 | * | 1584 | * |
@@ -1586,7 +1586,7 @@ EAPI void evas_object_resize(Evas_Object *obj, Evas_Coord w, Evas_Coord h); | |||
1586 | * | 1586 | * |
1587 | * @ingroup Evas_Object_Group | 1587 | * @ingroup Evas_Object_Group |
1588 | */ | 1588 | */ |
1589 | EAPI Eina_Bool evas_object_visible_get(const Evas_Object *obj); | 1589 | EVAS_API Eina_Bool evas_object_visible_get(const Evas_Object *obj); |
1590 | 1590 | ||
1591 | /** | 1591 | /** |
1592 | * @brief Sets the hints for an object's maximum size. | 1592 | * @brief Sets the hints for an object's maximum size. |
@@ -1605,7 +1605,7 @@ EAPI Eina_Bool evas_object_visible_get(const Evas_Object *obj); | |||
1605 | * | 1605 | * |
1606 | * @ingroup Evas_Object_Group | 1606 | * @ingroup Evas_Object_Group |
1607 | */ | 1607 | */ |
1608 | EAPI void evas_object_size_hint_max_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h); | 1608 | EVAS_API void evas_object_size_hint_max_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h); |
1609 | 1609 | ||
1610 | /** | 1610 | /** |
1611 | * @brief Retrieves the hints for an object's maximum size. | 1611 | * @brief Retrieves the hints for an object's maximum size. |
@@ -1622,7 +1622,7 @@ EAPI void evas_object_size_hint_max_set(Evas_Object *obj, Evas_Coord w, Evas_Coo | |||
1622 | * | 1622 | * |
1623 | * @ingroup Evas_Object_Group | 1623 | * @ingroup Evas_Object_Group |
1624 | */ | 1624 | */ |
1625 | EAPI void evas_object_size_hint_max_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h); | 1625 | EVAS_API void evas_object_size_hint_max_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h); |
1626 | 1626 | ||
1627 | /** | 1627 | /** |
1628 | * @brief Sets the hints for an object's optimum size. | 1628 | * @brief Sets the hints for an object's optimum size. |
@@ -1640,7 +1640,7 @@ EAPI void evas_object_size_hint_max_get(const Evas_Object *obj, Evas_Coord *w, E | |||
1640 | * | 1640 | * |
1641 | * @ingroup Evas_Object_Group | 1641 | * @ingroup Evas_Object_Group |
1642 | */ | 1642 | */ |
1643 | EAPI void evas_object_size_hint_request_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h); | 1643 | EVAS_API void evas_object_size_hint_request_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h); |
1644 | 1644 | ||
1645 | /** | 1645 | /** |
1646 | * @brief Retrieves the hints for an object's optimum size. | 1646 | * @brief Retrieves the hints for an object's optimum size. |
@@ -1657,7 +1657,7 @@ EAPI void evas_object_size_hint_request_set(Evas_Object *obj, Evas_Coord w, Evas | |||
1657 | * | 1657 | * |
1658 | * @ingroup Evas_Object_Group | 1658 | * @ingroup Evas_Object_Group |
1659 | */ | 1659 | */ |
1660 | EAPI void evas_object_size_hint_request_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h); | 1660 | EVAS_API void evas_object_size_hint_request_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h); |
1661 | 1661 | ||
1662 | /** | 1662 | /** |
1663 | * @brief Sets the hints for an object's minimum size. | 1663 | * @brief Sets the hints for an object's minimum size. |
@@ -1675,7 +1675,7 @@ EAPI void evas_object_size_hint_request_get(const Evas_Object *obj, Evas_Coord * | |||
1675 | * | 1675 | * |
1676 | * @ingroup Evas_Object_Group | 1676 | * @ingroup Evas_Object_Group |
1677 | */ | 1677 | */ |
1678 | EAPI void evas_object_size_hint_min_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h); | 1678 | EVAS_API void evas_object_size_hint_min_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h); |
1679 | 1679 | ||
1680 | /** | 1680 | /** |
1681 | * @brief Disable/cease clipping on a clipped @c obj object. | 1681 | * @brief Disable/cease clipping on a clipped @c obj object. |
@@ -1690,7 +1690,7 @@ EAPI void evas_object_size_hint_min_set(Evas_Object *obj, Evas_Coord w, Evas_Coo | |||
1690 | * | 1690 | * |
1691 | * @ingroup Evas_Object_Group | 1691 | * @ingroup Evas_Object_Group |
1692 | */ | 1692 | */ |
1693 | EAPI void evas_object_clip_unset(Evas_Object *obj); | 1693 | EVAS_API void evas_object_clip_unset(Evas_Object *obj); |
1694 | 1694 | ||
1695 | /** | 1695 | /** |
1696 | * @brief Retrieves the hints for an object's minimum size. | 1696 | * @brief Retrieves the hints for an object's minimum size. |
@@ -1707,7 +1707,7 @@ EAPI void evas_object_clip_unset(Evas_Object *obj); | |||
1707 | * | 1707 | * |
1708 | * @ingroup Evas_Object_Group | 1708 | * @ingroup Evas_Object_Group |
1709 | */ | 1709 | */ |
1710 | EAPI void evas_object_size_hint_min_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h); | 1710 | EVAS_API void evas_object_size_hint_min_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h); |
1711 | 1711 | ||
1712 | /** | 1712 | /** |
1713 | * @brief Sets the hints for an object's padding space. | 1713 | * @brief Sets the hints for an object's padding space. |
@@ -1725,7 +1725,7 @@ EAPI void evas_object_size_hint_min_get(const Evas_Object *obj, Evas_Coord *w, E | |||
1725 | * | 1725 | * |
1726 | * @ingroup Evas_Object_Group | 1726 | * @ingroup Evas_Object_Group |
1727 | */ | 1727 | */ |
1728 | EAPI void evas_object_size_hint_padding_set(Evas_Object *obj, Evas_Coord l, Evas_Coord r, Evas_Coord t, Evas_Coord b); | 1728 | EVAS_API void evas_object_size_hint_padding_set(Evas_Object *obj, Evas_Coord l, Evas_Coord r, Evas_Coord t, Evas_Coord b); |
1729 | 1729 | ||
1730 | /** | 1730 | /** |
1731 | * @brief Retrieves the hints for an object's padding space. | 1731 | * @brief Retrieves the hints for an object's padding space. |
@@ -1746,7 +1746,7 @@ EAPI void evas_object_size_hint_padding_set(Evas_Object *obj, Evas_Coord l, Evas | |||
1746 | * | 1746 | * |
1747 | * @ingroup Evas_Object_Group | 1747 | * @ingroup Evas_Object_Group |
1748 | */ | 1748 | */ |
1749 | EAPI void evas_object_size_hint_padding_get(const Evas_Object *obj, Evas_Coord *l, Evas_Coord *r, Evas_Coord *t, Evas_Coord *b); | 1749 | EVAS_API void evas_object_size_hint_padding_get(const Evas_Object *obj, Evas_Coord *l, Evas_Coord *r, Evas_Coord *t, Evas_Coord *b); |
1750 | 1750 | ||
1751 | /** | 1751 | /** |
1752 | * @brief Sets the hints for an object's weight. | 1752 | * @brief Sets the hints for an object's weight. |
@@ -1771,7 +1771,7 @@ EAPI void evas_object_size_hint_padding_get(const Evas_Object *obj, Evas_Coord * | |||
1771 | * | 1771 | * |
1772 | * @ingroup Evas_Object_Group | 1772 | * @ingroup Evas_Object_Group |
1773 | */ | 1773 | */ |
1774 | EAPI void evas_object_size_hint_weight_set(Evas_Object *obj, double x, double y); | 1774 | EVAS_API void evas_object_size_hint_weight_set(Evas_Object *obj, double x, double y); |
1775 | 1775 | ||
1776 | /** | 1776 | /** |
1777 | * @brief Retrieves the hints for an object's weight. | 1777 | * @brief Retrieves the hints for an object's weight. |
@@ -1794,7 +1794,7 @@ EAPI void evas_object_size_hint_weight_set(Evas_Object *obj, double x, double y) | |||
1794 | * | 1794 | * |
1795 | * @ingroup Evas_Object_Group | 1795 | * @ingroup Evas_Object_Group |
1796 | */ | 1796 | */ |
1797 | EAPI void evas_object_size_hint_weight_get(const Evas_Object *obj, double *x, double *y); | 1797 | EVAS_API void evas_object_size_hint_weight_get(const Evas_Object *obj, double *x, double *y); |
1798 | 1798 | ||
1799 | /** | 1799 | /** |
1800 | * @brief Sets the hints for an object's alignment. | 1800 | * @brief Sets the hints for an object's alignment. |
@@ -1825,7 +1825,7 @@ EAPI void evas_object_size_hint_weight_get(const Evas_Object *obj, double *x, do | |||
1825 | * | 1825 | * |
1826 | * @ingroup Evas_Object_Group | 1826 | * @ingroup Evas_Object_Group |
1827 | */ | 1827 | */ |
1828 | EAPI void evas_object_size_hint_align_set(Evas_Object *obj, double x, double y); | 1828 | EVAS_API void evas_object_size_hint_align_set(Evas_Object *obj, double x, double y); |
1829 | 1829 | ||
1830 | /** | 1830 | /** |
1831 | * @brief Retrieves the hints for on object's alignment. | 1831 | * @brief Retrieves the hints for on object's alignment. |
@@ -1845,7 +1845,7 @@ EAPI void evas_object_size_hint_align_set(Evas_Object *obj, double x, double y); | |||
1845 | * | 1845 | * |
1846 | * @ingroup Evas_Object_Group | 1846 | * @ingroup Evas_Object_Group |
1847 | */ | 1847 | */ |
1848 | EAPI void evas_object_size_hint_align_get(const Evas_Object *obj, double *x, double *y); | 1848 | EVAS_API void evas_object_size_hint_align_get(const Evas_Object *obj, double *x, double *y); |
1849 | 1849 | ||
1850 | /** | 1850 | /** |
1851 | * @brief Sets the hints for an object's aspect ratio. | 1851 | * @brief Sets the hints for an object's aspect ratio. |
@@ -1866,7 +1866,7 @@ EAPI void evas_object_size_hint_align_get(const Evas_Object *obj, double *x, dou | |||
1866 | * | 1866 | * |
1867 | * @ingroup Evas_Object_Group | 1867 | * @ingroup Evas_Object_Group |
1868 | */ | 1868 | */ |
1869 | EAPI void evas_object_size_hint_aspect_set(Evas_Object *obj, Evas_Aspect_Control aspect, Evas_Coord w, Evas_Coord h); | 1869 | EVAS_API void evas_object_size_hint_aspect_set(Evas_Object *obj, Evas_Aspect_Control aspect, Evas_Coord w, Evas_Coord h); |
1870 | 1870 | ||
1871 | /** | 1871 | /** |
1872 | * @brief Retrieves the hints for an object's aspect ratio. | 1872 | * @brief Retrieves the hints for an object's aspect ratio. |
@@ -1889,7 +1889,7 @@ EAPI void evas_object_size_hint_aspect_set(Evas_Object *obj, Evas_Aspect_Control | |||
1889 | * | 1889 | * |
1890 | * @ingroup Evas_Object_Group | 1890 | * @ingroup Evas_Object_Group |
1891 | */ | 1891 | */ |
1892 | EAPI void evas_object_size_hint_aspect_get(const Evas_Object *obj, Evas_Aspect_Control *aspect, Evas_Coord *w, Evas_Coord *h); | 1892 | EVAS_API void evas_object_size_hint_aspect_get(const Evas_Object *obj, Evas_Aspect_Control *aspect, Evas_Coord *w, Evas_Coord *h); |
1893 | 1893 | ||
1894 | /** Display mode size hint. */ | 1894 | /** Display mode size hint. */ |
1895 | typedef enum | 1895 | typedef enum |
@@ -1920,7 +1920,7 @@ typedef Efl_Gfx_Hint_Mode Evas_Display_Mode; | |||
1920 | * | 1920 | * |
1921 | * @ingroup Evas_Object_Group | 1921 | * @ingroup Evas_Object_Group |
1922 | */ | 1922 | */ |
1923 | EAPI void evas_object_size_hint_display_mode_set(Evas_Object *obj, Evas_Display_Mode dispmode); | 1923 | EVAS_API void evas_object_size_hint_display_mode_set(Evas_Object *obj, Evas_Display_Mode dispmode); |
1924 | 1924 | ||
1925 | /** | 1925 | /** |
1926 | * @brief Retrieves the hints for an object's display mode | 1926 | * @brief Retrieves the hints for an object's display mode |
@@ -1933,7 +1933,7 @@ EAPI void evas_object_size_hint_display_mode_set(Evas_Object *obj, Evas_Display_ | |||
1933 | * | 1933 | * |
1934 | * @ingroup Evas_Object_Group | 1934 | * @ingroup Evas_Object_Group |
1935 | */ | 1935 | */ |
1936 | EAPI Evas_Display_Mode evas_object_size_hint_display_mode_get(const Evas_Object *obj); | 1936 | EVAS_API Evas_Display_Mode evas_object_size_hint_display_mode_get(const Evas_Object *obj); |
1937 | 1937 | ||
1938 | /** | 1938 | /** |
1939 | * | 1939 | * |
@@ -1958,7 +1958,7 @@ EAPI Evas_Display_Mode evas_object_size_hint_display_mode_get(const Evas_Object | |||
1958 | Must be between #EVAS_LAYER_MIN and #EVAS_LAYER_MAX. | 1958 | Must be between #EVAS_LAYER_MIN and #EVAS_LAYER_MAX. |
1959 | * @ingroup Evas_Object_Group | 1959 | * @ingroup Evas_Object_Group |
1960 | */ | 1960 | */ |
1961 | EAPI void evas_object_layer_set(Evas_Object *obj, short l); | 1961 | EVAS_API void evas_object_layer_set(Evas_Object *obj, short l); |
1962 | 1962 | ||
1963 | /** | 1963 | /** |
1964 | * | 1964 | * |
@@ -1970,7 +1970,7 @@ EAPI void evas_object_layer_set(Evas_Object *obj, short l); | |||
1970 | * | 1970 | * |
1971 | * @ingroup Evas_Object_Group | 1971 | * @ingroup Evas_Object_Group |
1972 | */ | 1972 | */ |
1973 | EAPI short evas_object_layer_get(const Evas_Object *obj); | 1973 | EVAS_API short evas_object_layer_get(const Evas_Object *obj); |
1974 | 1974 | ||
1975 | /** | 1975 | /** |
1976 | * | 1976 | * |
@@ -1988,7 +1988,7 @@ EAPI short evas_object_layer_get(const Evas_Object *obj); | |||
1988 | * | 1988 | * |
1989 | * @ingroup Evas_Object_Group | 1989 | * @ingroup Evas_Object_Group |
1990 | */ | 1990 | */ |
1991 | EAPI Evas_Object *evas_object_below_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT; | 1991 | EVAS_API Evas_Object *evas_object_below_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT; |
1992 | 1992 | ||
1993 | /** | 1993 | /** |
1994 | * | 1994 | * |
@@ -2006,7 +2006,7 @@ EAPI Evas_Object *evas_object_below_get(const Evas_Object *obj) EINA_WARN_UNUSED | |||
2006 | * | 2006 | * |
2007 | * @ingroup Evas_Object_Group | 2007 | * @ingroup Evas_Object_Group |
2008 | */ | 2008 | */ |
2009 | EAPI Evas_Object *evas_object_above_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT; | 2009 | EVAS_API Evas_Object *evas_object_above_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT; |
2010 | 2010 | ||
2011 | /** | 2011 | /** |
2012 | * | 2012 | * |
@@ -2036,7 +2036,7 @@ EAPI Evas_Object *evas_object_above_get(const Evas_Object *obj) EINA_WARN_UNUSED | |||
2036 | * @param[in] below the object below which to stack | 2036 | * @param[in] below the object below which to stack |
2037 | * @ingroup Evas_Object_Group | 2037 | * @ingroup Evas_Object_Group |
2038 | */ | 2038 | */ |
2039 | EAPI void evas_object_stack_below(Evas_Object *obj, Evas_Object *below) EINA_ARG_NONNULL(2); | 2039 | EVAS_API void evas_object_stack_below(Evas_Object *obj, Evas_Object *below) EINA_ARG_NONNULL(2); |
2040 | 2040 | ||
2041 | /** | 2041 | /** |
2042 | * | 2042 | * |
@@ -2052,7 +2052,7 @@ EAPI void evas_object_stack_below(Evas_Object *obj, Evas_Object *below) EINA_ARG | |||
2052 | * @ingroup Evas_Object_Group | 2052 | * @ingroup Evas_Object_Group |
2053 | * | 2053 | * |
2054 | */ | 2054 | */ |
2055 | EAPI void evas_object_raise(Evas_Object *obj); | 2055 | EVAS_API void evas_object_raise(Evas_Object *obj); |
2056 | 2056 | ||
2057 | /** | 2057 | /** |
2058 | * | 2058 | * |
@@ -2082,7 +2082,7 @@ EAPI void evas_object_raise(Evas_Object *obj); | |||
2082 | * @param[in] above the object above which to stack | 2082 | * @param[in] above the object above which to stack |
2083 | * @ingroup Evas_Object_Group | 2083 | * @ingroup Evas_Object_Group |
2084 | */ | 2084 | */ |
2085 | EAPI void evas_object_stack_above(Evas_Object *obj, Evas_Object *above) EINA_ARG_NONNULL(2); | 2085 | EVAS_API void evas_object_stack_above(Evas_Object *obj, Evas_Object *above) EINA_ARG_NONNULL(2); |
2086 | 2086 | ||
2087 | /** | 2087 | /** |
2088 | * | 2088 | * |
@@ -2098,7 +2098,7 @@ EAPI void evas_object_stack_above(Evas_Object *obj, Evas_Object *above) EINA_ARG | |||
2098 | * @ingroup Evas_Object_Group | 2098 | * @ingroup Evas_Object_Group |
2099 | * | 2099 | * |
2100 | */ | 2100 | */ |
2101 | EAPI void evas_object_lower(Evas_Object *obj); | 2101 | EVAS_API void evas_object_lower(Evas_Object *obj); |
2102 | 2102 | ||
2103 | /** | 2103 | /** |
2104 | * @brief Set a hint flag on the given Evas object that it's used as a "static | 2104 | * @brief Set a hint flag on the given Evas object that it's used as a "static |
@@ -2113,7 +2113,7 @@ EAPI void evas_object_lower(Evas_Object *obj); | |||
2113 | * | 2113 | * |
2114 | * @ingroup Evas_Object_Group | 2114 | * @ingroup Evas_Object_Group |
2115 | */ | 2115 | */ |
2116 | EAPI void evas_object_static_clip_set(Evas_Object *obj, Eina_Bool is_static_clip); | 2116 | EVAS_API void evas_object_static_clip_set(Evas_Object *obj, Eina_Bool is_static_clip); |
2117 | 2117 | ||
2118 | /** | 2118 | /** |
2119 | * @brief Return a list of objects currently clipped by @c obj. | 2119 | * @brief Return a list of objects currently clipped by @c obj. |
@@ -2135,7 +2135,7 @@ EAPI void evas_object_static_clip_set(Evas_Object *obj, Eina_Bool is_static_clip | |||
2135 | * | 2135 | * |
2136 | * @ingroup Evas_Object_Group | 2136 | * @ingroup Evas_Object_Group |
2137 | */ | 2137 | */ |
2138 | EAPI const Eina_List *evas_object_clipees_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT; | 2138 | EVAS_API const Eina_List *evas_object_clipees_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT; |
2139 | 2139 | ||
2140 | /** | 2140 | /** |
2141 | * @brief Test if any object is clipped by @c obj. | 2141 | * @brief Test if any object is clipped by @c obj. |
@@ -2148,7 +2148,7 @@ EAPI const Eina_List *evas_object_clipees_get(const Evas_Object *obj) EINA_WARN_ | |||
2148 | * | 2148 | * |
2149 | * @ingroup Evas_Object_Group | 2149 | * @ingroup Evas_Object_Group |
2150 | */ | 2150 | */ |
2151 | EAPI Eina_Bool evas_object_clipees_has(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT; | 2151 | EVAS_API Eina_Bool evas_object_clipees_has(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT; |
2152 | 2152 | ||
2153 | /** How the object should be rendered to output. | 2153 | /** How the object should be rendered to output. |
2154 | * | 2154 | * |
@@ -2196,7 +2196,7 @@ typedef enum | |||
2196 | * | 2196 | * |
2197 | * @ingroup Evas_Object_Group | 2197 | * @ingroup Evas_Object_Group |
2198 | */ | 2198 | */ |
2199 | EAPI void evas_object_render_op_set(Evas_Object *obj, Evas_Render_Op render_op); | 2199 | EVAS_API void evas_object_render_op_set(Evas_Object *obj, Evas_Render_Op render_op); |
2200 | 2200 | ||
2201 | /** | 2201 | /** |
2202 | * @brief Retrieves the current value of the operation used for rendering the | 2202 | * @brief Retrieves the current value of the operation used for rendering the |
@@ -2207,7 +2207,7 @@ EAPI void evas_object_render_op_set(Evas_Object *obj, Evas_Render_Op render_op); | |||
2207 | * | 2207 | * |
2208 | * @ingroup Evas_Object_Group | 2208 | * @ingroup Evas_Object_Group |
2209 | */ | 2209 | */ |
2210 | EAPI Evas_Render_Op evas_object_render_op_get(const Evas_Object *obj); | 2210 | EVAS_API Evas_Render_Op evas_object_render_op_get(const Evas_Object *obj); |
2211 | 2211 | ||
2212 | /** | 2212 | /** |
2213 | * @brief Get the "static clipper" hint flag for a given Evas object. | 2213 | * @brief Get the "static clipper" hint flag for a given Evas object. |
@@ -2216,7 +2216,7 @@ EAPI Evas_Render_Op evas_object_render_op_get(const Evas_Object *obj); | |||
2216 | * | 2216 | * |
2217 | * @ingroup Evas_Object_Group | 2217 | * @ingroup Evas_Object_Group |
2218 | */ | 2218 | */ |
2219 | EAPI Eina_Bool evas_object_static_clip_get(const Evas_Object *obj); | 2219 | EVAS_API Eina_Bool evas_object_static_clip_get(const Evas_Object *obj); |
2220 | 2220 | ||
2221 | /** | 2221 | /** |
2222 | * @brief Sets the scaling factor for an Evas object. Does not affect all | 2222 | * @brief Sets the scaling factor for an Evas object. Does not affect all |
@@ -2234,7 +2234,7 @@ EAPI Eina_Bool evas_object_static_clip_get(const Evas_Object *obj); | |||
2234 | * | 2234 | * |
2235 | * @ingroup Evas_Object_Group | 2235 | * @ingroup Evas_Object_Group |
2236 | */ | 2236 | */ |
2237 | EAPI void evas_object_scale_set(Evas_Object *obj, double scale); | 2237 | EVAS_API void evas_object_scale_set(Evas_Object *obj, double scale); |
2238 | 2238 | ||
2239 | /** | 2239 | /** |
2240 | * @brief Retrieves the scaling factor for the given Evas object. | 2240 | * @brief Retrieves the scaling factor for the given Evas object. |
@@ -2245,7 +2245,7 @@ EAPI void evas_object_scale_set(Evas_Object *obj, double scale); | |||
2245 | * | 2245 | * |
2246 | * @ingroup Evas_Object_Group | 2246 | * @ingroup Evas_Object_Group |
2247 | */ | 2247 | */ |
2248 | EAPI double evas_object_scale_get(const Evas_Object *obj); | 2248 | EVAS_API double evas_object_scale_get(const Evas_Object *obj); |
2249 | 2249 | ||
2250 | /** | 2250 | /** |
2251 | * @brief Returns whether the mouse pointer is logically inside the object. | 2251 | * @brief Returns whether the mouse pointer is logically inside the object. |
@@ -2258,7 +2258,7 @@ EAPI double evas_object_scale_get(const Evas_Object *obj); | |||
2258 | * | 2258 | * |
2259 | * @ingroup Evas_Object_Group | 2259 | * @ingroup Evas_Object_Group |
2260 | */ | 2260 | */ |
2261 | EAPI Eina_Bool evas_object_pointer_inside_by_device_get(const Evas_Object *obj, Efl_Input_Device * dev); | 2261 | EVAS_API Eina_Bool evas_object_pointer_inside_by_device_get(const Evas_Object *obj, Efl_Input_Device * dev); |
2262 | 2262 | ||
2263 | /** | 2263 | /** |
2264 | * @brief Returns whether the default mouse pointer is logically inside the | 2264 | * @brief Returns whether the default mouse pointer is logically inside the |
@@ -2278,7 +2278,7 @@ EAPI Eina_Bool evas_object_pointer_inside_by_device_get(const Evas_Object *obj, | |||
2278 | * | 2278 | * |
2279 | * @ingroup Evas_Object_Group | 2279 | * @ingroup Evas_Object_Group |
2280 | */ | 2280 | */ |
2281 | EAPI Eina_Bool evas_object_pointer_inside_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT; | 2281 | EVAS_API Eina_Bool evas_object_pointer_inside_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT; |
2282 | 2282 | ||
2283 | /** | 2283 | /** |
2284 | * @brief Returns whether the coords are logically inside the object. | 2284 | * @brief Returns whether the coords are logically inside the object. |
@@ -2300,7 +2300,7 @@ EAPI Eina_Bool evas_object_pointer_inside_get(const Evas_Object *obj) EINA_WARN_ | |||
2300 | * @ingroup Evas_Object_Group | 2300 | * @ingroup Evas_Object_Group |
2301 | */ | 2301 | */ |
2302 | 2302 | ||
2303 | EAPI Eina_Bool evas_object_pointer_coords_inside_get(const Evas_Object *eo_obj, int x, int y) EINA_WARN_UNUSED_RESULT; | 2303 | EVAS_API Eina_Bool evas_object_pointer_coords_inside_get(const Evas_Object *eo_obj, int x, int y) EINA_WARN_UNUSED_RESULT; |
2304 | 2304 | ||
2305 | #include "canvas/efl_canvas_object_eo.legacy.h" | 2305 | #include "canvas/efl_canvas_object_eo.legacy.h" |
2306 | 2306 | ||
@@ -2311,7 +2311,7 @@ EAPI Eina_Bool evas_object_pointer_coords_inside_get(const Evas_Object *eo_obj, | |||
2311 | * evas 3D / VG object. | 2311 | * evas 3D / VG object. |
2312 | * @ingroup Evas_Object_Group | 2312 | * @ingroup Evas_Object_Group |
2313 | */ | 2313 | */ |
2314 | EAPI Evas *evas_object_evas_get(const Eo *obj); | 2314 | EVAS_API Evas *evas_object_evas_get(const Eo *obj); |
2315 | 2315 | ||
2316 | /** | 2316 | /** |
2317 | * @brief Retrieve a list of objects lying over a given position in a canvas. | 2317 | * @brief Retrieve a list of objects lying over a given position in a canvas. |
@@ -2336,7 +2336,7 @@ EAPI Evas *evas_object_evas_get(const Eo *obj); | |||
2336 | * | 2336 | * |
2337 | * @ingroup Evas_Canvas | 2337 | * @ingroup Evas_Canvas |
2338 | */ | 2338 | */ |
2339 | EAPI Eina_List *evas_objects_at_xy_get(Eo *eo_e, int x, int y, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects); | 2339 | EVAS_API Eina_List *evas_objects_at_xy_get(Eo *eo_e, int x, int y, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects); |
2340 | 2340 | ||
2341 | 2341 | ||
2342 | /** | 2342 | /** |
@@ -2363,7 +2363,7 @@ EAPI Evas *evas_object_evas_get(const Eo *obj); | |||
2363 | * position. | 2363 | * position. |
2364 | * @ingroup Evas_Canvas | 2364 | * @ingroup Evas_Canvas |
2365 | */ | 2365 | */ |
2366 | EAPI Evas_Object* evas_object_top_at_xy_get(Eo *eo_e, Evas_Coord x, Evas_Coord y, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects); | 2366 | EVAS_API Evas_Object* evas_object_top_at_xy_get(Eo *eo_e, Evas_Coord x, Evas_Coord y, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects); |
2367 | 2367 | ||
2368 | 2368 | ||
2369 | /** | 2369 | /** |
@@ -2382,7 +2382,7 @@ EAPI Evas *evas_object_evas_get(const Eo *obj); | |||
2382 | * @return List of objects | 2382 | * @return List of objects |
2383 | * @ingroup Evas_Canvas | 2383 | * @ingroup Evas_Canvas |
2384 | */ | 2384 | */ |
2385 | EAPI Eina_List *evas_objects_in_rectangle_get(const Eo *obj, int x, int y, int w, int h, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects) EINA_WARN_UNUSED_RESULT; | 2385 | EVAS_API Eina_List *evas_objects_in_rectangle_get(const Eo *obj, int x, int y, int w, int h, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects) EINA_WARN_UNUSED_RESULT; |
2386 | 2386 | ||
2387 | /** | 2387 | /** |
2388 | * @brief Retrieve the Evas object stacked at the top of a given rectangular | 2388 | * @brief Retrieve the Evas object stacked at the top of a given rectangular |
@@ -2413,7 +2413,7 @@ EAPI Eina_List *evas_objects_in_rectangle_get(const Eo *obj, int x, int y, int w | |||
2413 | * | 2413 | * |
2414 | * @ingroup Evas_Canvas | 2414 | * @ingroup Evas_Canvas |
2415 | */ | 2415 | */ |
2416 | EAPI Evas_Object *evas_object_top_in_rectangle_get(const Eo *obj, int x, int y, int w, int h, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects) EINA_WARN_UNUSED_RESULT; | 2416 | EVAS_API Evas_Object *evas_object_top_in_rectangle_get(const Eo *obj, int x, int y, int w, int h, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects) EINA_WARN_UNUSED_RESULT; |
2417 | 2417 | ||
2418 | /** | 2418 | /** |
2419 | * @ingroup Evas_Object_Group_Events | 2419 | * @ingroup Evas_Object_Group_Events |
@@ -2610,7 +2610,7 @@ EAPI Evas_Object *evas_object_top_in_rectangle_get(const Eo *obj, int x, int y, | |||
2610 | * See the full example @ref Example_Evas_Events "here". | 2610 | * See the full example @ref Example_Evas_Events "here". |
2611 | * | 2611 | * |
2612 | */ | 2612 | */ |
2613 | EAPI void evas_object_event_callback_add(Evas_Object *obj, Evas_Callback_Type type, Evas_Object_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 3); | 2613 | EVAS_API void evas_object_event_callback_add(Evas_Object *obj, Evas_Callback_Type type, Evas_Object_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 3); |
2614 | 2614 | ||
2615 | /** | 2615 | /** |
2616 | * Add (register) a callback function to a given Evas object event with a | 2616 | * Add (register) a callback function to a given Evas object event with a |
@@ -2626,7 +2626,7 @@ EAPI void evas_object_event_callback_add(Evas_Object *obj, Evas_Callback_Ty | |||
2626 | * @see evas_object_event_callback_add | 2626 | * @see evas_object_event_callback_add |
2627 | * @since 1.1 | 2627 | * @since 1.1 |
2628 | */ | 2628 | */ |
2629 | EAPI void evas_object_event_callback_priority_add(Evas_Object *obj, Evas_Callback_Type type, Evas_Callback_Priority priority, Evas_Object_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 4); | 2629 | EVAS_API void evas_object_event_callback_priority_add(Evas_Object *obj, Evas_Callback_Type type, Evas_Callback_Priority priority, Evas_Object_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 4); |
2630 | 2630 | ||
2631 | /** | 2631 | /** |
2632 | * Delete a callback function from an object | 2632 | * Delete a callback function from an object |
@@ -2652,7 +2652,7 @@ EAPI void evas_object_event_callback_priority_add(Evas_Object *obj, Evas_Ca | |||
2652 | * my_data = evas_object_event_callback_del(object, EVAS_CALLBACK_MOUSE_UP, up_callback); | 2652 | * my_data = evas_object_event_callback_del(object, EVAS_CALLBACK_MOUSE_UP, up_callback); |
2653 | * @endcode | 2653 | * @endcode |
2654 | */ | 2654 | */ |
2655 | EAPI void *evas_object_event_callback_del(Evas_Object *obj, Evas_Callback_Type type, Evas_Object_Event_Cb func) EINA_ARG_NONNULL(1, 3); | 2655 | EVAS_API void *evas_object_event_callback_del(Evas_Object *obj, Evas_Callback_Type type, Evas_Object_Event_Cb func) EINA_ARG_NONNULL(1, 3); |
2656 | 2656 | ||
2657 | /** | 2657 | /** |
2658 | * Delete (unregister) a callback function registered to a given | 2658 | * Delete (unregister) a callback function registered to a given |
@@ -2686,7 +2686,7 @@ EAPI void *evas_object_event_callback_del(Evas_Object *obj, Evas_Callback_Ty | |||
2686 | * my_data = evas_object_event_callback_del_full(object, EVAS_CALLBACK_MOUSE_UP, up_callback, data); | 2686 | * my_data = evas_object_event_callback_del_full(object, EVAS_CALLBACK_MOUSE_UP, up_callback, data); |
2687 | * @endcode | 2687 | * @endcode |
2688 | */ | 2688 | */ |
2689 | EAPI void *evas_object_event_callback_del_full(Evas_Object *obj, Evas_Callback_Type type, Evas_Object_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 3); | 2689 | EVAS_API void *evas_object_event_callback_del_full(Evas_Object *obj, Evas_Callback_Type type, Evas_Object_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 3); |
2690 | 2690 | ||
2691 | /** | 2691 | /** |
2692 | * @brief Requests @c keyname key events be directed to @c obj. | 2692 | * @brief Requests @c keyname key events be directed to @c obj. |
@@ -2723,7 +2723,7 @@ EAPI void *evas_object_event_callback_del_full(Evas_Object *obj, Evas_Callba | |||
2723 | * | 2723 | * |
2724 | * @return @c true if the call succeeded, @c false otherwise. | 2724 | * @return @c true if the call succeeded, @c false otherwise. |
2725 | */ | 2725 | */ |
2726 | EAPI Eina_Bool evas_object_key_grab(Evas_Object *obj, const char *keyname, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers, Eina_Bool exclusive) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(2); | 2726 | EVAS_API Eina_Bool evas_object_key_grab(Evas_Object *obj, const char *keyname, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers, Eina_Bool exclusive) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(2); |
2727 | 2727 | ||
2728 | /** | 2728 | /** |
2729 | * @brief Removes the grab on @c keyname key events by @c obj. | 2729 | * @brief Removes the grab on @c keyname key events by @c obj. |
@@ -2740,7 +2740,7 @@ EAPI Eina_Bool evas_object_key_grab(Evas_Object *obj, const char *keyname, Evas_ | |||
2740 | * @param[in] not_modifiers A mask of modifiers that mus not not be present to | 2740 | * @param[in] not_modifiers A mask of modifiers that mus not not be present to |
2741 | * trigger the event. | 2741 | * trigger the event. |
2742 | */ | 2742 | */ |
2743 | EAPI void evas_object_key_ungrab(Evas_Object *obj, const char *keyname, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers) EINA_ARG_NONNULL(2); | 2743 | EVAS_API void evas_object_key_ungrab(Evas_Object *obj, const char *keyname, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers) EINA_ARG_NONNULL(2); |
2744 | 2744 | ||
2745 | /** | 2745 | /** |
2746 | * @} | 2746 | * @} |
@@ -2790,7 +2790,7 @@ EAPI void evas_object_key_ungrab(Evas_Object *obj, const char *keyname, Evas_Mod | |||
2790 | * printf("The data that was attached was %p\n", evas_object_data_get(obj, "name_of_data")); | 2790 | * printf("The data that was attached was %p\n", evas_object_data_get(obj, "name_of_data")); |
2791 | * @endcode | 2791 | * @endcode |
2792 | */ | 2792 | */ |
2793 | EAPI void evas_object_data_set(Evas_Object *obj, const char *key, const void *data) EINA_ARG_NONNULL(1, 2); | 2793 | EVAS_API void evas_object_data_set(Evas_Object *obj, const char *key, const void *data) EINA_ARG_NONNULL(1, 2); |
2794 | 2794 | ||
2795 | /** | 2795 | /** |
2796 | * Return an attached data pointer on an Evas object by its given | 2796 | * Return an attached data pointer on an Evas object by its given |
@@ -2821,7 +2821,7 @@ EAPI void evas_object_data_set(Evas_Object *obj, const char | |||
2821 | * else printf("No data was stored on the object\n"); | 2821 | * else printf("No data was stored on the object\n"); |
2822 | * @endcode | 2822 | * @endcode |
2823 | */ | 2823 | */ |
2824 | EAPI void *evas_object_data_get(const Evas_Object *obj, const char *key) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1, 2); | 2824 | EVAS_API void *evas_object_data_get(const Evas_Object *obj, const char *key) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1, 2); |
2825 | 2825 | ||
2826 | /** | 2826 | /** |
2827 | * Delete an attached data pointer from an object. | 2827 | * Delete an attached data pointer from an object. |
@@ -2843,7 +2843,7 @@ EAPI void *evas_object_data_get(const Evas_Object *obj, const | |||
2843 | * my_data = evas_object_data_del(obj, "name_of_my_data"); | 2843 | * my_data = evas_object_data_del(obj, "name_of_my_data"); |
2844 | * @endcode | 2844 | * @endcode |
2845 | */ | 2845 | */ |
2846 | EAPI void *evas_object_data_del(Evas_Object *obj, const char *key) EINA_ARG_NONNULL(1, 2); | 2846 | EVAS_API void *evas_object_data_del(Evas_Object *obj, const char *key) EINA_ARG_NONNULL(1, 2); |
2847 | 2847 | ||
2848 | /** | 2848 | /** |
2849 | * @} | 2849 | * @} |
@@ -2871,7 +2871,7 @@ EAPI void *evas_object_data_del(Evas_Object *obj, const char | |||
2871 | * objects, acting only on the ones at the "top level", with regard to | 2871 | * objects, acting only on the ones at the "top level", with regard to |
2872 | * object parenting. | 2872 | * object parenting. |
2873 | */ | 2873 | */ |
2874 | EAPI Evas_Object *evas_object_top_at_pointer_get(const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); | 2874 | EVAS_API Evas_Object *evas_object_top_at_pointer_get(const Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); |
2875 | 2875 | ||
2876 | /** | 2876 | /** |
2877 | * @} | 2877 | * @} |
@@ -3092,7 +3092,7 @@ typedef void (*Evas_Object_Intercept_Clip_Unset_Cb)(void *data, Evas_Object *obj | |||
3092 | * @see evas_object_intercept_show_callback_del(). | 3092 | * @see evas_object_intercept_show_callback_del(). |
3093 | * | 3093 | * |
3094 | */ | 3094 | */ |
3095 | EAPI void evas_object_intercept_show_callback_add(Evas_Object *obj, Evas_Object_Intercept_Show_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); | 3095 | EVAS_API void evas_object_intercept_show_callback_add(Evas_Object *obj, Evas_Object_Intercept_Show_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); |
3096 | 3096 | ||
3097 | /** | 3097 | /** |
3098 | * Unset the callback function that intercepts a show event of a object. | 3098 | * Unset the callback function that intercepts a show event of a object. |
@@ -3106,7 +3106,7 @@ EAPI void evas_object_intercept_show_callback_add(Evas_Object *obj, Evas_Object | |||
3106 | * @see evas_object_intercept_show_callback_add(). | 3106 | * @see evas_object_intercept_show_callback_add(). |
3107 | * | 3107 | * |
3108 | */ | 3108 | */ |
3109 | EAPI void *evas_object_intercept_show_callback_del(Evas_Object *obj, Evas_Object_Intercept_Show_Cb func) EINA_ARG_NONNULL(1, 2); | 3109 | EVAS_API void *evas_object_intercept_show_callback_del(Evas_Object *obj, Evas_Object_Intercept_Show_Cb func) EINA_ARG_NONNULL(1, 2); |
3110 | 3110 | ||
3111 | /** | 3111 | /** |
3112 | * Set the callback function that intercepts a hide event of a object. | 3112 | * Set the callback function that intercepts a hide event of a object. |
@@ -3121,7 +3121,7 @@ EAPI void *evas_object_intercept_show_callback_del(Evas_Object *obj, Evas_Object | |||
3121 | * @see evas_object_intercept_hide_callback_del(). | 3121 | * @see evas_object_intercept_hide_callback_del(). |
3122 | * | 3122 | * |
3123 | */ | 3123 | */ |
3124 | EAPI void evas_object_intercept_hide_callback_add(Evas_Object *obj, Evas_Object_Intercept_Hide_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); | 3124 | EVAS_API void evas_object_intercept_hide_callback_add(Evas_Object *obj, Evas_Object_Intercept_Hide_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); |
3125 | 3125 | ||
3126 | /** | 3126 | /** |
3127 | * Unset the callback function that intercepts a hide event of a object. | 3127 | * Unset the callback function that intercepts a hide event of a object. |
@@ -3135,7 +3135,7 @@ EAPI void evas_object_intercept_hide_callback_add(Evas_Object *obj, Evas_Object | |||
3135 | * @see evas_object_intercept_hide_callback_add(). | 3135 | * @see evas_object_intercept_hide_callback_add(). |
3136 | * | 3136 | * |
3137 | */ | 3137 | */ |
3138 | EAPI void *evas_object_intercept_hide_callback_del(Evas_Object *obj, Evas_Object_Intercept_Hide_Cb func) EINA_ARG_NONNULL(1, 2); | 3138 | EVAS_API void *evas_object_intercept_hide_callback_del(Evas_Object *obj, Evas_Object_Intercept_Hide_Cb func) EINA_ARG_NONNULL(1, 2); |
3139 | 3139 | ||
3140 | /** | 3140 | /** |
3141 | * Set the callback function that intercepts a move event of an object. | 3141 | * Set the callback function that intercepts a move event of an object. |
@@ -3150,7 +3150,7 @@ EAPI void *evas_object_intercept_hide_callback_del(Evas_Object *obj, Evas_Object | |||
3150 | * @see evas_object_intercept_move_callback_del(). | 3150 | * @see evas_object_intercept_move_callback_del(). |
3151 | * | 3151 | * |
3152 | */ | 3152 | */ |
3153 | EAPI void evas_object_intercept_move_callback_add(Evas_Object *obj, Evas_Object_Intercept_Move_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); | 3153 | EVAS_API void evas_object_intercept_move_callback_add(Evas_Object *obj, Evas_Object_Intercept_Move_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); |
3154 | 3154 | ||
3155 | /** | 3155 | /** |
3156 | * Unset the callback function that intercepts a move event of an object. | 3156 | * Unset the callback function that intercepts a move event of an object. |
@@ -3164,7 +3164,7 @@ EAPI void evas_object_intercept_move_callback_add(Evas_Object *obj, Evas_Object | |||
3164 | * @see evas_object_intercept_move_callback_add(). | 3164 | * @see evas_object_intercept_move_callback_add(). |
3165 | * | 3165 | * |
3166 | */ | 3166 | */ |
3167 | EAPI void *evas_object_intercept_move_callback_del(Evas_Object *obj, Evas_Object_Intercept_Move_Cb func) EINA_ARG_NONNULL(1, 2); | 3167 | EVAS_API void *evas_object_intercept_move_callback_del(Evas_Object *obj, Evas_Object_Intercept_Move_Cb func) EINA_ARG_NONNULL(1, 2); |
3168 | 3168 | ||
3169 | /** | 3169 | /** |
3170 | * Set the callback function that intercepts a resize event of an object. | 3170 | * Set the callback function that intercepts a resize event of an object. |
@@ -3179,7 +3179,7 @@ EAPI void *evas_object_intercept_move_callback_del(Evas_Object *obj, Evas_Object | |||
3179 | * @see evas_object_intercept_resize_callback_del(). | 3179 | * @see evas_object_intercept_resize_callback_del(). |
3180 | * | 3180 | * |
3181 | */ | 3181 | */ |
3182 | EAPI void evas_object_intercept_resize_callback_add(Evas_Object *obj, Evas_Object_Intercept_Resize_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); | 3182 | EVAS_API void evas_object_intercept_resize_callback_add(Evas_Object *obj, Evas_Object_Intercept_Resize_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); |
3183 | 3183 | ||
3184 | /** | 3184 | /** |
3185 | * Unset the callback function that intercepts a resize event of an object. | 3185 | * Unset the callback function that intercepts a resize event of an object. |
@@ -3193,7 +3193,7 @@ EAPI void evas_object_intercept_resize_callback_add(Evas_Object *obj, Evas_Obje | |||
3193 | * @see evas_object_intercept_resize_callback_add(). | 3193 | * @see evas_object_intercept_resize_callback_add(). |
3194 | * | 3194 | * |
3195 | */ | 3195 | */ |
3196 | EAPI void *evas_object_intercept_resize_callback_del(Evas_Object *obj, Evas_Object_Intercept_Resize_Cb func) EINA_ARG_NONNULL(1, 2); | 3196 | EVAS_API void *evas_object_intercept_resize_callback_del(Evas_Object *obj, Evas_Object_Intercept_Resize_Cb func) EINA_ARG_NONNULL(1, 2); |
3197 | 3197 | ||
3198 | /** | 3198 | /** |
3199 | * Set the callback function that intercepts a raise event of an object. | 3199 | * Set the callback function that intercepts a raise event of an object. |
@@ -3208,7 +3208,7 @@ EAPI void *evas_object_intercept_resize_callback_del(Evas_Object *obj, Evas_Obje | |||
3208 | * @see evas_object_intercept_raise_callback_del(). | 3208 | * @see evas_object_intercept_raise_callback_del(). |
3209 | * | 3209 | * |
3210 | */ | 3210 | */ |
3211 | EAPI void evas_object_intercept_raise_callback_add(Evas_Object *obj, Evas_Object_Intercept_Raise_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); | 3211 | EVAS_API void evas_object_intercept_raise_callback_add(Evas_Object *obj, Evas_Object_Intercept_Raise_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); |
3212 | 3212 | ||
3213 | /** | 3213 | /** |
3214 | * Unset the callback function that intercepts a raise event of an object. | 3214 | * Unset the callback function that intercepts a raise event of an object. |
@@ -3222,7 +3222,7 @@ EAPI void evas_object_intercept_raise_callback_add(Evas_Object *obj, Evas_Objec | |||
3222 | * @see evas_object_intercept_raise_callback_add(). | 3222 | * @see evas_object_intercept_raise_callback_add(). |
3223 | * | 3223 | * |
3224 | */ | 3224 | */ |
3225 | EAPI void *evas_object_intercept_raise_callback_del(Evas_Object *obj, Evas_Object_Intercept_Raise_Cb func) EINA_ARG_NONNULL(1, 2); | 3225 | EVAS_API void *evas_object_intercept_raise_callback_del(Evas_Object *obj, Evas_Object_Intercept_Raise_Cb func) EINA_ARG_NONNULL(1, 2); |
3226 | 3226 | ||
3227 | /** | 3227 | /** |
3228 | * Set the callback function that intercepts a lower event of an object. | 3228 | * Set the callback function that intercepts a lower event of an object. |
@@ -3237,7 +3237,7 @@ EAPI void *evas_object_intercept_raise_callback_del(Evas_Object *obj, Evas_Objec | |||
3237 | * @see evas_object_intercept_lower_callback_del(). | 3237 | * @see evas_object_intercept_lower_callback_del(). |
3238 | * | 3238 | * |
3239 | */ | 3239 | */ |
3240 | EAPI void evas_object_intercept_lower_callback_add(Evas_Object *obj, Evas_Object_Intercept_Lower_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); | 3240 | EVAS_API void evas_object_intercept_lower_callback_add(Evas_Object *obj, Evas_Object_Intercept_Lower_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); |
3241 | 3241 | ||
3242 | /** | 3242 | /** |
3243 | * Unset the callback function that intercepts a lower event of an object. | 3243 | * Unset the callback function that intercepts a lower event of an object. |
@@ -3251,7 +3251,7 @@ EAPI void evas_object_intercept_lower_callback_add(Evas_Object *obj, Evas_Objec | |||
3251 | * @see evas_object_intercept_lower_callback_add(). | 3251 | * @see evas_object_intercept_lower_callback_add(). |
3252 | * | 3252 | * |
3253 | */ | 3253 | */ |
3254 | EAPI void *evas_object_intercept_lower_callback_del(Evas_Object *obj, Evas_Object_Intercept_Lower_Cb func) EINA_ARG_NONNULL(1, 2); | 3254 | EVAS_API void *evas_object_intercept_lower_callback_del(Evas_Object *obj, Evas_Object_Intercept_Lower_Cb func) EINA_ARG_NONNULL(1, 2); |
3255 | 3255 | ||
3256 | /** | 3256 | /** |
3257 | * Set the callback function that intercepts a stack above event of an object. | 3257 | * Set the callback function that intercepts a stack above event of an object. |
@@ -3266,7 +3266,7 @@ EAPI void *evas_object_intercept_lower_callback_del(Evas_Object *obj, Evas_Objec | |||
3266 | * @see evas_object_intercept_stack_above_callback_del(). | 3266 | * @see evas_object_intercept_stack_above_callback_del(). |
3267 | * | 3267 | * |
3268 | */ | 3268 | */ |
3269 | EAPI void evas_object_intercept_stack_above_callback_add(Evas_Object *obj, Evas_Object_Intercept_Stack_Above_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); | 3269 | EVAS_API void evas_object_intercept_stack_above_callback_add(Evas_Object *obj, Evas_Object_Intercept_Stack_Above_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); |
3270 | 3270 | ||
3271 | /** | 3271 | /** |
3272 | * Unset the callback function that intercepts a stack above event of an object. | 3272 | * Unset the callback function that intercepts a stack above event of an object. |
@@ -3280,7 +3280,7 @@ EAPI void evas_object_intercept_stack_above_callback_add(Evas_Object *obj, Evas | |||
3280 | * @see evas_object_intercept_stack_above_callback_add(). | 3280 | * @see evas_object_intercept_stack_above_callback_add(). |
3281 | * | 3281 | * |
3282 | */ | 3282 | */ |
3283 | EAPI void *evas_object_intercept_stack_above_callback_del(Evas_Object *obj, Evas_Object_Intercept_Stack_Above_Cb func) EINA_ARG_NONNULL(1, 2); | 3283 | EVAS_API void *evas_object_intercept_stack_above_callback_del(Evas_Object *obj, Evas_Object_Intercept_Stack_Above_Cb func) EINA_ARG_NONNULL(1, 2); |
3284 | 3284 | ||
3285 | /** | 3285 | /** |
3286 | * Set the callback function that intercepts a stack below event of an object. | 3286 | * Set the callback function that intercepts a stack below event of an object. |
@@ -3295,7 +3295,7 @@ EAPI void *evas_object_intercept_stack_above_callback_del(Evas_Object *obj, Evas | |||
3295 | * @see evas_object_intercept_stack_below_callback_del(). | 3295 | * @see evas_object_intercept_stack_below_callback_del(). |
3296 | * | 3296 | * |
3297 | */ | 3297 | */ |
3298 | EAPI void evas_object_intercept_stack_below_callback_add(Evas_Object *obj, Evas_Object_Intercept_Stack_Below_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); | 3298 | EVAS_API void evas_object_intercept_stack_below_callback_add(Evas_Object *obj, Evas_Object_Intercept_Stack_Below_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); |
3299 | 3299 | ||
3300 | /** | 3300 | /** |
3301 | * Unset the callback function that intercepts a stack below event of an object. | 3301 | * Unset the callback function that intercepts a stack below event of an object. |
@@ -3309,7 +3309,7 @@ EAPI void evas_object_intercept_stack_below_callback_add(Evas_Object *obj, Evas | |||
3309 | * @see evas_object_intercept_stack_below_callback_add(). | 3309 | * @see evas_object_intercept_stack_below_callback_add(). |
3310 | * | 3310 | * |
3311 | */ | 3311 | */ |
3312 | EAPI void *evas_object_intercept_stack_below_callback_del(Evas_Object *obj, Evas_Object_Intercept_Stack_Below_Cb func) EINA_ARG_NONNULL(1, 2); | 3312 | EVAS_API void *evas_object_intercept_stack_below_callback_del(Evas_Object *obj, Evas_Object_Intercept_Stack_Below_Cb func) EINA_ARG_NONNULL(1, 2); |
3313 | 3313 | ||
3314 | /** | 3314 | /** |
3315 | * Set the callback function that intercepts a layer set event of an object. | 3315 | * Set the callback function that intercepts a layer set event of an object. |
@@ -3324,7 +3324,7 @@ EAPI void *evas_object_intercept_stack_below_callback_del(Evas_Object *obj, Evas | |||
3324 | * @see evas_object_intercept_layer_set_callback_del(). | 3324 | * @see evas_object_intercept_layer_set_callback_del(). |
3325 | * | 3325 | * |
3326 | */ | 3326 | */ |
3327 | EAPI void evas_object_intercept_layer_set_callback_add(Evas_Object *obj, Evas_Object_Intercept_Layer_Set_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); | 3327 | EVAS_API void evas_object_intercept_layer_set_callback_add(Evas_Object *obj, Evas_Object_Intercept_Layer_Set_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); |
3328 | 3328 | ||
3329 | /** | 3329 | /** |
3330 | * Unset the callback function that intercepts a layer set event of an object. | 3330 | * Unset the callback function that intercepts a layer set event of an object. |
@@ -3338,7 +3338,7 @@ EAPI void evas_object_intercept_layer_set_callback_add(Evas_Object *obj, Evas_O | |||
3338 | * @see evas_object_intercept_layer_set_callback_add(). | 3338 | * @see evas_object_intercept_layer_set_callback_add(). |
3339 | * | 3339 | * |
3340 | */ | 3340 | */ |
3341 | EAPI void *evas_object_intercept_layer_set_callback_del(Evas_Object *obj, Evas_Object_Intercept_Layer_Set_Cb func) EINA_ARG_NONNULL(1, 2); | 3341 | EVAS_API void *evas_object_intercept_layer_set_callback_del(Evas_Object *obj, Evas_Object_Intercept_Layer_Set_Cb func) EINA_ARG_NONNULL(1, 2); |
3342 | 3342 | ||
3343 | /** | 3343 | /** |
3344 | * Set the callback function that intercepts a color set event of an object. | 3344 | * Set the callback function that intercepts a color set event of an object. |
@@ -3353,7 +3353,7 @@ EAPI void *evas_object_intercept_layer_set_callback_del(Evas_Object *obj, Evas_O | |||
3353 | * @see evas_object_intercept_color_set_callback_del(). | 3353 | * @see evas_object_intercept_color_set_callback_del(). |
3354 | * | 3354 | * |
3355 | */ | 3355 | */ |
3356 | EAPI void evas_object_intercept_color_set_callback_add(Evas_Object *obj, Evas_Object_Intercept_Color_Set_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); | 3356 | EVAS_API void evas_object_intercept_color_set_callback_add(Evas_Object *obj, Evas_Object_Intercept_Color_Set_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); |
3357 | 3357 | ||
3358 | /** | 3358 | /** |
3359 | * Unset the callback function that intercepts a color set event of an object. | 3359 | * Unset the callback function that intercepts a color set event of an object. |
@@ -3367,7 +3367,7 @@ EAPI void evas_object_intercept_color_set_callback_add(Evas_Object *obj, Evas_O | |||
3367 | * @see evas_object_intercept_color_set_callback_add(). | 3367 | * @see evas_object_intercept_color_set_callback_add(). |
3368 | * | 3368 | * |
3369 | */ | 3369 | */ |
3370 | EAPI void *evas_object_intercept_color_set_callback_del(Evas_Object *obj, Evas_Object_Intercept_Color_Set_Cb func) EINA_ARG_NONNULL(1, 2); | 3370 | EVAS_API void *evas_object_intercept_color_set_callback_del(Evas_Object *obj, Evas_Object_Intercept_Color_Set_Cb func) EINA_ARG_NONNULL(1, 2); |
3371 | 3371 | ||
3372 | /** | 3372 | /** |
3373 | * Set the callback function that intercepts a clip set event of an object. | 3373 | * Set the callback function that intercepts a clip set event of an object. |
@@ -3382,7 +3382,7 @@ EAPI void *evas_object_intercept_color_set_callback_del(Evas_Object *obj, Evas_O | |||
3382 | * @see evas_object_intercept_clip_set_callback_del(). | 3382 | * @see evas_object_intercept_clip_set_callback_del(). |
3383 | * | 3383 | * |
3384 | */ | 3384 | */ |
3385 | EAPI void evas_object_intercept_clip_set_callback_add(Evas_Object *obj, Evas_Object_Intercept_Clip_Set_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); | 3385 | EVAS_API void evas_object_intercept_clip_set_callback_add(Evas_Object *obj, Evas_Object_Intercept_Clip_Set_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); |
3386 | 3386 | ||
3387 | /** | 3387 | /** |
3388 | * Unset the callback function that intercepts a clip set event of an object. | 3388 | * Unset the callback function that intercepts a clip set event of an object. |
@@ -3396,7 +3396,7 @@ EAPI void evas_object_intercept_clip_set_callback_add(Evas_Object *obj, Evas_Ob | |||
3396 | * @see evas_object_intercept_clip_set_callback_add(). | 3396 | * @see evas_object_intercept_clip_set_callback_add(). |
3397 | * | 3397 | * |
3398 | */ | 3398 | */ |
3399 | EAPI void *evas_object_intercept_clip_set_callback_del(Evas_Object *obj, Evas_Object_Intercept_Clip_Set_Cb func) EINA_ARG_NONNULL(1, 2); | 3399 | EVAS_API void *evas_object_intercept_clip_set_callback_del(Evas_Object *obj, Evas_Object_Intercept_Clip_Set_Cb func) EINA_ARG_NONNULL(1, 2); |
3400 | 3400 | ||
3401 | /** | 3401 | /** |
3402 | * Set the callback function that intercepts a clip unset event of an object. | 3402 | * Set the callback function that intercepts a clip unset event of an object. |
@@ -3411,7 +3411,7 @@ EAPI void *evas_object_intercept_clip_set_callback_del(Evas_Object *obj, Evas_Ob | |||
3411 | * @see evas_object_intercept_clip_unset_callback_del(). | 3411 | * @see evas_object_intercept_clip_unset_callback_del(). |
3412 | * | 3412 | * |
3413 | */ | 3413 | */ |
3414 | EAPI void evas_object_intercept_clip_unset_callback_add(Evas_Object *obj, Evas_Object_Intercept_Clip_Unset_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); | 3414 | EVAS_API void evas_object_intercept_clip_unset_callback_add(Evas_Object *obj, Evas_Object_Intercept_Clip_Unset_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); |
3415 | 3415 | ||
3416 | /** | 3416 | /** |
3417 | * Unset the callback function that intercepts a clip unset event of an object. | 3417 | * Unset the callback function that intercepts a clip unset event of an object. |
@@ -3425,7 +3425,7 @@ EAPI void evas_object_intercept_clip_unset_callback_add(Evas_Object *obj, Evas_ | |||
3425 | * @see evas_object_intercept_clip_unset_callback_add(). | 3425 | * @see evas_object_intercept_clip_unset_callback_add(). |
3426 | * | 3426 | * |
3427 | */ | 3427 | */ |
3428 | EAPI void *evas_object_intercept_clip_unset_callback_del(Evas_Object *obj, Evas_Object_Intercept_Clip_Unset_Cb func) EINA_ARG_NONNULL(1, 2); | 3428 | EVAS_API void *evas_object_intercept_clip_unset_callback_del(Evas_Object *obj, Evas_Object_Intercept_Clip_Unset_Cb func) EINA_ARG_NONNULL(1, 2); |
3429 | 3429 | ||
3430 | /** | 3430 | /** |
3431 | * Set the callback function that intercepts a focus set event of an object. | 3431 | * Set the callback function that intercepts a focus set event of an object. |
@@ -3440,7 +3440,7 @@ EAPI void *evas_object_intercept_clip_unset_callback_del(Evas_Object *obj, Evas_ | |||
3440 | * @see evas_object_intercept_focus_set_callback_del(). | 3440 | * @see evas_object_intercept_focus_set_callback_del(). |
3441 | * | 3441 | * |
3442 | */ | 3442 | */ |
3443 | EAPI void evas_object_intercept_focus_set_callback_add(Evas_Object *obj, Evas_Object_Intercept_Focus_Set_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); | 3443 | EVAS_API void evas_object_intercept_focus_set_callback_add(Evas_Object *obj, Evas_Object_Intercept_Focus_Set_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); |
3444 | 3444 | ||
3445 | /** | 3445 | /** |
3446 | * Unset the callback function that intercepts a focus set event of an object. | 3446 | * Unset the callback function that intercepts a focus set event of an object. |
@@ -3454,7 +3454,7 @@ EAPI void evas_object_intercept_focus_set_callback_add(Evas_Object *obj, Evas_O | |||
3454 | * @see evas_object_intercept_focus_set_callback_add(). | 3454 | * @see evas_object_intercept_focus_set_callback_add(). |
3455 | * | 3455 | * |
3456 | */ | 3456 | */ |
3457 | EAPI void *evas_object_intercept_focus_set_callback_del(Evas_Object *obj, Evas_Object_Intercept_Focus_Set_Cb func) EINA_ARG_NONNULL(1, 2); | 3457 | EVAS_API void *evas_object_intercept_focus_set_callback_del(Evas_Object *obj, Evas_Object_Intercept_Focus_Set_Cb func) EINA_ARG_NONNULL(1, 2); |
3458 | 3458 | ||
3459 | /** | 3459 | /** |
3460 | * Set the callback function that intercepts a focus set event of an object. | 3460 | * Set the callback function that intercepts a focus set event of an object. |
@@ -3471,7 +3471,7 @@ EAPI void *evas_object_intercept_focus_set_callback_del(Evas_Object *obj, Evas_O | |||
3471 | * @since 1.20 | 3471 | * @since 1.20 |
3472 | * | 3472 | * |
3473 | */ | 3473 | */ |
3474 | EAPI void evas_object_intercept_device_focus_set_callback_add(Evas_Object *obj, Evas_Object_Intercept_Device_Focus_Set_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); | 3474 | EVAS_API void evas_object_intercept_device_focus_set_callback_add(Evas_Object *obj, Evas_Object_Intercept_Device_Focus_Set_Cb func, const void *data) EINA_ARG_NONNULL(1, 2); |
3475 | 3475 | ||
3476 | /** | 3476 | /** |
3477 | * Unset the callback function that intercepts a focus set event of an object. | 3477 | * Unset the callback function that intercepts a focus set event of an object. |
@@ -3487,7 +3487,7 @@ EAPI void evas_object_intercept_device_focus_set_callback_add(Evas_Object *obj, | |||
3487 | * @since 1.20 | 3487 | * @since 1.20 |
3488 | * | 3488 | * |
3489 | */ | 3489 | */ |
3490 | EAPI void *evas_object_intercept_device_focus_set_callback_del(Evas_Object *obj, Evas_Object_Intercept_Device_Focus_Set_Cb func) EINA_ARG_NONNULL(1, 2); | 3490 | EVAS_API void *evas_object_intercept_device_focus_set_callback_del(Evas_Object *obj, Evas_Object_Intercept_Device_Focus_Set_Cb func) EINA_ARG_NONNULL(1, 2); |
3491 | 3491 | ||
3492 | /* Internal APIs for legacy compatibility */ | 3492 | /* Internal APIs for legacy compatibility */ |
3493 | #ifdef EFL_CANVAS_OBJECT_PROTECTED | 3493 | #ifdef EFL_CANVAS_OBJECT_PROTECTED |
@@ -3509,7 +3509,7 @@ enum _Evas_Object_Intercept_Cb_Type | |||
3509 | }; | 3509 | }; |
3510 | typedef enum _Evas_Object_Intercept_Cb_Type Evas_Object_Intercept_Cb_Type; | 3510 | typedef enum _Evas_Object_Intercept_Cb_Type Evas_Object_Intercept_Cb_Type; |
3511 | 3511 | ||
3512 | EWAPI Eina_Bool _evas_object_intercept_call(Evas_Object *obj, Evas_Object_Intercept_Cb_Type type, int internal, ...); | 3512 | EVAS_API EVAS_API_WEAK Eina_Bool _evas_object_intercept_call(Evas_Object *obj, Evas_Object_Intercept_Cb_Type type, int internal, ...); |
3513 | 3513 | ||
3514 | #endif | 3514 | #endif |
3515 | 3515 | ||
@@ -3531,7 +3531,7 @@ EWAPI Eina_Bool _evas_object_intercept_call(Evas_Object *obj, Evas_Object_Interc | |||
3531 | * | 3531 | * |
3532 | * @ingroup Evas_Object_Rectangle | 3532 | * @ingroup Evas_Object_Rectangle |
3533 | */ | 3533 | */ |
3534 | EAPI Evas_Object *evas_object_rectangle_add(Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC; | 3534 | EVAS_API Evas_Object *evas_object_rectangle_add(Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC; |
3535 | 3535 | ||
3536 | /** | 3536 | /** |
3537 | * @} | 3537 | * @} |
@@ -3619,7 +3619,7 @@ EAPI Evas_Object *evas_object_rectangle_add(Evas *e) EINA_WARN_UNUSED_RESULT EIN | |||
3619 | * | 3619 | * |
3620 | * @since 1.14 | 3620 | * @since 1.14 |
3621 | */ | 3621 | */ |
3622 | EAPI Evas_Object *evas_object_vg_add(Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC; | 3622 | EVAS_API Evas_Object *evas_object_vg_add(Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC; |
3623 | 3623 | ||
3624 | /** | 3624 | /** |
3625 | * Get the total number of frames of the vector, if it's animated. | 3625 | * Get the total number of frames of the vector, if it's animated. |
@@ -3628,7 +3628,7 @@ EAPI Evas_Object *evas_object_vg_add(Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_N | |||
3628 | * | 3628 | * |
3629 | * @since 1.23 | 3629 | * @since 1.23 |
3630 | */ | 3630 | */ |
3631 | EAPI int evas_object_vg_animated_frame_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); | 3631 | EVAS_API int evas_object_vg_animated_frame_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); |
3632 | 3632 | ||
3633 | /** | 3633 | /** |
3634 | * Get the duration of a sequence of frames. | 3634 | * Get the duration of a sequence of frames. |
@@ -3648,7 +3648,7 @@ EAPI int evas_object_vg_animated_frame_count_get(const Evas_Object *obj) EINA_AR | |||
3648 | * @see evas_object_vg_animated_frame_count_get() | 3648 | * @see evas_object_vg_animated_frame_count_get() |
3649 | * @since 1.23 | 3649 | * @since 1.23 |
3650 | */ | 3650 | */ |
3651 | EAPI double evas_object_vg_animated_frame_duration_get(const Evas_Object *obj, int start_frame EINA_UNUSED, int frame_num EINA_UNUSED) EINA_ARG_NONNULL(1); | 3651 | EVAS_API double evas_object_vg_animated_frame_duration_get(const Evas_Object *obj, int start_frame EINA_UNUSED, int frame_num EINA_UNUSED) EINA_ARG_NONNULL(1); |
3652 | 3652 | ||
3653 | /** | 3653 | /** |
3654 | * | 3654 | * |
@@ -3667,7 +3667,7 @@ NULL, otherwise. | |||
3667 | * | 3667 | * |
3668 | * @since 1.23 | 3668 | * @since 1.23 |
3669 | */ | 3669 | */ |
3670 | EAPI Eina_Bool evas_object_vg_file_set(Evas_Object *obj, const char *file, const char *key); | 3670 | EVAS_API Eina_Bool evas_object_vg_file_set(Evas_Object *obj, const char *file, const char *key); |
3671 | 3671 | ||
3672 | /** | 3672 | /** |
3673 | * Set current frame of animated vector object. | 3673 | * Set current frame of animated vector object. |
@@ -3682,7 +3682,7 @@ EAPI Eina_Bool evas_object_vg_file_set(Evas_Object *obj, const char *file, const | |||
3682 | * | 3682 | * |
3683 | * @since 1.23 | 3683 | * @since 1.23 |
3684 | */ | 3684 | */ |
3685 | EAPI Eina_Bool evas_object_vg_animated_frame_set(Evas_Object *obj, int frame_index) EINA_ARG_NONNULL(1, 2); | 3685 | EVAS_API Eina_Bool evas_object_vg_animated_frame_set(Evas_Object *obj, int frame_index) EINA_ARG_NONNULL(1, 2); |
3686 | 3686 | ||
3687 | /** | 3687 | /** |
3688 | * Get the current frame number of animated vector object. | 3688 | * Get the current frame number of animated vector object. |
@@ -3694,7 +3694,7 @@ EAPI Eina_Bool evas_object_vg_animated_frame_set(Evas_Object *obj, int frame_ind | |||
3694 | * | 3694 | * |
3695 | * @since 1.23 | 3695 | * @since 1.23 |
3696 | */ | 3696 | */ |
3697 | EAPI int evas_object_vg_animated_frame_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); | 3697 | EVAS_API int evas_object_vg_animated_frame_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); |
3698 | 3698 | ||
3699 | 3699 | ||
3700 | #include "canvas/efl_canvas_vg_node_eo.legacy.h" | 3700 | #include "canvas/efl_canvas_vg_node_eo.legacy.h" |
@@ -3820,7 +3820,7 @@ typedef struct _Evas_Vg_Dash | |||
3820 | * | 3820 | * |
3821 | * @since 1.14 | 3821 | * @since 1.14 |
3822 | */ | 3822 | */ |
3823 | EAPI Evas_Vg_Shape* evas_vg_shape_add(Evas_Vg_Container *parent); | 3823 | EVAS_API Evas_Vg_Shape* evas_vg_shape_add(Evas_Vg_Container *parent); |
3824 | 3824 | ||
3825 | /** | 3825 | /** |
3826 | * @brief Creates a new vector container object. | 3826 | * @brief Creates a new vector container object. |
@@ -3831,7 +3831,7 @@ EAPI Evas_Vg_Shape* evas_vg_shape_add(Evas_Vg_Container *parent); | |||
3831 | * @since 1.14 | 3831 | * @since 1.14 |
3832 | */ | 3832 | */ |
3833 | 3833 | ||
3834 | EAPI Evas_Vg_Container* evas_vg_container_add(Evas_Object *parent); | 3834 | EVAS_API Evas_Vg_Container* evas_vg_container_add(Evas_Object *parent); |
3835 | 3835 | ||
3836 | /** | 3836 | /** |
3837 | * @brief Retrieves whether or not the given Evas_Vg_Node object is visible. | 3837 | * @brief Retrieves whether or not the given Evas_Vg_Node object is visible. |
@@ -3841,7 +3841,7 @@ EAPI Evas_Vg_Container* evas_vg_container_add(Evas_Object *parent); | |||
3841 | * | 3841 | * |
3842 | * @since 1.24 | 3842 | * @since 1.24 |
3843 | */ | 3843 | */ |
3844 | EAPI Eina_Bool evas_vg_node_visible_get(Evas_Vg_Node *obj); | 3844 | EVAS_API Eina_Bool evas_vg_node_visible_get(Evas_Vg_Node *obj); |
3845 | 3845 | ||
3846 | /** | 3846 | /** |
3847 | * @brief Makes the given Evas_Vg_Node object visible or invisible. | 3847 | * @brief Makes the given Evas_Vg_Node object visible or invisible. |
@@ -3851,7 +3851,7 @@ EAPI Eina_Bool evas_vg_node_visible_get(Evas_Vg_Node *obj); | |||
3851 | * | 3851 | * |
3852 | * @since 1.24 | 3852 | * @since 1.24 |
3853 | */ | 3853 | */ |
3854 | EAPI void evas_vg_node_visible_set(Evas_Vg_Node *obj, Eina_Bool v); | 3854 | EVAS_API void evas_vg_node_visible_set(Evas_Vg_Node *obj, Eina_Bool v); |
3855 | 3855 | ||
3856 | /** | 3856 | /** |
3857 | * @brief Retrieves the general/main color of the given Evas_Vg_Node object. | 3857 | * @brief Retrieves the general/main color of the given Evas_Vg_Node object. |
@@ -3874,7 +3874,7 @@ EAPI void evas_vg_node_visible_set(Evas_Vg_Node *obj, Eina_Bool v); | |||
3874 | * | 3874 | * |
3875 | * @since 1.24 | 3875 | * @since 1.24 |
3876 | */ | 3876 | */ |
3877 | EAPI void evas_vg_node_color_get(Evas_Vg_Node *obj, int *r, int *g, int *b, int *a); | 3877 | EVAS_API void evas_vg_node_color_get(Evas_Vg_Node *obj, int *r, int *g, int *b, int *a); |
3878 | 3878 | ||
3879 | /** | 3879 | /** |
3880 | * @brief Sets the general/main color of the given Evas_Vg_Node object to the given | 3880 | * @brief Sets the general/main color of the given Evas_Vg_Node object to the given |
@@ -3891,7 +3891,7 @@ EAPI void evas_vg_node_color_get(Evas_Vg_Node *obj, int *r, int *g, int *b, int | |||
3891 | * | 3891 | * |
3892 | * @since 1.24 | 3892 | * @since 1.24 |
3893 | */ | 3893 | */ |
3894 | EAPI void evas_vg_node_color_set(Evas_Vg_Node *obj, int r, int g, int b, int a); | 3894 | EVAS_API void evas_vg_node_color_set(Evas_Vg_Node *obj, int r, int g, int b, int a); |
3895 | 3895 | ||
3896 | /** | 3896 | /** |
3897 | * @brief Retrieves the geometry of the given Evas_Vg_Node object. | 3897 | * @brief Retrieves the geometry of the given Evas_Vg_Node object. |
@@ -3904,7 +3904,7 @@ EAPI void evas_vg_node_color_set(Evas_Vg_Node *obj, int r, int g, int b, int a); | |||
3904 | * | 3904 | * |
3905 | * @since 1.24 | 3905 | * @since 1.24 |
3906 | */ | 3906 | */ |
3907 | EAPI void evas_vg_node_geometry_get(Evas_Vg_Node *obj, int *x, int *y, int *w, int *h); | 3907 | EVAS_API void evas_vg_node_geometry_get(Evas_Vg_Node *obj, int *x, int *y, int *w, int *h); |
3908 | 3908 | ||
3909 | /** | 3909 | /** |
3910 | * @brief Changes the geometry of the given Evas_Vg_Node object. | 3910 | * @brief Changes the geometry of the given Evas_Vg_Node object. |
@@ -3918,7 +3918,7 @@ EAPI void evas_vg_node_geometry_get(Evas_Vg_Node *obj, int *x, int *y, int *w, i | |||
3918 | * @since 1.24 | 3918 | * @since 1.24 |
3919 | * @deprecated | 3919 | * @deprecated |
3920 | */ | 3920 | */ |
3921 | EAPI void evas_vg_node_geometry_set(Evas_Vg_Node *obj, int x, int y, int w, int h) EINA_DEPRECATED; | 3921 | EVAS_API void evas_vg_node_geometry_set(Evas_Vg_Node *obj, int x, int y, int w, int h) EINA_DEPRECATED; |
3922 | 3922 | ||
3923 | /** | 3923 | /** |
3924 | * @brief Stack @p obj immediately below @p below. | 3924 | * @brief Stack @p obj immediately below @p below. |
@@ -3948,7 +3948,7 @@ EAPI void evas_vg_node_geometry_set(Evas_Vg_Node *obj, int x, int y, int w, int | |||
3948 | * | 3948 | * |
3949 | * @since 1.24 | 3949 | * @since 1.24 |
3950 | */ | 3950 | */ |
3951 | EAPI void evas_vg_node_stack_below(Evas_Vg_Node *obj, Evas_Vg_Node *below); | 3951 | EVAS_API void evas_vg_node_stack_below(Evas_Vg_Node *obj, Evas_Vg_Node *below); |
3952 | 3952 | ||
3953 | /** | 3953 | /** |
3954 | * @brief Stack @p obj immediately above @p above. | 3954 | * @brief Stack @p obj immediately above @p above. |
@@ -3978,7 +3978,7 @@ EAPI void evas_vg_node_stack_below(Evas_Vg_Node *obj, Evas_Vg_Node *below); | |||
3978 | * | 3978 | * |
3979 | * @since 1.24 | 3979 | * @since 1.24 |
3980 | */ | 3980 | */ |
3981 | EAPI void evas_vg_node_stack_above(Evas_Vg_Node *obj, Evas_Vg_Node *above); | 3981 | EVAS_API void evas_vg_node_stack_above(Evas_Vg_Node *obj, Evas_Vg_Node *above); |
3982 | 3982 | ||
3983 | /** | 3983 | /** |
3984 | * @brief Raise @p obj to the top of its layer. | 3984 | * @brief Raise @p obj to the top of its layer. |
@@ -3994,7 +3994,7 @@ EAPI void evas_vg_node_stack_above(Evas_Vg_Node *obj, Evas_Vg_Node *above); | |||
3994 | * | 3994 | * |
3995 | * @since 1.24 | 3995 | * @since 1.24 |
3996 | */ | 3996 | */ |
3997 | EAPI void evas_vg_node_raise(Evas_Vg_Node *obj); | 3997 | EVAS_API void evas_vg_node_raise(Evas_Vg_Node *obj); |
3998 | 3998 | ||
3999 | /** | 3999 | /** |
4000 | * @brief Lower @p obj to the bottom of its layer. | 4000 | * @brief Lower @p obj to the bottom of its layer. |
@@ -4010,7 +4010,7 @@ EAPI void evas_vg_node_raise(Evas_Vg_Node *obj); | |||
4010 | * | 4010 | * |
4011 | * @since 1.24 | 4011 | * @since 1.24 |
4012 | */ | 4012 | */ |
4013 | EAPI void evas_vg_node_lower(Evas_Vg_Node *obj); | 4013 | EVAS_API void evas_vg_node_lower(Evas_Vg_Node *obj); |
4014 | 4014 | ||
4015 | #include "canvas/efl_canvas_vg_node_eo.legacy.h" | 4015 | #include "canvas/efl_canvas_vg_node_eo.legacy.h" |
4016 | 4016 | ||
@@ -4022,7 +4022,7 @@ EAPI void evas_vg_node_lower(Evas_Vg_Node *obj); | |||
4022 | * | 4022 | * |
4023 | * @since 1.14 | 4023 | * @since 1.14 |
4024 | */ | 4024 | */ |
4025 | EAPI double evas_vg_shape_stroke_scale_get(Evas_Vg_Shape *obj); | 4025 | EVAS_API double evas_vg_shape_stroke_scale_get(Evas_Vg_Shape *obj); |
4026 | 4026 | ||
4027 | /** | 4027 | /** |
4028 | * @brief Sets the stroke scale to be used for stroking the path. | 4028 | * @brief Sets the stroke scale to be used for stroking the path. |
@@ -4033,7 +4033,7 @@ EAPI double evas_vg_shape_stroke_scale_get(Evas_Vg_Shape *obj); | |||
4033 | * | 4033 | * |
4034 | * @since 1.14 | 4034 | * @since 1.14 |
4035 | */ | 4035 | */ |
4036 | EAPI void evas_vg_shape_stroke_scale_set(Evas_Vg_Shape *obj, double s); | 4036 | EVAS_API void evas_vg_shape_stroke_scale_set(Evas_Vg_Shape *obj, double s); |
4037 | 4037 | ||
4038 | /** | 4038 | /** |
4039 | * @brief Gets the color used for stroking the path. | 4039 | * @brief Gets the color used for stroking the path. |
@@ -4046,7 +4046,7 @@ EAPI void evas_vg_shape_stroke_scale_set(Evas_Vg_Shape *obj, double s); | |||
4046 | * | 4046 | * |
4047 | * @since 1.14 | 4047 | * @since 1.14 |
4048 | */ | 4048 | */ |
4049 | EAPI void evas_vg_shape_stroke_color_get(Evas_Vg_Shape *obj, int *r, int *g, int *b, int *a); | 4049 | EVAS_API void evas_vg_shape_stroke_color_get(Evas_Vg_Shape *obj, int *r, int *g, int *b, int *a); |
4050 | 4050 | ||
4051 | /** | 4051 | /** |
4052 | * @brief Sets the color to be used for stroking the path. | 4052 | * @brief Sets the color to be used for stroking the path. |
@@ -4059,7 +4059,7 @@ EAPI void evas_vg_shape_stroke_color_get(Evas_Vg_Shape *obj, int *r, int *g, int | |||
4059 | * | 4059 | * |
4060 | * @since 1.14 | 4060 | * @since 1.14 |
4061 | */ | 4061 | */ |
4062 | EAPI void evas_vg_shape_stroke_color_set(Evas_Vg_Shape *obj, int r, int g, int b, int a); | 4062 | EVAS_API void evas_vg_shape_stroke_color_set(Evas_Vg_Shape *obj, int r, int g, int b, int a); |
4063 | 4063 | ||
4064 | /** | 4064 | /** |
4065 | * @brief Gets the stroke width to be used for stroking the path. | 4065 | * @brief Gets the stroke width to be used for stroking the path. |
@@ -4069,7 +4069,7 @@ EAPI void evas_vg_shape_stroke_color_set(Evas_Vg_Shape *obj, int r, int g, int b | |||
4069 | * | 4069 | * |
4070 | * @since 1.14 | 4070 | * @since 1.14 |
4071 | */ | 4071 | */ |
4072 | EAPI double evas_vg_shape_stroke_width_get(Evas_Vg_Shape *obj); | 4072 | EVAS_API double evas_vg_shape_stroke_width_get(Evas_Vg_Shape *obj); |
4073 | 4073 | ||
4074 | /** | 4074 | /** |
4075 | * @brief Sets the stroke width to be used for stroking the path. | 4075 | * @brief Sets the stroke width to be used for stroking the path. |
@@ -4079,7 +4079,7 @@ EAPI double evas_vg_shape_stroke_width_get(Evas_Vg_Shape *obj); | |||
4079 | * | 4079 | * |
4080 | * @since 1.14 | 4080 | * @since 1.14 |
4081 | */ | 4081 | */ |
4082 | EAPI void evas_vg_shape_stroke_width_set(Evas_Vg_Shape *obj, double w); | 4082 | EVAS_API void evas_vg_shape_stroke_width_set(Evas_Vg_Shape *obj, double w); |
4083 | 4083 | ||
4084 | /** | 4084 | /** |
4085 | * @brief Gets the stroke location to be used for stroking the path. | 4085 | * @brief Gets the stroke location to be used for stroking the path. |
@@ -4089,7 +4089,7 @@ EAPI void evas_vg_shape_stroke_width_set(Evas_Vg_Shape *obj, double w); | |||
4089 | * | 4089 | * |
4090 | * @since 1.24 | 4090 | * @since 1.24 |
4091 | */ | 4091 | */ |
4092 | EAPI double evas_vg_shape_stroke_location_get(Evas_Vg_Shape *obj); | 4092 | EVAS_API double evas_vg_shape_stroke_location_get(Evas_Vg_Shape *obj); |
4093 | 4093 | ||
4094 | /** | 4094 | /** |
4095 | * @brief Sets the stroke location to be used for stroking the path. | 4095 | * @brief Sets the stroke location to be used for stroking the path. |
@@ -4099,7 +4099,7 @@ EAPI double evas_vg_shape_stroke_location_get(Evas_Vg_Shape *obj); | |||
4099 | * | 4099 | * |
4100 | * @since 1.24 | 4100 | * @since 1.24 |
4101 | */ | 4101 | */ |
4102 | EAPI void evas_vg_shape_stroke_location_set(Evas_Vg_Shape *obj, double centered); | 4102 | EVAS_API void evas_vg_shape_stroke_location_set(Evas_Vg_Shape *obj, double centered); |
4103 | 4103 | ||
4104 | /** | 4104 | /** |
4105 | * @brief Gets the stroke dash type used for stroking path. | 4105 | * @brief Gets the stroke dash type used for stroking path. |
@@ -4110,7 +4110,7 @@ EAPI void evas_vg_shape_stroke_location_set(Evas_Vg_Shape *obj, double centered) | |||
4110 | * | 4110 | * |
4111 | * @since 1.24 | 4111 | * @since 1.24 |
4112 | */ | 4112 | */ |
4113 | EAPI void evas_vg_shape_stroke_dash_get(Evas_Vg_Shape *obj, const Evas_Vg_Dash **dash, unsigned int *length); | 4113 | EVAS_API void evas_vg_shape_stroke_dash_get(Evas_Vg_Shape *obj, const Evas_Vg_Dash **dash, unsigned int *length); |
4114 | 4114 | ||
4115 | /** | 4115 | /** |
4116 | * @brief Sets the stroke dash type to be used for stroking the path. | 4116 | * @brief Sets the stroke dash type to be used for stroking the path. |
@@ -4121,7 +4121,7 @@ EAPI void evas_vg_shape_stroke_dash_get(Evas_Vg_Shape *obj, const Evas_Vg_Dash * | |||
4121 | * | 4121 | * |
4122 | * @since 1.24 | 4122 | * @since 1.24 |
4123 | */ | 4123 | */ |
4124 | EAPI void evas_vg_shape_stroke_dash_set(Evas_Vg_Shape *obj, const Evas_Vg_Dash *dash, unsigned int length); | 4124 | EVAS_API void evas_vg_shape_stroke_dash_set(Evas_Vg_Shape *obj, const Evas_Vg_Dash *dash, unsigned int length); |
4125 | 4125 | ||
4126 | /** | 4126 | /** |
4127 | * @brief Gets the cap style used for stroking path. | 4127 | * @brief |