forked from enlightenment/efl
elementary: Rename EAPI macro to ELM_API in Elementary library
Patch 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 EAPI is the only solution that worked for MSVC. Co-authored-by: João Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com> Co-authored-by: Ricardo Campos <ricardo.campos@expertise.dev> Co-authored-by: Lucas Cavalcante de Sousa <lucks.sousa@gmail.com>
This commit is contained in:
parent
0d39e71f38
commit
a594413ccb
|
@ -25,7 +25,7 @@
|
|||
#endif
|
||||
#include <Efl_Ui.hh>
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc EINA_UNUSED, char* argv[] EINA_UNUSED)
|
||||
{
|
||||
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN);
|
||||
|
|
|
@ -66,49 +66,16 @@
|
|||
#include <Efl_Canvas.h>
|
||||
#include <Efl_Layout.h>
|
||||
|
||||
#ifdef EAPI
|
||||
# undef EAPI
|
||||
#endif
|
||||
#ifdef EWAPI
|
||||
# undef EWAPI
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# ifdef EFL_BUILD
|
||||
# ifdef DLL_EXPORT
|
||||
# define EAPI __declspec(dllexport)
|
||||
# else
|
||||
# define EAPI
|
||||
# endif
|
||||
# else
|
||||
# define EAPI __declspec(dllimport)
|
||||
# endif
|
||||
# define EAPI_WEAK
|
||||
#else
|
||||
# ifdef __GNUC__
|
||||
# if __GNUC__ >= 4
|
||||
# define EAPI __attribute__ ((visibility("default")))
|
||||
# define EAPI_WEAK __attribute__ ((weak))
|
||||
# else
|
||||
# define EAPI
|
||||
# define EAPI_WEAK
|
||||
# endif
|
||||
# else
|
||||
# define EAPI
|
||||
# define EAPI_WEAK
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define EWAPI EAPI EAPI_WEAK
|
||||
#include <elementary_api.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
EAPI extern double _efl_startup_time;
|
||||
ELM_API extern double _efl_startup_time;
|
||||
|
||||
/** Successfully applied the requested style from the current theme. */
|
||||
EAPI extern Eina_Error EFL_UI_THEME_APPLY_ERROR_NONE;
|
||||
ELM_API extern Eina_Error EFL_UI_THEME_APPLY_ERROR_NONE;
|
||||
|
||||
// EO types. Defined for legacy-only builds as legacy uses typedef of EO types.
|
||||
#include "efl_ui.eot.h"
|
||||
|
@ -120,7 +87,7 @@ typedef Eo Efl_Ui_Focus_Manager;
|
|||
# include <efl_ui_focus_object.eo.h>
|
||||
# include <efl_ui_focus_manager.eo.h>
|
||||
# ifdef EFL_BETA_API_SUPPORT
|
||||
EAPI void efl_ui_focus_relation_free(Efl_Ui_Focus_Relations *rel);
|
||||
ELM_API void efl_ui_focus_relation_free(Efl_Ui_Focus_Relations *rel);
|
||||
# endif
|
||||
# include <efl_ui_focus_manager_window_root.eo.h>
|
||||
# include <efl_ui_focus_manager_calc.eo.h>
|
||||
|
@ -193,7 +160,7 @@ EAPI void efl_ui_focus_relation_free(Efl_Ui_Focus_Relations *rel);
|
|||
*
|
||||
* @ingroup Efl_Ui_Win
|
||||
*/
|
||||
EAPI void efl_ui_win_autodel_set(Efl_Ui_Win *obj, Eina_Bool autodel);
|
||||
ELM_API void efl_ui_win_autodel_set(Efl_Ui_Win *obj, Eina_Bool autodel);
|
||||
|
||||
/**
|
||||
* @brief Get the window's autodel state.
|
||||
|
@ -206,7 +173,7 @@ EAPI void efl_ui_win_autodel_set(Efl_Ui_Win *obj, Eina_Bool autodel);
|
|||
*
|
||||
* @ingroup Efl_Ui_Win
|
||||
*/
|
||||
EAPI Eina_Bool efl_ui_win_autodel_get(const Efl_Ui_Win *obj);
|
||||
ELM_API Eina_Bool efl_ui_win_autodel_get(const Efl_Ui_Win *obj);
|
||||
#endif
|
||||
# include <efl_ui_win_inlined.eo.h>
|
||||
# include <efl_ui_win_socket.eo.h>
|
||||
|
@ -348,7 +315,7 @@ typedef Eo Efl_Ui_Spotlight_Indicator;
|
|||
* @see elm_shutdown().
|
||||
* @ingroup Elm_General
|
||||
*/
|
||||
EAPI int elm_init(int argc, char **argv);
|
||||
ELM_API int elm_init(int argc, char **argv);
|
||||
|
||||
/**
|
||||
* Shut down Elementary
|
||||
|
@ -368,15 +335,12 @@ EAPI int elm_init(int argc, char **argv);
|
|||
*
|
||||
* @ingroup Elm_General
|
||||
*/
|
||||
EAPI int elm_shutdown(void);
|
||||
ELM_API int elm_shutdown(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#undef EAPI
|
||||
#define EAPI
|
||||
|
||||
#endif
|
||||
|
||||
// We are including efl_general.h again, just in case Efl_Core.h was already included before this
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
/* Options which can be enabled or disabled by the buildtool */
|
||||
#include "Elementary_Options.h"
|
||||
|
||||
#include <elementary_api.h>
|
||||
|
||||
/* Standard headers for standard system calls etc. */
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -77,47 +79,7 @@
|
|||
#include <EMap.h>
|
||||
#endif
|
||||
|
||||
#ifdef EAPI
|
||||
# undef EAPI
|
||||
#endif
|
||||
#ifdef EWAPI
|
||||
# undef EWAPI
|
||||
#endif
|
||||
#ifdef EAPI_WEAK
|
||||
# undef EAPI_WEAK
|
||||
#endif
|
||||
#ifdef EOAPI
|
||||
# undef EOAPI
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# ifdef EFL_BUILD
|
||||
# ifdef DLL_EXPORT
|
||||
# define EAPI __declspec(dllexport)
|
||||
# else
|
||||
# define EAPI
|
||||
# endif
|
||||
# else
|
||||
# define EAPI __declspec(dllimport)
|
||||
# endif
|
||||
# define EAPI_WEAK
|
||||
#else
|
||||
# ifdef __GNUC__
|
||||
# if __GNUC__ >= 4
|
||||
# define EAPI __attribute__ ((visibility("default")))
|
||||
# define EAPI_WEAK __attribute__ ((weak))
|
||||
# else
|
||||
# define EAPI
|
||||
# define EAPI_WEAK
|
||||
# endif
|
||||
# else
|
||||
# define EAPI
|
||||
# define EAPI_WEAK
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define EWAPI EAPI EAPI_WEAK
|
||||
#define EOAPI EAPI
|
||||
#include "elementary_api.h"
|
||||
|
||||
/* allow usage from c++ */
|
||||
#ifdef __cplusplus
|
||||
|
@ -146,7 +108,7 @@ typedef struct _Elm_Version
|
|||
*
|
||||
* @ingroup Elm_General
|
||||
*/
|
||||
EAPI extern Elm_Version *elm_version;
|
||||
ELM_API extern Elm_Version *elm_version;
|
||||
|
||||
|
||||
/* include these first for general used definitions */
|
||||
|
@ -283,9 +245,4 @@ EAPI extern Elm_Version *elm_version;
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifndef EFL_BUILD
|
||||
# undef EAPI
|
||||
# define EAPI
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -411,7 +411,7 @@ _efl_access_object_relations_get(const Eo *obj EINA_UNUSED, Efl_Access_Object_Da
|
|||
return eina_list_iterator_new(pd->relations);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
efl_access_attribute_free(Efl_Access_Attribute *attr)
|
||||
{
|
||||
eina_stringshare_del(attr->key);
|
||||
|
@ -419,7 +419,7 @@ efl_access_attribute_free(Efl_Access_Attribute *attr)
|
|||
free(attr);
|
||||
}
|
||||
|
||||
EAPI void efl_access_attributes_list_free(Eina_List *list)
|
||||
ELM_API void efl_access_attributes_list_free(Eina_List *list)
|
||||
{
|
||||
Efl_Access_Attribute *attr;
|
||||
EINA_LIST_FREE(list, attr)
|
||||
|
|
|
@ -22,12 +22,12 @@
|
|||
/**
|
||||
* Free Efl_Access_Attributes_List
|
||||
*/
|
||||
EAPI void efl_access_attributes_list_free(Eina_List *list);
|
||||
ELM_API void efl_access_attributes_list_free(Eina_List *list);
|
||||
|
||||
/**
|
||||
* Free the Efl_Access_Attribute type
|
||||
*/
|
||||
EAPI void
|
||||
ELM_API void
|
||||
efl_access_attribute_free(Efl_Access_Attribute *attr);
|
||||
|
||||
/**
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include "elm_priv.h"
|
||||
|
||||
void
|
||||
EAPI elm_atspi_text_text_attribute_free(Efl_Access_Text_Attribute *attr)
|
||||
ELM_API elm_atspi_text_text_attribute_free(Efl_Access_Text_Attribute *attr)
|
||||
{
|
||||
if (!attr) return;
|
||||
if (attr->name) eina_stringshare_del(attr->name);
|
||||
|
@ -15,7 +15,7 @@ EAPI elm_atspi_text_text_attribute_free(Efl_Access_Text_Attribute *attr)
|
|||
free(attr);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_atspi_text_text_range_free(Efl_Access_Text_Range *range)
|
||||
{
|
||||
free((char*)range->content);
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
/**
|
||||
* @brief Free Efl_Access_Text_Attribute structure
|
||||
*/
|
||||
EAPI void elm_atspi_text_text_attribute_free(Efl_Access_Text_Attribute *attr);
|
||||
ELM_API void elm_atspi_text_text_attribute_free(Efl_Access_Text_Attribute *attr);
|
||||
|
||||
/**
|
||||
* @brief Free Efl_Access_Text_Range structure
|
||||
*/
|
||||
EAPI void elm_atspi_text_text_range_free(Efl_Access_Text_Range *range);
|
||||
ELM_API void elm_atspi_text_text_range_free(Efl_Access_Text_Range *range);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -78,7 +78,7 @@ _efl_ui_bg_efl_object_destructor(Eo *obj, Efl_Ui_Bg_Data *sd)
|
|||
efl_destructor(efl_super(obj, MY_CLASS));
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_bg_option_set(Evas_Object *obj, Elm_Bg_Option option)
|
||||
{
|
||||
Efl_Gfx_Image_Scale_Method type;
|
||||
|
@ -104,7 +104,7 @@ elm_bg_option_set(Evas_Object *obj, Elm_Bg_Option option)
|
|||
efl_gfx_image_scale_method_set(obj, type);
|
||||
}
|
||||
|
||||
EAPI Elm_Bg_Option
|
||||
ELM_API Elm_Bg_Option
|
||||
elm_bg_option_get(const Evas_Object *obj)
|
||||
{
|
||||
Efl_Gfx_Image_Scale_Method type;
|
||||
|
@ -134,7 +134,7 @@ elm_bg_option_get(const Evas_Object *obj)
|
|||
return option;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_bg_color_set(Evas_Object *obj,
|
||||
int r,
|
||||
int g,
|
||||
|
@ -158,7 +158,7 @@ _efl_ui_bg_efl_gfx_color_color_set(Eo *obj, Efl_Ui_Bg_Data *sd, int r, int g, in
|
|||
efl_gfx_color_set(sd->rect, r, g, b, a);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_bg_color_get(const Evas_Object *obj,
|
||||
int *r,
|
||||
int *g,
|
||||
|
@ -177,14 +177,14 @@ _efl_ui_bg_efl_gfx_color_color_get(const Eo *obj, Efl_Ui_Bg_Data *sd, int *r, in
|
|||
efl_gfx_color_get(sd->rect, r, g, b, a);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_bg_load_size_set(Evas_Object *obj, int w, int h)
|
||||
{
|
||||
EFL_UI_BG_DATA_GET_OR_RETURN(obj, sd);
|
||||
efl_gfx_image_load_controller_load_size_set(sd->img, EINA_SIZE2D(w, h));
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_bg_file_set(Eo *obj, const char *file, const char *group)
|
||||
{
|
||||
EFL_UI_BG_DATA_GET_OR_RETURN_VAL(obj, sd, EINA_FALSE);
|
||||
|
@ -222,7 +222,7 @@ _efl_ui_bg_efl_file_key_set(Eo *obj EINA_UNUSED, Efl_Ui_Bg_Data *sd, const char
|
|||
efl_file_key_set(sd->img, key);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_bg_file_get(const Eo *obj, const char **file, const char **group)
|
||||
{
|
||||
efl_file_simple_get((Eo *) obj, file, group);
|
||||
|
@ -300,7 +300,7 @@ _efl_ui_bg_legacy_efl_object_constructor(Eo *obj, void *_pd EINA_UNUSED)
|
|||
return obj;
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_bg_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
|
|
@ -26,7 +26,7 @@ typedef Eo Efl_Ui_Bg_Legacy;
|
|||
*/
|
||||
#define EFL_UI_BG_LEGACY_CLASS efl_ui_bg_legacy_class_get()
|
||||
|
||||
EWAPI const Efl_Class *efl_ui_bg_legacy_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *efl_ui_bg_legacy_class_get(void) EINA_CONST;
|
||||
#endif /* EFL_BETA_API_SUPPORT */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -336,37 +336,37 @@ ELM_WIDGET_KEY_DOWN_DEFAULT_IMPLEMENT(efl_ui_button, Efl_Ui_Button_Data)
|
|||
ELM_PART_TEXT_DEFAULT_IMPLEMENT(efl_ui_button, Efl_Ui_Button_Data)
|
||||
ELM_PART_CONTENT_DEFAULT_IMPLEMENT(efl_ui_button, Efl_Ui_Button_Data)
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_button_autorepeat_initial_timeout_set(Evas_Object *obj, double t)
|
||||
{
|
||||
efl_ui_autorepeat_initial_timeout_set(obj, t);
|
||||
}
|
||||
|
||||
EAPI double
|
||||
ELM_API double
|
||||
elm_button_autorepeat_initial_timeout_get(const Evas_Object *obj)
|
||||
{
|
||||
return efl_ui_autorepeat_initial_timeout_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_button_autorepeat_gap_timeout_set(Evas_Object *obj, double t)
|
||||
{
|
||||
efl_ui_autorepeat_gap_timeout_set(obj, t);
|
||||
}
|
||||
|
||||
EAPI double
|
||||
ELM_API double
|
||||
elm_button_autorepeat_gap_timeout_get(const Evas_Object *obj)
|
||||
{
|
||||
return efl_ui_autorepeat_gap_timeout_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_button_autorepeat_set(Evas_Object *obj, Eina_Bool on)
|
||||
{
|
||||
efl_ui_autorepeat_enabled_set(obj, on);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_button_autorepeat_get(const Evas_Object *obj)
|
||||
{
|
||||
return efl_ui_autorepeat_enabled_get(obj);
|
||||
|
@ -455,7 +455,7 @@ ELM_PART_OVERRIDE_CONTENT_SET_NO_SD(efl_ui_button_legacy)
|
|||
|
||||
/* Efl.Part end */
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_button_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
|
|
@ -24,7 +24,7 @@ typedef Eo Efl_Ui_Button_Legacy;
|
|||
*/
|
||||
#define EFL_UI_BUTTON_LEGACY_CLASS efl_ui_button_legacy_class_get()
|
||||
|
||||
EWAPI const Efl_Class *efl_ui_button_legacy_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *efl_ui_button_legacy_class_get(void) EINA_CONST;
|
||||
#endif /* EFL_BETA_API_SUPPORT */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -368,7 +368,7 @@ _efl_ui_check_efl_object_constructor(Eo *obj, Efl_Ui_Check_Data *pd EINA_UNUSED)
|
|||
return obj;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_check_state_set(Evas_Object *obj, Eina_Bool state)
|
||||
{
|
||||
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
|
||||
|
@ -377,13 +377,13 @@ elm_check_state_set(Evas_Object *obj, Eina_Bool state)
|
|||
efl_ui_selectable_selected_set(obj, state);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_check_state_get(const Evas_Object *obj)
|
||||
{
|
||||
return !!efl_ui_selectable_selected_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_check_state_pointer_set(Eo *obj, Eina_Bool *statep)
|
||||
{
|
||||
EFL_UI_CHECK_DATA_GET_OR_RETURN(obj, sd);
|
||||
|
@ -512,7 +512,7 @@ ELM_PART_OVERRIDE_CONTENT_SET_NO_SD(efl_ui_check_legacy)
|
|||
|
||||
/* Efl.Part end */
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_check_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_check_selected_set(Efl_Ui_Check *obj, Eina_Bool value)
|
||||
{
|
||||
efl_ui_selectable_selected_set(obj, value);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_check_selected_get(const Efl_Ui_Check *obj)
|
||||
{
|
||||
return efl_ui_selectable_selected_get(obj);
|
||||
|
|
|
@ -22,7 +22,7 @@ typedef Eo Efl_Ui_Check;
|
|||
*
|
||||
* @ingroup Elm_Check_Group
|
||||
*/
|
||||
EAPI void elm_check_selected_set(Efl_Ui_Check *obj, Eina_Bool value);
|
||||
ELM_API void elm_check_selected_set(Efl_Ui_Check *obj, Eina_Bool value);
|
||||
|
||||
/**
|
||||
* @brief The on/off state of the check object.
|
||||
|
@ -33,6 +33,6 @@ EAPI void elm_check_selected_set(Efl_Ui_Check *obj, Eina_Bool value);
|
|||
*
|
||||
* @ingroup Elm_Check_Group
|
||||
*/
|
||||
EAPI Eina_Bool elm_check_selected_get(const Efl_Ui_Check *obj);
|
||||
ELM_API Eina_Bool elm_check_selected_get(const Efl_Ui_Check *obj);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -26,7 +26,7 @@ typedef Eo Efl_Ui_Check_Legacy;
|
|||
*/
|
||||
#define EFL_UI_CHECK_LEGACY_CLASS efl_ui_check_legacy_class_get()
|
||||
|
||||
EWAPI const Efl_Class *efl_ui_check_legacy_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *efl_ui_check_legacy_class_get(void) EINA_CONST;
|
||||
#endif /* EFL_BETA_API_SUPPORT */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1872,7 +1872,7 @@ _efl_ui_flip_front_visible_get(const Eo *obj EINA_UNUSED, Efl_Ui_Flip_Data *sd)
|
|||
return sd->state;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_flip_perspective_set(Evas_Object *obj,
|
||||
Evas_Coord foc EINA_UNUSED,
|
||||
Evas_Coord x EINA_UNUSED,
|
||||
|
@ -2294,28 +2294,28 @@ _efl_ui_flip_efl_pack_linear_pack_index_get(Eo *obj EINA_UNUSED, Efl_Ui_Flip_Dat
|
|||
return eina_list_data_idx(pd->content_list, (void *)subobj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_flip_interaction_direction_hitsize_set(Efl_Ui_Flip *obj, Elm_Flip_Direction dir, double hitsize)
|
||||
{
|
||||
Efl_Ui_Layout_Orientation uidir = _flip_dir_to_efl_ui_dir(dir);
|
||||
efl_ui_flip_interaction_direction_hitsize_set(obj, uidir, hitsize);
|
||||
}
|
||||
|
||||
EAPI double
|
||||
ELM_API double
|
||||
elm_flip_interaction_direction_hitsize_get(Efl_Ui_Flip *obj, Elm_Flip_Direction dir)
|
||||
{
|
||||
Efl_Ui_Layout_Orientation uidir = _flip_dir_to_efl_ui_dir(dir);
|
||||
return efl_ui_flip_interaction_direction_hitsize_get(obj, uidir);
|
||||
}
|
||||
|
||||
EOAPI void
|
||||
ELM_API ELM_API_WEAK void
|
||||
elm_flip_interaction_direction_enabled_set(Efl_Ui_Flip *obj, Elm_Flip_Direction dir, Eina_Bool enabled)
|
||||
{
|
||||
Efl_Ui_Layout_Orientation uidir = _flip_dir_to_efl_ui_dir(dir);
|
||||
efl_ui_flip_interaction_direction_enabled_set(obj, uidir, enabled);
|
||||
}
|
||||
|
||||
EOAPI Eina_Bool
|
||||
ELM_API ELM_API_WEAK Eina_Bool
|
||||
elm_flip_interaction_direction_enabled_get(Efl_Ui_Flip *obj, Elm_Flip_Direction dir)
|
||||
{
|
||||
Efl_Ui_Layout_Orientation uidir = _flip_dir_to_efl_ui_dir(dir);
|
||||
|
@ -2366,7 +2366,7 @@ _efl_ui_flip_legacy_efl_object_constructor(Eo *obj, void *pd EINA_UNUSED)
|
|||
return obj;
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_flip_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
|
|
@ -1,29 +1,29 @@
|
|||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_flip_interaction_set(Elm_Flip *obj, Elm_Flip_Interaction mode)
|
||||
{
|
||||
efl_ui_flip_interaction_set(obj, (Efl_Ui_Flip_Interaction)mode);
|
||||
}
|
||||
|
||||
EAPI Elm_Flip_Interaction
|
||||
ELM_API Elm_Flip_Interaction
|
||||
elm_flip_interaction_get(const Elm_Flip *obj)
|
||||
{
|
||||
return (Elm_Flip_Interaction)efl_ui_flip_interaction_get(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_flip_front_visible_get(const Elm_Flip *obj)
|
||||
{
|
||||
return efl_ui_flip_front_visible_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_flip_go(Elm_Flip *obj, Elm_Flip_Mode mode)
|
||||
{
|
||||
efl_ui_flip_go(obj, (Efl_Ui_Flip_Mode)mode);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_flip_go_to(Elm_Flip *obj, Eina_Bool front, Elm_Flip_Mode mode)
|
||||
{
|
||||
efl_ui_flip_go_to(obj, front, (Efl_Ui_Flip_Mode)mode);
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
*
|
||||
* @ingroup Elm_Flip_Group
|
||||
*/
|
||||
EAPI void elm_flip_interaction_set(Eo *obj, Elm_Flip_Interaction mode);
|
||||
ELM_API void elm_flip_interaction_set(Eo *obj, Elm_Flip_Interaction mode);
|
||||
|
||||
/**
|
||||
* @brief Get the interactive flip mode.
|
||||
|
@ -35,7 +35,7 @@ EAPI void elm_flip_interaction_set(Eo *obj, Elm_Flip_Interaction mode);
|
|||
*
|
||||
* @ingroup Elm_Flip_Group
|
||||
*/
|
||||
EAPI Elm_Flip_Interaction elm_flip_interaction_get(const Eo *obj);
|
||||
ELM_API Elm_Flip_Interaction elm_flip_interaction_get(const Eo *obj);
|
||||
|
||||
/**
|
||||
* @brief Get flip front visibility state.
|
||||
|
@ -46,7 +46,7 @@ EAPI Elm_Flip_Interaction elm_flip_interaction_get(const Eo *obj);
|
|||
*
|
||||
* @ingroup Elm_Flip_Group
|
||||
*/
|
||||
EAPI Eina_Bool elm_flip_front_visible_get(const Eo *obj);
|
||||
ELM_API Eina_Bool elm_flip_front_visible_get(const Eo *obj);
|
||||
|
||||
|
||||
|
||||
|
@ -93,7 +93,7 @@ EAPI Eina_Bool elm_flip_front_visible_get(const Eo *obj);
|
|||
*
|
||||
* @ingroup Elm_Flip_Group
|
||||
*/
|
||||
EAPI void elm_flip_go(Eo *obj, Elm_Flip_Mode mode);
|
||||
ELM_API void elm_flip_go(Eo *obj, Elm_Flip_Mode mode);
|
||||
|
||||
/**
|
||||
* @brief Runs the flip animation to front or back.
|
||||
|
@ -135,6 +135,6 @@ EAPI void elm_flip_go(Eo *obj, Elm_Flip_Mode mode);
|
|||
*
|
||||
* @ingroup Elm_Flip_Group
|
||||
*/
|
||||
EAPI void elm_flip_go_to(Eo *obj, Eina_Bool front, Elm_Flip_Mode mode);
|
||||
ELM_API void elm_flip_go_to(Eo *obj, Eina_Bool front, Elm_Flip_Mode mode);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -69,7 +69,7 @@ typedef enum
|
|||
*
|
||||
* @ingroup Elm_Flip
|
||||
*/
|
||||
EAPI void elm_flip_interaction_direction_hitsize_set(Elm_Flip *obj, Elm_Flip_Direction dir, double hitsize);
|
||||
ELM_API void elm_flip_interaction_direction_hitsize_set(Elm_Flip *obj, Elm_Flip_Direction dir, double hitsize);
|
||||
|
||||
/**
|
||||
* @brief Get the amount of the flip that is sensitive to interactive flip.
|
||||
|
@ -80,7 +80,7 @@ EAPI void elm_flip_interaction_direction_hitsize_set(Elm_Flip *obj, Elm_Flip_Dir
|
|||
*
|
||||
* @ingroup Elm_Flip
|
||||
*/
|
||||
EAPI double elm_flip_interaction_direction_hitsize_get(Elm_Flip *obj, Elm_Flip_Direction dir);
|
||||
ELM_API double elm_flip_interaction_direction_hitsize_get(Elm_Flip *obj, Elm_Flip_Direction dir);
|
||||
|
||||
/**
|
||||
* @brief Set which directions of the flip respond to interactive flip
|
||||
|
@ -97,7 +97,7 @@ EAPI double elm_flip_interaction_direction_hitsize_get(Elm_Flip *obj, Elm_Flip_D
|
|||
*
|
||||
* @ingroup Elm_Flip
|
||||
*/
|
||||
EAPI void elm_flip_interaction_direction_enabled_set(Elm_Flip *obj, Elm_Flip_Direction dir, Eina_Bool enabled);
|
||||
ELM_API void elm_flip_interaction_direction_enabled_set(Elm_Flip *obj, Elm_Flip_Direction dir, Eina_Bool enabled);
|
||||
|
||||
/**
|
||||
* @brief Get the enabled state of that flip direction.
|
||||
|
@ -108,7 +108,7 @@ EAPI void elm_flip_interaction_direction_enabled_set(Elm_Flip *obj, Elm_Flip_Dir
|
|||
*
|
||||
* @ingroup Elm_Flip
|
||||
*/
|
||||
EAPI Eina_Bool elm_flip_interaction_direction_enabled_get(Elm_Flip *obj, Elm_Flip_Direction dir);
|
||||
ELM_API Eina_Bool elm_flip_interaction_direction_enabled_get(Elm_Flip *obj, Elm_Flip_Direction dir);
|
||||
|
||||
/**
|
||||
* @brief Add a new flip to the parent
|
||||
|
@ -118,7 +118,7 @@ EAPI Eina_Bool elm_flip_interaction_direction_enabled_get(Elm_Flip *obj, Elm_Fli
|
|||
*
|
||||
* @ingroup Elm_Flip
|
||||
*/
|
||||
EAPI Evas_Object *elm_flip_add(Evas_Object *parent);
|
||||
ELM_API Evas_Object *elm_flip_add(Evas_Object *parent);
|
||||
|
||||
/**
|
||||
* @brief Set flip perspective
|
||||
|
@ -132,5 +132,5 @@ EAPI Evas_Object *elm_flip_add(Evas_Object *parent);
|
|||
*
|
||||
* @ingroup Elm_Flip
|
||||
*/
|
||||
EAPI void elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y);
|
||||
ELM_API void elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y);
|
||||
#include "efl_ui_flip_eo.legacy.h"
|
||||
|
|
|
@ -20,7 +20,7 @@ typedef Eo Efl_Ui_Flip_Legacy;
|
|||
*/
|
||||
#define EFL_UI_FLIP_LEGACY_CLASS efl_ui_flip_legacy_class_get()
|
||||
|
||||
EWAPI const Efl_Class *efl_ui_flip_legacy_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *efl_ui_flip_legacy_class_get(void) EINA_CONST;
|
||||
#endif /* EFL_BETA_API_SUPPORT */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include <Elementary.h>
|
||||
#include "elm_priv.h"
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
efl_ui_focus_relation_free(Efl_Ui_Focus_Relations *rel)
|
||||
{
|
||||
eina_iterator_free(rel->right);
|
||||
|
|
|
@ -2094,7 +2094,7 @@ _efl_ui_focus_manager_calc_update_children_ownership_fallback(Efl_Ui_Focus_Objec
|
|||
eina_list_free(children);
|
||||
}
|
||||
|
||||
EOAPI EFL_FUNC_BODYV_FALLBACK(efl_ui_focus_manager_calc_update_children, Eina_Bool, 0, _efl_ui_focus_manager_calc_update_children_ownership_fallback(parent, children);, EFL_FUNC_CALL(parent, children), Efl_Ui_Focus_Object *parent, Eina_List *children);
|
||||
ELM_API ELM_API_WEAK EFL_FUNC_BODYV_FALLBACK(efl_ui_focus_manager_calc_update_children, Eina_Bool, 0, _efl_ui_focus_manager_calc_update_children_ownership_fallback(parent, children);, EFL_FUNC_CALL(parent, children), Efl_Ui_Focus_Object *parent, Eina_List *children);
|
||||
|
||||
static void
|
||||
_efl_ui_focus_manager_calc_update_order_ownership_fallback(Efl_Ui_Focus_Object *parent, Eina_List *children)
|
||||
|
@ -2103,7 +2103,7 @@ _efl_ui_focus_manager_calc_update_order_ownership_fallback(Efl_Ui_Focus_Object *
|
|||
eina_list_free(children);
|
||||
}
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV_FALLBACK(efl_ui_focus_manager_calc_update_order, _efl_ui_focus_manager_calc_update_order_ownership_fallback(parent, children);, EFL_FUNC_CALL(parent, children), Efl_Ui_Focus_Object *parent, Eina_List *children);
|
||||
ELM_API ELM_API_WEAK EFL_VOID_FUNC_BODYV_FALLBACK(efl_ui_focus_manager_calc_update_order, _efl_ui_focus_manager_calc_update_order_ownership_fallback(parent, children);, EFL_FUNC_CALL(parent, children), Efl_Ui_Focus_Object *parent, Eina_List *children);
|
||||
|
||||
#define EFL_UI_FOCUS_MANAGER_CALC_EXTRA_OPS \
|
||||
EFL_OBJECT_OP_FUNC(efl_dbg_info_get, _efl_ui_focus_manager_calc_efl_object_dbg_info_get), \
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
|
||||
void _efl_ui_focus_parent_provider_gen_content_item_map_set(Eo *obj, Efl_Ui_Focus_Parent_Provider_Gen_Data *pd, Eina_Hash *map);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(efl_ui_focus_parent_provider_gen_content_item_map_set, EFL_FUNC_CALL(map), Eina_Hash *map);
|
||||
ELM_API ELM_API_WEAK EFL_VOID_FUNC_BODYV(efl_ui_focus_parent_provider_gen_content_item_map_set, EFL_FUNC_CALL(map), Eina_Hash *map);
|
||||
|
||||
Eina_Hash *_efl_ui_focus_parent_provider_gen_content_item_map_get(const Eo *obj, Efl_Ui_Focus_Parent_Provider_Gen_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(efl_ui_focus_parent_provider_gen_content_item_map_get, Eina_Hash *, NULL);
|
||||
ELM_API ELM_API_WEAK EFL_FUNC_BODY_CONST(efl_ui_focus_parent_provider_gen_content_item_map_get, Eina_Hash *, NULL);
|
||||
|
||||
void _efl_ui_focus_parent_provider_gen_container_set(Eo *obj, Efl_Ui_Focus_Parent_Provider_Gen_Data *pd, Efl_Ui_Widget *container);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(efl_ui_focus_parent_provider_gen_container_set, EFL_FUNC_CALL(container), Efl_Ui_Widget *container);
|
||||
ELM_API ELM_API_WEAK EFL_VOID_FUNC_BODYV(efl_ui_focus_parent_provider_gen_container_set, EFL_FUNC_CALL(container), Efl_Ui_Widget *container);
|
||||
|
||||
Efl_Ui_Widget *_efl_ui_focus_parent_provider_gen_container_get(const Eo *obj, Efl_Ui_Focus_Parent_Provider_Gen_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(efl_ui_focus_parent_provider_gen_container_get, Efl_Ui_Widget *, NULL);
|
||||
ELM_API ELM_API_WEAK EFL_FUNC_BODY_CONST(efl_ui_focus_parent_provider_gen_container_get, Efl_Ui_Widget *, NULL);
|
||||
|
||||
Efl_Ui_Widget *_efl_ui_focus_parent_provider_gen_item_fetch(Eo *obj, Efl_Ui_Focus_Parent_Provider_Gen_Data *pd, Efl_Ui_Widget *widget);
|
||||
|
||||
EOAPI EFL_FUNC_BODYV(efl_ui_focus_parent_provider_gen_item_fetch, Efl_Ui_Widget *, NULL, EFL_FUNC_CALL(widget), Efl_Ui_Widget *widget);
|
||||
ELM_API ELM_API_WEAK EFL_FUNC_BODYV(efl_ui_focus_parent_provider_gen_item_fetch, Efl_Ui_Widget *, NULL, EFL_FUNC_CALL(widget), Efl_Ui_Widget *widget);
|
||||
|
||||
Efl_Ui_Focus_Object *_efl_ui_focus_parent_provider_gen_efl_ui_focus_parent_provider_find_logical_parent(Eo *obj, Efl_Ui_Focus_Parent_Provider_Gen_Data *pd, Efl_Ui_Focus_Object *widget);
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ typedef Eo Efl_Ui_Focus_Parent_Provider_Gen;
|
|||
*/
|
||||
#define EFL_UI_FOCUS_PARENT_PROVIDER_GEN_CLASS efl_ui_focus_parent_provider_gen_class_get()
|
||||
|
||||
EWAPI const Efl_Class *efl_ui_focus_parent_provider_gen_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *efl_ui_focus_parent_provider_gen_class_get(void) EINA_CONST;
|
||||
|
||||
/**
|
||||
* @brief Content item map property
|
||||
|
@ -30,7 +30,7 @@ EWAPI const Efl_Class *efl_ui_focus_parent_provider_gen_class_get(void) EINA_CON
|
|||
*
|
||||
* @ingroup Efl_Ui_Focus_Parent_Provider_Gen
|
||||
*/
|
||||
EOAPI void efl_ui_focus_parent_provider_gen_content_item_map_set(Eo *obj, Eina_Hash *map);
|
||||
ELM_API ELM_API_WEAK void efl_ui_focus_parent_provider_gen_content_item_map_set(Eo *obj, Eina_Hash *map);
|
||||
|
||||
/**
|
||||
* @brief Content item map property
|
||||
|
@ -41,7 +41,7 @@ EOAPI void efl_ui_focus_parent_provider_gen_content_item_map_set(Eo *obj, Eina_H
|
|||
*
|
||||
* @ingroup Efl_Ui_Focus_Parent_Provider_Gen
|
||||
*/
|
||||
EOAPI Eina_Hash *efl_ui_focus_parent_provider_gen_content_item_map_get(const Eo *obj);
|
||||
ELM_API ELM_API_WEAK Eina_Hash *efl_ui_focus_parent_provider_gen_content_item_map_get(const Eo *obj);
|
||||
|
||||
/**
|
||||
* @brief Container property
|
||||
|
@ -51,7 +51,7 @@ EOAPI Eina_Hash *efl_ui_focus_parent_provider_gen_content_item_map_get(const Eo
|
|||
*
|
||||
* @ingroup Efl_Ui_Focus_Parent_Provider_Gen
|
||||
*/
|
||||
EOAPI void efl_ui_focus_parent_provider_gen_container_set(Eo *obj, Efl_Ui_Widget *container);
|
||||
ELM_API ELM_API_WEAK void efl_ui_focus_parent_provider_gen_container_set(Eo *obj, Efl_Ui_Widget *container);
|
||||
|
||||
/**
|
||||
* @brief Container property
|
||||
|
@ -62,7 +62,7 @@ EOAPI void efl_ui_focus_parent_provider_gen_container_set(Eo *obj, Efl_Ui_Widget
|
|||
*
|
||||
* @ingroup Efl_Ui_Focus_Parent_Provider_Gen
|
||||
*/
|
||||
EOAPI Efl_Ui_Widget *efl_ui_focus_parent_provider_gen_container_get(const Eo *obj);
|
||||
ELM_API ELM_API_WEAK Efl_Ui_Widget *efl_ui_focus_parent_provider_gen_container_get(const Eo *obj);
|
||||
|
||||
/**
|
||||
* @brief Fetch the item where the item is a subchild from
|
||||
|
@ -72,7 +72,7 @@ EOAPI Efl_Ui_Widget *efl_ui_focus_parent_provider_gen_container_get(const Eo *ob
|
|||
*
|
||||
* @ingroup Efl_Ui_Focus_Parent_Provider_Gen
|
||||
*/
|
||||
EOAPI Efl_Ui_Widget *efl_ui_focus_parent_provider_gen_item_fetch(Eo *obj, Efl_Ui_Widget *widget);
|
||||
ELM_API ELM_API_WEAK Efl_Ui_Widget *efl_ui_focus_parent_provider_gen_item_fetch(Eo *obj, Efl_Ui_Widget *widget);
|
||||
#endif /* EFL_BETA_API_SUPPORT */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -258,7 +258,7 @@ _efl_ui_frame_legacy_efl_object_constructor(Eo *obj, void *_pd EINA_UNUSED)
|
|||
return obj;
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_frame_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
|
|
@ -1,29 +1,29 @@
|
|||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_frame_collapse_set(Efl_Ui_Frame *obj, Eina_Bool collapse)
|
||||
{
|
||||
efl_ui_frame_collapse_set(obj, collapse);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_frame_collapse_get(const Efl_Ui_Frame *obj)
|
||||
{
|
||||
return efl_ui_frame_collapse_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_frame_autocollapse_set(Efl_Ui_Frame *obj, Eina_Bool autocollapse)
|
||||
{
|
||||
efl_ui_frame_autocollapse_set(obj, autocollapse);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_frame_autocollapse_get(const Efl_Ui_Frame *obj)
|
||||
{
|
||||
return efl_ui_frame_autocollapse_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_frame_collapse_go(Efl_Ui_Frame *obj, Eina_Bool collapse)
|
||||
{
|
||||
efl_ui_frame_collapse_go(obj, collapse);
|
||||
|
|
|
@ -23,7 +23,7 @@ typedef Eo Efl_Ui_Frame;
|
|||
*
|
||||
* @ingroup Elm_Frame_Group
|
||||
*/
|
||||
EAPI void elm_frame_collapse_set(Efl_Ui_Frame *obj, Eina_Bool collapse);
|
||||
ELM_API void elm_frame_collapse_set(Efl_Ui_Frame *obj, Eina_Bool collapse);
|
||||
|
||||
/**
|
||||
* @brief Determine the collapse state of a frame Use this to determine the
|
||||
|
@ -35,7 +35,7 @@ EAPI void elm_frame_collapse_set(Efl_Ui_Frame *obj, Eina_Bool collapse);
|
|||
*
|
||||
* @ingroup Elm_Frame_Group
|
||||
*/
|
||||
EAPI Eina_Bool elm_frame_collapse_get(const Efl_Ui_Frame *obj);
|
||||
ELM_API Eina_Bool elm_frame_collapse_get(const Efl_Ui_Frame *obj);
|
||||
|
||||
/**
|
||||
* @brief Toggle autocollapsing of a frame When @c enable is @c true, clicking
|
||||
|
@ -47,7 +47,7 @@ EAPI Eina_Bool elm_frame_collapse_get(const Efl_Ui_Frame *obj);
|
|||
*
|
||||
* @ingroup Elm_Frame_Group
|
||||
*/
|
||||
EAPI void elm_frame_autocollapse_set(Efl_Ui_Frame *obj, Eina_Bool autocollapse);
|
||||
ELM_API void elm_frame_autocollapse_set(Efl_Ui_Frame *obj, Eina_Bool autocollapse);
|
||||
|
||||
/**
|
||||
* @brief Determine autocollapsing of a frame
|
||||
|
@ -62,7 +62,7 @@ EAPI void elm_frame_autocollapse_set(Efl_Ui_Frame *obj, Eina_Bool autocollapse);
|
|||
*
|
||||
* @ingroup Elm_Frame_Group
|
||||
*/
|
||||
EAPI Eina_Bool elm_frame_autocollapse_get(const Efl_Ui_Frame *obj);
|
||||
ELM_API Eina_Bool elm_frame_autocollapse_get(const Efl_Ui_Frame *obj);
|
||||
|
||||
/**
|
||||
* @brief Manually collapse a frame with animations Use this to toggle the
|
||||
|
@ -73,6 +73,6 @@ EAPI Eina_Bool elm_frame_autocollapse_get(const Efl_Ui_Frame *obj);
|
|||
*
|
||||
* @ingroup Elm_Frame_Group
|
||||
*/
|
||||
EAPI void elm_frame_collapse_go(Efl_Ui_Frame *obj, Eina_Bool collapse);
|
||||
ELM_API void elm_frame_collapse_go(Efl_Ui_Frame *obj, Eina_Bool collapse);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -8,6 +8,6 @@ typedef Eo Elm_Frame;
|
|||
*
|
||||
* @ingroup Elm_Frame_Group
|
||||
*/
|
||||
EAPI Evas_Object *elm_frame_add(Evas_Object *parent);
|
||||
ELM_API Evas_Object *elm_frame_add(Evas_Object *parent);
|
||||
|
||||
#include "efl_ui_frame_eo.legacy.h"
|
||||
|
|
|
@ -25,7 +25,7 @@ typedef Eo Efl_Ui_Frame_Legacy;
|
|||
*/
|
||||
#define EFL_UI_FRAME_LEGACY_CLASS efl_ui_frame_legacy_class_get()
|
||||
|
||||
EWAPI const Efl_Class *efl_ui_frame_legacy_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *efl_ui_frame_legacy_class_get(void) EINA_CONST;
|
||||
#endif /* EFL_BETA_API_SUPPORT */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1367,7 +1367,7 @@ _efl_ui_image_efl_file_async_wait(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *
|
|||
* Tizen has used elm_image_async_open_set() internally for a while, despite
|
||||
* EFL upstream not exposing a proper async API. */
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_image_async_open_set(Eo *obj, Eina_Bool async)
|
||||
{
|
||||
Efl_Ui_Image_Data *pd;
|
||||
|
@ -1542,7 +1542,7 @@ _efl_ui_image_efl_gfx_image_image_load_error_get(const Eo *obj EINA_UNUSED, Efl_
|
|||
return efl_gfx_image_load_error_get(pd->img);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_image_prescale_set(Evas_Object *obj,
|
||||
int size)
|
||||
{
|
||||
|
@ -1657,7 +1657,7 @@ _efl_ui_image_efl_gfx_image_load_controller_load_region_support_get(const Eo *ob
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
EAPI int
|
||||
ELM_API int
|
||||
elm_image_prescale_get(const Evas_Object *obj)
|
||||
{
|
||||
Eina_Size2D sz;
|
||||
|
@ -1730,7 +1730,7 @@ _efl_ui_image_efl_ui_draggable_drag_target_get(const Eo *obj EINA_UNUSED, Efl_Ui
|
|||
return sd->edit;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_image_animated_available_get(const Evas_Object *obj)
|
||||
{
|
||||
return efl_playable_get(obj);
|
||||
|
@ -1794,7 +1794,7 @@ _efl_ui_image_animated_get_internal(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Data
|
|||
return sd->anim;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_image_animated_set(Evas_Object *obj, Eina_Bool anim)
|
||||
{
|
||||
Efl_Ui_Image_Data *sd = efl_data_scope_get(obj, MY_CLASS);
|
||||
|
@ -1802,7 +1802,7 @@ elm_image_animated_set(Evas_Object *obj, Eina_Bool anim)
|
|||
_efl_ui_image_animated_set_internal(obj, sd, anim);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_image_animated_get(const Evas_Object *obj)
|
||||
{
|
||||
Efl_Ui_Image_Data *sd = efl_data_scope_get(obj, MY_CLASS);
|
||||
|
@ -1958,7 +1958,7 @@ _efl_ui_image_animated_paused_get_internal(const Eo *obj EINA_UNUSED, Efl_Ui_Ima
|
|||
return sd->paused;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_image_animated_play_set(Elm_Image *obj, Eina_Bool play)
|
||||
{
|
||||
Efl_Ui_Image_Data *sd = efl_data_scope_get(obj, MY_CLASS);
|
||||
|
@ -1966,7 +1966,7 @@ elm_image_animated_play_set(Elm_Image *obj, Eina_Bool play)
|
|||
_efl_ui_image_animated_paused_set_internal(obj, sd, !play);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_image_animated_play_get(const Elm_Image *obj)
|
||||
{
|
||||
Efl_Ui_Image_Data *sd = efl_data_scope_get(obj, MY_CLASS);
|
||||
|
@ -2406,7 +2406,7 @@ _efl_ui_image_efl_ui_property_bind_property_bind(Eo *obj, Efl_Ui_Image_Data *pd,
|
|||
return 0;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth)
|
||||
{
|
||||
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(obj, MY_CLASS));
|
||||
|
@ -2414,7 +2414,7 @@ elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth)
|
|||
efl_canvas_group_change(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_image_smooth_get(const Evas_Object *obj)
|
||||
{
|
||||
EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(obj, MY_CLASS), EINA_FALSE);
|
||||
|
@ -2424,19 +2424,19 @@ elm_image_smooth_get(const Evas_Object *obj)
|
|||
// A11Y - END
|
||||
|
||||
/* Legacy deprecated functions */
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_image_editable_set(Evas_Object *obj, Eina_Bool edit)
|
||||
{
|
||||
efl_ui_draggable_drag_target_set(obj, edit);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_image_editable_get(const Evas_Object *obj)
|
||||
{
|
||||
return efl_ui_draggable_drag_target_get(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_image_file_set(Evas_Object *obj, const char *file, const char *group)
|
||||
{
|
||||
Eina_Bool ret = EINA_FALSE;
|
||||
|
@ -2461,21 +2461,21 @@ elm_image_file_set(Evas_Object *obj, const char *file, const char *group)
|
|||
return ret;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_image_file_get(const Eo *obj, const char **file, const char **group)
|
||||
{
|
||||
EFL_UI_IMAGE_DATA_GET(obj, sd);
|
||||
efl_file_simple_get(sd->img, file, group);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_image_mmap_set(Evas_Object *obj, const Eina_File *file, const char *group)
|
||||
{
|
||||
EFL_UI_IMAGE_CHECK(obj) EINA_FALSE;
|
||||
return efl_file_simple_mmap_load(obj, file, group);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_image_memfile_set(Evas_Object *obj, const void *img, size_t size, const char *format, const char *key)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(img, EINA_FALSE);
|
||||
|
@ -2522,7 +2522,7 @@ elm_image_memfile_set(Evas_Object *obj, const void *img, size_t size, const char
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_image_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside)
|
||||
{
|
||||
EFL_UI_IMAGE_CHECK(obj);
|
||||
|
@ -2544,7 +2544,7 @@ elm_image_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside)
|
|||
efl_canvas_group_change(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_image_fill_outside_get(const Evas_Object *obj)
|
||||
{
|
||||
EFL_UI_IMAGE_CHECK(obj) EINA_FALSE;
|
||||
|
@ -2554,7 +2554,7 @@ elm_image_fill_outside_get(const Evas_Object *obj)
|
|||
}
|
||||
|
||||
// TODO: merge preload and async code
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_image_preload_disabled_set(Evas_Object *obj, Eina_Bool disable)
|
||||
{
|
||||
EFL_UI_IMAGE_CHECK(obj);
|
||||
|
@ -2585,7 +2585,7 @@ elm_image_preload_disabled_set(Evas_Object *obj, Eina_Bool disable)
|
|||
}
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_image_orient_set(Evas_Object *obj, Elm_Image_Orient elm_orient)
|
||||
{
|
||||
// This array takes an Elm_Image_Orient and turns it into an Efl_Gfx_Image_Orientation
|
||||
|
@ -2610,7 +2610,7 @@ elm_image_orient_set(Evas_Object *obj, Elm_Image_Orient elm_orient)
|
|||
if (sd->img) efl_gfx_image_orientation_set(sd->img, efl_orient[elm_orient]);
|
||||
}
|
||||
|
||||
EAPI Elm_Image_Orient
|
||||
ELM_API Elm_Image_Orient
|
||||
elm_image_orient_get(const Evas_Object *obj)
|
||||
{
|
||||
EFL_UI_IMAGE_CHECK(obj) ELM_IMAGE_ORIENT_NONE;
|
||||
|
@ -2619,7 +2619,7 @@ elm_image_orient_get(const Evas_Object *obj)
|
|||
return sd->image_orient;
|
||||
}
|
||||
|
||||
EAPI Evas_Object*
|
||||
ELM_API Evas_Object*
|
||||
elm_image_object_get(const Evas_Object *obj)
|
||||
{
|
||||
EFL_UI_IMAGE_CHECK(obj) NULL;
|
||||
|
@ -2630,7 +2630,7 @@ elm_image_object_get(const Evas_Object *obj)
|
|||
return sd->img;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_image_object_size_get(const Evas_Object *obj, int *w, int *h)
|
||||
{
|
||||
Eina_Size2D sz;
|
||||
|
@ -2639,7 +2639,7 @@ elm_image_object_size_get(const Evas_Object *obj, int *w, int *h)
|
|||
if (h) *h = sz.h;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_image_no_scale_set(Evas_Object *obj, Eina_Bool no_scale)
|
||||
{
|
||||
EFL_UI_IMAGE_CHECK(obj);
|
||||
|
@ -2649,7 +2649,7 @@ elm_image_no_scale_set(Evas_Object *obj, Eina_Bool no_scale)
|
|||
efl_canvas_group_change(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_image_no_scale_get(const Evas_Object *obj)
|
||||
{
|
||||
EFL_UI_IMAGE_CHECK(obj) EINA_FALSE;
|
||||
|
@ -2657,7 +2657,7 @@ elm_image_no_scale_get(const Evas_Object *obj)
|
|||
return sd->no_scale;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_image_resizable_set(Evas_Object *obj, Eina_Bool up, Eina_Bool down)
|
||||
{
|
||||
EFL_UI_IMAGE_CHECK(obj);
|
||||
|
@ -2668,7 +2668,7 @@ elm_image_resizable_set(Evas_Object *obj, Eina_Bool up, Eina_Bool down)
|
|||
efl_canvas_group_change(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_image_resizable_get(const Evas_Object *obj, Eina_Bool *size_up, Eina_Bool *size_down)
|
||||
{
|
||||
EFL_UI_IMAGE_CHECK(obj);
|
||||
|
@ -2677,7 +2677,7 @@ elm_image_resizable_get(const Evas_Object *obj, Eina_Bool *size_up, Eina_Bool *s
|
|||
if (size_down) *size_down = sd->scale_down;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_image_aspect_fixed_set(Evas_Object *obj, Eina_Bool fixed)
|
||||
{
|
||||
EFL_UI_IMAGE_CHECK(obj);
|
||||
|
@ -2698,7 +2698,7 @@ elm_image_aspect_fixed_set(Evas_Object *obj, Eina_Bool fixed)
|
|||
efl_canvas_group_change(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_image_aspect_fixed_get(const Evas_Object *obj)
|
||||
{
|
||||
EFL_UI_IMAGE_CHECK(obj) EINA_FALSE;
|
||||
|
@ -2736,7 +2736,7 @@ _efl_ui_image_legacy_efl_object_constructor(Eo *obj, void *pd EINA_UNUSED)
|
|||
return obj;
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_image_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
|
|
@ -20,7 +20,7 @@ typedef Eo Efl_Ui_Image_Legacy;
|
|||
*/
|
||||
#define EFL_UI_IMAGE_LEGACY_CLASS efl_ui_image_legacy_class_get()
|
||||
|
||||
EWAPI const Efl_Class *efl_ui_image_legacy_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *efl_ui_image_legacy_class_get(void) EINA_CONST;
|
||||
#endif /* EFL_BETA_API_SUPPORT */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3316,7 +3316,7 @@ _efl_ui_image_zoomable_legacy_efl_object_constructor(Eo *obj, void *_pd EINA_UNU
|
|||
return obj;
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_photocam_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
@ -3367,13 +3367,13 @@ _efl_orient_to_evas_orient(Efl_Gfx_Image_Orientation efl_orient)
|
|||
return evas_orient[efl_orient];
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_photocam_image_orient_set(Eo *obj, Evas_Image_Orient evas_orient)
|
||||
{
|
||||
efl_gfx_image_orientation_set(obj, _evas_orient_to_efl_orient(evas_orient));
|
||||
}
|
||||
|
||||
EAPI Evas_Image_Orient
|
||||
ELM_API Evas_Image_Orient
|
||||
elm_photocam_image_orient_get(const Eo *obj)
|
||||
{
|
||||
ELM_PHOTOCAM_CHECK(obj) EVAS_IMAGE_ORIENT_NONE;
|
||||
|
@ -3381,7 +3381,7 @@ elm_photocam_image_orient_get(const Eo *obj)
|
|||
return _efl_orient_to_evas_orient(sd->orient);
|
||||
}
|
||||
|
||||
EAPI Evas_Object*
|
||||
ELM_API Evas_Object*
|
||||
elm_photocam_internal_image_get(const Evas_Object *obj)
|
||||
{
|
||||
EFL_UI_IMAGE_ZOOMABLE_DATA_GET_OR_RETURN_VAL(obj, sd, NULL);
|
||||
|
@ -3389,7 +3389,7 @@ elm_photocam_internal_image_get(const Evas_Object *obj)
|
|||
return sd->img;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h)
|
||||
{
|
||||
Eina_Size2D sz;
|
||||
|
@ -3398,43 +3398,43 @@ elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h)
|
|||
if (h) *h = sz.h;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_photocam_paused_get(const Evas_Object *obj)
|
||||
{
|
||||
return efl_ui_zoom_animation_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused)
|
||||
{
|
||||
efl_ui_zoom_animation_set(obj, paused);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_photocam_zoom_set(Evas_Object *obj, double zoom)
|
||||
{
|
||||
efl_ui_zoom_level_set(obj, zoom);
|
||||
}
|
||||
|
||||
EAPI double
|
||||
ELM_API double
|
||||
elm_photocam_zoom_get(const Evas_Object *obj)
|
||||
{
|
||||
return efl_ui_zoom_level_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode)
|
||||
{
|
||||
efl_ui_zoom_mode_set(obj, (Efl_Ui_Zoom_Mode)mode);
|
||||
}
|
||||
|
||||
EAPI Elm_Photocam_Zoom_Mode
|
||||
ELM_API Elm_Photocam_Zoom_Mode
|
||||
elm_photocam_zoom_mode_get(const Evas_Object *obj)
|
||||
{
|
||||
return (Elm_Photocam_Zoom_Mode)efl_ui_zoom_mode_get(obj);
|
||||
}
|
||||
|
||||
EAPI Evas_Load_Error
|
||||
ELM_API Evas_Load_Error
|
||||
elm_photocam_file_set(Evas_Object *obj, const char *file)
|
||||
{
|
||||
ELM_PHOTOCAM_CHECK(obj) EVAS_LOAD_ERROR_GENERIC;
|
||||
|
@ -3455,19 +3455,19 @@ elm_photocam_file_set(Evas_Object *obj, const char *file)
|
|||
EVAS_LOAD_ERROR_GENERIC;
|
||||
}
|
||||
|
||||
EAPI const char*
|
||||
ELM_API const char*
|
||||
elm_photocam_file_get(const Evas_Object *obj)
|
||||
{
|
||||
return efl_file_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h)
|
||||
{
|
||||
efl_ui_image_zoomable_image_region_set(obj, EINA_RECT(x, y, w, h));
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_photocam_image_region_bring_in(Evas_Object *obj,
|
||||
int x,
|
||||
int y,
|
||||
|
@ -3479,7 +3479,7 @@ elm_photocam_image_region_bring_in(Evas_Object *obj,
|
|||
efl_ui_scrollable_scroll(sd->smanager, EINA_RECT(x, y, w, h), EINA_TRUE);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_photocam_bounce_set(Evas_Object *obj,
|
||||
Eina_Bool h_bounce,
|
||||
Eina_Bool v_bounce)
|
||||
|
@ -3489,7 +3489,7 @@ elm_photocam_bounce_set(Evas_Object *obj,
|
|||
efl_ui_scrollable_bounce_enabled_set(obj, h_bounce, v_bounce);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_photocam_bounce_get(const Evas_Object *obj,
|
||||
Eina_Bool *h_bounce,
|
||||
Eina_Bool *v_bounce)
|
||||
|
@ -3499,7 +3499,7 @@ elm_photocam_bounce_get(const Evas_Object *obj,
|
|||
efl_ui_scrollable_bounce_enabled_get((Eo *)obj, h_bounce, v_bounce);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_photocam_image_region_get(const Efl_Ui_Image_Zoomable *obj, int *x, int *y, int *w, int *h)
|
||||
{
|
||||
Eina_Rect r;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_photocam_gesture_enabled_set(Efl_Ui_Image_Zoomable *obj, Eina_Bool gesture)
|
||||
{
|
||||
efl_ui_image_zoomable_gesture_enabled_set(obj, gesture);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_photocam_gesture_enabled_get(const Efl_Ui_Image_Zoomable *obj)
|
||||
{
|
||||
return efl_ui_image_zoomable_gesture_enabled_get(obj);
|
||||
|
|
|
@ -25,7 +25,7 @@ typedef Eo Efl_Ui_Image_Zoomable;
|
|||
*
|
||||
* @ingroup Elm_Photocam_Group
|
||||
*/
|
||||
EAPI void elm_photocam_gesture_enabled_set(Efl_Ui_Image_Zoomable *obj, Eina_Bool gesture);
|
||||
ELM_API void elm_photocam_gesture_enabled_set(Efl_Ui_Image_Zoomable *obj, Eina_Bool gesture);
|
||||
|
||||
/**
|
||||
* @brief Get the gesture state for photocam.
|
||||
|
@ -38,7 +38,7 @@ EAPI void elm_photocam_gesture_enabled_set(Efl_Ui_Image_Zoomable *obj, Eina_Bool
|
|||
*
|
||||
* @ingroup Elm_Photocam_Group
|
||||
*/
|
||||
EAPI Eina_Bool elm_photocam_gesture_enabled_get(const Efl_Ui_Image_Zoomable *obj);
|
||||
ELM_API Eina_Bool elm_photocam_gesture_enabled_get(const Efl_Ui_Image_Zoomable *obj);
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ typedef Eo Efl_Ui_Image_Zoomable_Legacy;
|
|||
*/
|
||||
#define EFL_UI_IMAGE_ZOOMABLE_LEGACY_CLASS efl_ui_image_zoomable_legacy_class_get()
|
||||
|
||||
EWAPI const Efl_Class *efl_ui_image_zoomable_legacy_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *efl_ui_image_zoomable_legacy_class_get(void) EINA_CONST;
|
||||
#endif /* EFL_BETA_API_SUPPORT */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -760,7 +760,7 @@ _edje_signal_callback(void *data,
|
|||
esd->func(esd->data, esd->obj, emission, source);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
_elm_layout_part_aliasing_eval(const Evas_Object *obj,
|
||||
const char **part,
|
||||
Eina_Bool is_text)
|
||||
|
@ -1190,7 +1190,7 @@ _efl_ui_layout_base_efl_layout_signal_signal_callback_del(Eo *obj, Efl_Ui_Layout
|
|||
// - message_signal_process
|
||||
// and also message handler (not implemented yet as an EO interface!)
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content)
|
||||
{
|
||||
EFL_UI_LAYOUT_CHECK(obj) EINA_FALSE;
|
||||
|
@ -1277,7 +1277,7 @@ end:
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_layout_content_get(const Evas_Object *obj, const char *swallow)
|
||||
{
|
||||
EFL_UI_LAYOUT_CHECK(obj) NULL;
|
||||
|
@ -1313,7 +1313,7 @@ _efl_ui_layout_content_get(Eo *obj, Efl_Ui_Layout_Data *sd, const char *part)
|
|||
return efl_content_get(efl_part(wd->resize_obj, part));
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_layout_content_unset(Evas_Object *obj, const char *swallow)
|
||||
{
|
||||
EFL_UI_LAYOUT_CHECK(obj) NULL;
|
||||
|
@ -1375,7 +1375,7 @@ _efl_ui_layout_content_unset(Eo *obj, Efl_Ui_Layout_Data *sd, const char *part)
|
|||
}
|
||||
|
||||
/* legacy only - eo is iterator */
|
||||
EAPI Eina_List *
|
||||
ELM_API Eina_List *
|
||||
elm_layout_content_swallow_list_get(const Evas_Object *obj)
|
||||
{
|
||||
EFL_UI_LAYOUT_CHECK(obj) NULL;
|
||||
|
@ -1877,7 +1877,7 @@ _efl_ui_layout_table_clear(Eo *obj, Efl_Ui_Layout_Data *sd, const char *part, Ei
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
EAPI Evas_Object*
|
||||
ELM_API Evas_Object*
|
||||
elm_layout_edje_get(const Eo *obj)
|
||||
{
|
||||
EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(obj, MY_CLASS), NULL);
|
||||
|
@ -1963,7 +1963,7 @@ _elm_layout_sizing_eval(Eo *obj, Elm_Layout_Data *ld)
|
|||
_elm_layout_efl_canvas_group_change(obj, ld);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_layout_sizing_restricted_eval(Eo *obj, Eina_Bool w, Eina_Bool h)
|
||||
{
|
||||
Elm_Layout_Data *ld = efl_data_scope_safe_get(obj, ELM_LAYOUT_MIXIN);
|
||||
|
@ -2187,7 +2187,7 @@ _efl_ui_layout_part_cursor_engine_only_get(Efl_Ui_Layout_Data *sd, const char *p
|
|||
return !elm_object_cursor_theme_search_enabled_get(pc->obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_edje_object_can_access_set(Eo *obj, Eina_Bool can_access)
|
||||
{
|
||||
Efl_Ui_Layout_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -2196,7 +2196,7 @@ elm_layout_edje_object_can_access_set(Eo *obj, Eina_Bool can_access)
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_edje_object_can_access_get(const Eo *obj)
|
||||
{
|
||||
Efl_Ui_Layout_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -3061,62 +3061,62 @@ _efl_ui_layout_legacy_efl_object_constructor(Eo *obj, void *pd EINA_UNUSED)
|
|||
return obj;
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_layout_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
return elm_legacy_add(EFL_UI_LAYOUT_LEGACY_CLASS, parent);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_file_set(Eo *obj, const char *file, const char *group)
|
||||
{
|
||||
return efl_file_simple_load((Eo *) obj, file, group);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_layout_file_get(Eo *obj, const char **file, const char **group)
|
||||
{
|
||||
efl_file_simple_get((Eo *) obj, file, group);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_mmap_set(Eo *obj, const Eina_File *file, const char *group)
|
||||
{
|
||||
return efl_file_simple_mmap_load((Eo *) obj, file, group);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_layout_mmap_get(Eo *obj, const Eina_File **file, const char **group)
|
||||
{
|
||||
efl_file_simple_mmap_get((Eo *) obj, file, group);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_box_append(Eo *obj, const char *part, Evas_Object *child)
|
||||
{
|
||||
return efl_pack(efl_part(obj, part), child);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_box_prepend(Eo *obj, const char *part, Evas_Object *child)
|
||||
{
|
||||
return efl_pack_begin(efl_part(obj, part), child);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_box_insert_before(Eo *obj, const char *part, Evas_Object *child, const Evas_Object *reference)
|
||||
{
|
||||
return efl_pack_before(efl_part(obj, part), child, reference);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_box_insert_at(Eo *obj, const char *part, Evas_Object *child, unsigned int pos)
|
||||
{
|
||||
return efl_pack_at(efl_part(obj, part), child, pos);
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_layout_box_remove(Eo *obj, const char *part, Evas_Object *child)
|
||||
{
|
||||
if (!efl_pack_unpack(efl_part(obj, part), child))
|
||||
|
@ -3124,7 +3124,7 @@ elm_layout_box_remove(Eo *obj, const char *part, Evas_Object *child)
|
|||
return child;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_box_remove_all(Eo *obj, const char *part, Eina_Bool clear)
|
||||
{
|
||||
if (clear)
|
||||
|
@ -3133,13 +3133,13 @@ elm_layout_box_remove_all(Eo *obj, const char *part, Eina_Bool clear)
|
|||
return efl_pack_unpack_all(efl_part(obj, part));
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_table_pack(Eo *obj, const char *part, Evas_Object *child, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan)
|
||||
{
|
||||
return efl_pack_table(efl_part(obj, part), child, col, row, colspan, rowspan);
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_layout_table_unpack(Eo *obj, const char *part, Evas_Object *child)
|
||||
{
|
||||
if (!efl_pack_unpack(efl_part(obj, part), child))
|
||||
|
@ -3147,7 +3147,7 @@ elm_layout_table_unpack(Eo *obj, const char *part, Evas_Object *child)
|
|||
return child;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_table_clear(Eo *obj, const char *part, Eina_Bool clear)
|
||||
{
|
||||
if (clear)
|
||||
|
@ -3156,7 +3156,7 @@ elm_layout_table_clear(Eo *obj, const char *part, Eina_Bool clear)
|
|||
return efl_pack_unpack_all(efl_part(obj, part));
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_text_set(Eo *obj, const char *part, const char *text)
|
||||
{
|
||||
Eo *part_obj;
|
||||
|
@ -3187,7 +3187,7 @@ elm_layout_text_set(Eo *obj, const char *part, const char *text)
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
ELM_API const char *
|
||||
elm_layout_text_get(const Eo *obj, const char *part)
|
||||
{
|
||||
if (!part)
|
||||
|
@ -3201,7 +3201,7 @@ elm_layout_text_get(const Eo *obj, const char *part)
|
|||
return efl_text_get(efl_part(obj, part));
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_part_cursor_engine_only_set(Eo *obj, const char *part, Eina_Bool engine_only)
|
||||
{
|
||||
Efl_Ui_Layout_Data *sd = efl_data_scope_get(obj, MY_CLASS);
|
||||
|
@ -3209,7 +3209,7 @@ elm_layout_part_cursor_engine_only_set(Eo *obj, const char *part, Eina_Bool engi
|
|||
return _efl_ui_layout_part_cursor_engine_only_set(sd, part, engine_only);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_part_cursor_engine_only_get(const Eo *obj, const char *part)
|
||||
{
|
||||
Efl_Ui_Layout_Data *sd = efl_data_scope_get(obj, MY_CLASS);
|
||||
|
@ -3217,7 +3217,7 @@ elm_layout_part_cursor_engine_only_get(const Eo *obj, const char *part)
|
|||
return _efl_ui_layout_part_cursor_engine_only_get(sd, part);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_part_cursor_set(Eo *obj, const char *part, const char *cursor)
|
||||
{
|
||||
Efl_Ui_Layout_Data *sd = efl_data_scope_get(obj, MY_CLASS);
|
||||
|
@ -3225,7 +3225,7 @@ elm_layout_part_cursor_set(Eo *obj, const char *part, const char *cursor)
|
|||
return _efl_ui_layout_part_cursor_set(sd, part, cursor);
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
ELM_API const char *
|
||||
elm_layout_part_cursor_get(const Eo *obj, const char *part)
|
||||
{
|
||||
Efl_Ui_Layout_Data *sd = efl_data_scope_get(obj, MY_CLASS);
|
||||
|
@ -3233,7 +3233,7 @@ elm_layout_part_cursor_get(const Eo *obj, const char *part)
|
|||
return _efl_ui_layout_part_cursor_get(sd, part);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_part_cursor_style_set(Eo *obj, const char *part, const char *style)
|
||||
{
|
||||
Efl_Ui_Layout_Data *sd = efl_data_scope_get(obj, MY_CLASS);
|
||||
|
@ -3241,7 +3241,7 @@ elm_layout_part_cursor_style_set(Eo *obj, const char *part, const char *style)
|
|||
return _efl_ui_layout_part_cursor_style_set(sd, part, style);
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
ELM_API const char *
|
||||
elm_layout_part_cursor_style_get(const Eo *obj, const char *part)
|
||||
{
|
||||
Efl_Ui_Layout_Data *sd = efl_data_scope_get(obj, MY_CLASS);
|
||||
|
@ -3249,7 +3249,7 @@ elm_layout_part_cursor_style_get(const Eo *obj, const char *part)
|
|||
return _efl_ui_layout_part_cursor_style_get(sd, part);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_part_cursor_unset(Eo *obj, const char *part)
|
||||
{
|
||||
Efl_Ui_Layout_Data *sd = efl_data_scope_get(obj, MY_CLASS);
|
||||
|
@ -3257,13 +3257,13 @@ elm_layout_part_cursor_unset(Eo *obj, const char *part)
|
|||
return _efl_ui_layout_part_cursor_set(sd, part, NULL);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
ELM_API int
|
||||
elm_layout_freeze(Evas_Object *obj)
|
||||
{
|
||||
return efl_layout_calc_freeze(obj);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
ELM_API int
|
||||
elm_layout_thaw(Evas_Object *obj)
|
||||
{
|
||||
return efl_layout_calc_thaw(obj);
|
||||
|
@ -3310,7 +3310,7 @@ _elm_layout_legacy_icon_signal_emit(Evas_Object *obj)
|
|||
efl_canvas_group_change(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_layout_signal_callback_add(Eo *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data)
|
||||
{
|
||||
Efl_Ui_Layout_Data *sd;
|
||||
|
@ -3364,7 +3364,7 @@ _elm_layout_signal_callback_del_legacy(Eo *obj EINA_UNUSED, Eo *edje, Eina_List
|
|||
return NULL;
|
||||
}
|
||||
|
||||
EAPI void *
|
||||
ELM_API void *
|
||||
elm_layout_signal_callback_del(Eo *obj, const char *emission, const char *source, Edje_Signal_Cb func)
|
||||
{
|
||||
Efl_Ui_Layout_Data *sd;
|
||||
|
@ -3382,19 +3382,19 @@ elm_layout_signal_callback_del(Eo *obj, const char *emission, const char *source
|
|||
emission, source, func);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_layout_signal_emit(Eo *obj, const char *emission, const char *source)
|
||||
{
|
||||
efl_layout_signal_emit(obj, emission, source);
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
ELM_API const char *
|
||||
elm_layout_data_get(const Evas_Object *obj, const char *key)
|
||||
{
|
||||
return efl_layout_group_data_get(obj, key);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_layout_theme_set(Evas_Object *obj, const char *klass, const char *group, const char *style)
|
||||
{
|
||||
Eina_Error theme_apply_ret;
|
||||
|
|
|
@ -34,7 +34,7 @@ static const Efl_Class_Description _efl_ui_layout_legacy_class_desc = {
|
|||
EFL_DEFINE_CLASS(efl_ui_layout_legacy_class_get, &_efl_ui_layout_legacy_class_desc, EFL_UI_LAYOUT_CLASS, ELM_LAYOUT_MIXIN, EFL_UI_LEGACY_INTERFACE, NULL);
|
||||
|
||||
static void _elm_layout_sizing_eval(Eo *obj, Elm_Layout_Data *ld);
|
||||
EAPI EFL_VOID_FUNC_BODY(elm_layout_sizing_eval);
|
||||
ELM_API EFL_VOID_FUNC_BODY(elm_layout_sizing_eval);
|
||||
|
||||
static Eina_Bool
|
||||
_elm_layout_class_initializer(Efl_Class *klass)
|
||||
|
|
|
@ -21,8 +21,8 @@ typedef Eo Efl_Ui_Layout_Legacy;
|
|||
#define EFL_UI_LAYOUT_LEGACY_CLASS efl_ui_layout_legacy_class_get()
|
||||
#define ELM_LAYOUT_MIXIN elm_layout_mixin_get()
|
||||
|
||||
EWAPI const Efl_Class *efl_ui_layout_legacy_class_get(void) EINA_CONST;
|
||||
EWAPI const Efl_Class *elm_layout_mixin_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *efl_ui_layout_legacy_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *elm_layout_mixin_get(void) EINA_CONST;
|
||||
#endif /* EFL_BETA_API_SUPPORT */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -719,14 +719,14 @@ _efl_ui_panes_legacy_efl_object_constructor(Eo *obj, void *_pd EINA_UNUSED)
|
|||
return obj;
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_panes_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
return elm_legacy_add(EFL_UI_PANES_LEGACY_CLASS, parent);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_panes_content_left_min_size_set(Evas_Object *obj, int size)
|
||||
{
|
||||
EFL_UI_PANES_DATA_GET_OR_RETURN(obj, sd);
|
||||
|
@ -737,14 +737,14 @@ elm_panes_content_left_min_size_set(Evas_Object *obj, int size)
|
|||
_update_fixed_sides(obj);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
ELM_API int
|
||||
elm_panes_content_left_min_size_get(const Evas_Object *obj)
|
||||
{
|
||||
EFL_UI_PANES_DATA_GET_OR_RETURN_VAL(obj, sd, 0);
|
||||
return sd->left_min_size;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_panes_content_right_min_size_set(Evas_Object *obj, int size)
|
||||
{
|
||||
EFL_UI_PANES_DATA_GET_OR_RETURN(obj, sd);
|
||||
|
@ -755,26 +755,26 @@ elm_panes_content_right_min_size_set(Evas_Object *obj, int size)
|
|||
_update_fixed_sides(obj);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
ELM_API int
|
||||
elm_panes_content_right_min_size_get(const Evas_Object *obj)
|
||||
{
|
||||
EFL_UI_PANES_DATA_GET_OR_RETURN_VAL(obj, sd, 0);
|
||||
return sd->right_min_size;
|
||||
}
|
||||
|
||||
EAPI double
|
||||
ELM_API double
|
||||
elm_panes_content_left_size_get(const Evas_Object *obj)
|
||||
{
|
||||
return efl_ui_panes_split_ratio_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_panes_content_left_size_set(Evas_Object *obj, double size)
|
||||
{
|
||||
efl_ui_panes_split_ratio_set(obj, size);
|
||||
}
|
||||
|
||||
EAPI double
|
||||
ELM_API double
|
||||
elm_panes_content_right_size_get(const Evas_Object *obj)
|
||||
{
|
||||
EFL_UI_PANES_CHECK(obj) 0.0;
|
||||
|
@ -782,13 +782,13 @@ elm_panes_content_right_size_get(const Evas_Object *obj)
|
|||
return 1.0 - elm_panes_content_left_size_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_panes_content_right_size_set(Evas_Object *obj, double size)
|
||||
{
|
||||
elm_panes_content_left_size_set(obj, (1.0 - size));
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_panes_content_left_min_relative_size_set(Evas_Object *obj, double size)
|
||||
{
|
||||
EFL_UI_PANES_DATA_GET_OR_RETURN(obj, sd);
|
||||
|
@ -798,14 +798,14 @@ elm_panes_content_left_min_relative_size_set(Evas_Object *obj, double size)
|
|||
_update_fixed_sides(obj);
|
||||
}
|
||||
|
||||
EAPI double
|
||||
ELM_API double
|
||||
elm_panes_content_left_min_relative_size_get(const Evas_Object *obj)
|
||||
{
|
||||
EFL_UI_PANES_DATA_GET_OR_RETURN_VAL(obj, sd, 0.0);
|
||||
return sd->left_min_relative_size;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_panes_content_right_min_relative_size_set(Evas_Object *obj, double size)
|
||||
{
|
||||
EFL_UI_PANES_DATA_GET_OR_RETURN(obj, sd);
|
||||
|
@ -816,14 +816,14 @@ elm_panes_content_right_min_relative_size_set(Evas_Object *obj, double size)
|
|||
_update_fixed_sides(obj);
|
||||
}
|
||||
|
||||
EAPI double
|
||||
ELM_API double
|
||||
elm_panes_content_right_min_relative_size_get(const Evas_Object *obj)
|
||||
{
|
||||
EFL_UI_PANES_DATA_GET_OR_RETURN_VAL(obj, sd, 0.0);
|
||||
return sd->right_min_relative_size;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_panes_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
|
||||
{
|
||||
EFL_UI_PANES_CHECK(obj);
|
||||
|
@ -838,7 +838,7 @@ elm_panes_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
|
|||
efl_ui_layout_orientation_set(obj, dir);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_panes_horizontal_get(const Evas_Object *obj)
|
||||
{
|
||||
EFL_UI_PANES_CHECK(obj) EINA_FALSE;
|
||||
|
@ -851,39 +851,39 @@ elm_panes_horizontal_get(const Evas_Object *obj)
|
|||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_panes_content_left_set(Evas_Object *obj,
|
||||
Evas_Object *content)
|
||||
{
|
||||
elm_layout_content_set(obj, "left", content);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_panes_content_right_set(Evas_Object *obj,
|
||||
Evas_Object *content)
|
||||
{
|
||||
elm_layout_content_set(obj, "right", content);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI Evas_Object *
|
||||
EINA_DEPRECATED ELM_API Evas_Object *
|
||||
elm_panes_content_left_get(const Evas_Object *obj)
|
||||
{
|
||||
return elm_layout_content_get(obj, "left");
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI Evas_Object *
|
||||
EINA_DEPRECATED ELM_API Evas_Object *
|
||||
elm_panes_content_right_get(const Evas_Object *obj)
|
||||
{
|
||||
return elm_layout_content_get(obj, "right");
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI Evas_Object *
|
||||
EINA_DEPRECATED ELM_API Evas_Object *
|
||||
elm_panes_content_left_unset(Evas_Object *obj)
|
||||
{
|
||||
return elm_layout_content_unset(obj, "left");
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI Evas_Object *
|
||||
EINA_DEPRECATED ELM_API Evas_Object *
|
||||
elm_panes_content_right_unset(Evas_Object *obj)
|
||||
{
|
||||
return elm_layout_content_unset(obj, "right");
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_panes_fixed_set(Efl_Ui_Panes *obj, Eina_Bool fixed)
|
||||
{
|
||||
efl_ui_panes_fixed_set(obj, fixed);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_panes_fixed_get(const Efl_Ui_Panes *obj)
|
||||
{
|
||||
return efl_ui_panes_fixed_get(obj);
|
||||
|
|
|
@ -29,7 +29,7 @@ typedef Eo Efl_Ui_Panes;
|
|||
*
|
||||
* @ingroup Elm_Panes_Group
|
||||
*/
|
||||
EAPI void elm_panes_fixed_set(Efl_Ui_Panes *obj, Eina_Bool fixed);
|
||||
ELM_API void elm_panes_fixed_set(Efl_Ui_Panes *obj, Eina_Bool fixed);
|
||||
|
||||
/**
|
||||
* @brief Set whether the left and right panes can be resized by user
|
||||
|
@ -44,6 +44,6 @@ EAPI void elm_panes_fixed_set(Efl_Ui_Panes *obj, Eina_Bool fixed);
|
|||
*
|
||||
* @ingroup Elm_Panes_Group
|
||||
*/
|
||||
EAPI Eina_Bool elm_panes_fixed_get(const Efl_Ui_Panes *obj);
|
||||
ELM_API Eina_Bool elm_panes_fixed_get(const Efl_Ui_Panes *obj);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -20,7 +20,7 @@ typedef Eo Efl_Ui_Panes_Legacy;
|
|||
*/
|
||||
#define EFL_UI_PANES_LEGACY_CLASS efl_ui_panes_legacy_class_get()
|
||||
|
||||
EWAPI const Efl_Class *efl_ui_panes_legacy_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *efl_ui_panes_legacy_class_get(void) EINA_CONST;
|
||||
#endif /* EFL_BETA_API_SUPPORT */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -805,7 +805,7 @@ ELM_PART_OVERRIDE_CONTENT_SET_NO_SD(efl_ui_progressbar_legacy)
|
|||
|
||||
/* Efl.Part for legacy end */
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_progressbar_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
@ -815,7 +815,7 @@ elm_progressbar_add(Evas_Object *parent)
|
|||
return obj;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_progressbar_pulse_set(Evas_Object *obj, Eina_Bool pulse)
|
||||
{
|
||||
EFL_UI_PROGRESSBAR_DATA_GET_OR_RETURN(obj, sd);
|
||||
|
@ -827,14 +827,14 @@ elm_progressbar_pulse_set(Evas_Object *obj, Eina_Bool pulse)
|
|||
efl_ui_widget_theme_apply(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_progressbar_pulse_get(const Evas_Object *obj)
|
||||
{
|
||||
EFL_UI_PROGRESSBAR_DATA_GET_OR_RETURN(obj, sd, EINA_FALSE);
|
||||
return sd->pulse;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_progressbar_pulse(Evas_Object *obj, Eina_Bool state)
|
||||
{
|
||||
EFL_UI_PROGRESSBAR_DATA_GET_OR_RETURN(obj, sd);
|
||||
|
@ -847,27 +847,27 @@ elm_progressbar_pulse(Evas_Object *obj, Eina_Bool state)
|
|||
_apply_pulse_state(obj, sd);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_progressbar_is_pulsing_get(const Evas_Object *obj)
|
||||
{
|
||||
EFL_UI_PROGRESSBAR_DATA_GET_OR_RETURN(obj, sd, EINA_FALSE);
|
||||
return (sd->pulse_state && sd->pulse);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_progressbar_part_value_set(Evas_Object *obj, const char *part, double val)
|
||||
{
|
||||
if (EINA_DBL_EQ(efl_ui_range_value_get(efl_part(obj, part)), val)) return;
|
||||
efl_ui_range_value_set(efl_part(obj, part), val);
|
||||
}
|
||||
|
||||
EAPI double
|
||||
ELM_API double
|
||||
elm_progressbar_part_value_get(const Evas_Object *obj, const char *part)
|
||||
{
|
||||
return efl_ui_range_value_get(efl_part(obj, part));
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_progressbar_horizontal_get(const Evas_Object *obj)
|
||||
{
|
||||
EFL_UI_PROGRESSBAR_DATA_GET_OR_RETURN(obj, sd, EINA_FALSE);
|
||||
|
@ -875,7 +875,7 @@ elm_progressbar_horizontal_get(const Evas_Object *obj)
|
|||
return _is_horizontal(sd->dir);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_progressbar_inverted_set(Evas_Object *obj, Eina_Bool inverted)
|
||||
{
|
||||
Efl_Ui_Layout_Orientation dir;
|
||||
|
@ -887,7 +887,7 @@ elm_progressbar_inverted_set(Evas_Object *obj, Eina_Bool inverted)
|
|||
efl_ui_layout_orientation_set(obj, dir);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_progressbar_inverted_get(const Evas_Object *obj)
|
||||
{
|
||||
EFL_UI_PROGRESSBAR_DATA_GET_OR_RETURN(obj, sd, EINA_FALSE);
|
||||
|
@ -895,7 +895,7 @@ elm_progressbar_inverted_get(const Evas_Object *obj)
|
|||
return efl_ui_layout_orientation_is_inverted(sd->dir);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
|
||||
{
|
||||
Efl_Ui_Layout_Orientation dir;
|
||||
|
@ -940,7 +940,7 @@ _format_legacy_to_format_eo_free_cb(void *data)
|
|||
free(pfwd);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_progressbar_unit_format_function_set(Evas_Object *obj, progressbar_func_type func, progressbar_freefunc_type free_func)
|
||||
{
|
||||
EFL_UI_PROGRESSBAR_DATA_GET_OR_RETURN(obj, sd);
|
||||
|
@ -955,21 +955,21 @@ elm_progressbar_unit_format_function_set(Evas_Object *obj, progressbar_func_type
|
|||
_format_legacy_to_format_eo_free_cb);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size)
|
||||
{
|
||||
EFL_UI_PROGRESSBAR_DATA_GET_OR_RETURN(obj, sd);
|
||||
_progressbar_span_size_set(obj, sd, size);
|
||||
}
|
||||
|
||||
EAPI Evas_Coord
|
||||
ELM_API Evas_Coord
|
||||
elm_progressbar_span_size_get(const Evas_Object *obj)
|
||||
{
|
||||
EFL_UI_PROGRESSBAR_DATA_GET_OR_RETURN(obj, sd, 0);
|
||||
return sd->size;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_progressbar_unit_format_set(Evas_Object *obj, const char *units)
|
||||
{
|
||||
EFL_UI_PROGRESSBAR_DATA_GET_OR_RETURN(obj, sd);
|
||||
|
@ -978,7 +978,7 @@ elm_progressbar_unit_format_set(Evas_Object *obj, const char *units)
|
|||
efl_ui_format_string_set(obj, units, EFL_UI_FORMAT_STRING_TYPE_SIMPLE);
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
ELM_API const char *
|
||||
elm_progressbar_unit_format_get(const Evas_Object *obj)
|
||||
{
|
||||
const char *fmt = NULL;
|
||||
|
@ -986,13 +986,13 @@ elm_progressbar_unit_format_get(const Evas_Object *obj)
|
|||
return fmt;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_progressbar_value_set(Evas_Object *obj, double val)
|
||||
{
|
||||
efl_ui_range_value_set(obj, val);
|
||||
}
|
||||
|
||||
EAPI double
|
||||
ELM_API double
|
||||
elm_progressbar_value_get(const Evas_Object *obj)
|
||||
{
|
||||
return efl_ui_range_value_get(obj);
|
||||
|
|
|
@ -20,7 +20,7 @@ typedef Eo Efl_Ui_Progressbar_Legacy;
|
|||
*/
|
||||
#define EFL_UI_PROGRESSBAR_LEGACY_CLASS efl_ui_progressbar_legacy_class_get()
|
||||
|
||||
EWAPI const Efl_Class *efl_ui_progressbar_legacy_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *efl_ui_progressbar_legacy_class_get(void) EINA_CONST;
|
||||
#endif /* EFL_BETA_API_SUPPORT */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -397,14 +397,14 @@ ELM_PART_OVERRIDE_CONTENT_SET_NO_SD(efl_ui_radio_legacy)
|
|||
|
||||
/* Efl.Part end */
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_radio_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
return elm_legacy_add(EFL_UI_RADIO_LEGACY_CLASS, parent);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_radio_value_set(Evas_Object *obj, int value)
|
||||
{
|
||||
EINA_SAFETY_ON_FALSE_RETURN(elm_widget_is_legacy(obj));
|
||||
|
@ -416,7 +416,7 @@ elm_radio_value_set(Evas_Object *obj, int value)
|
|||
_state_set_all(sd, EINA_FALSE);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
ELM_API int
|
||||
elm_radio_value_get(const Evas_Object *obj)
|
||||
{
|
||||
EINA_SAFETY_ON_FALSE_RETURN_VAL(elm_widget_is_legacy(obj), 0);
|
||||
|
@ -424,7 +424,7 @@ elm_radio_value_get(const Evas_Object *obj)
|
|||
return sd->group->value;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_radio_value_pointer_set(Efl_Ui_Radio *obj, int *valuep)
|
||||
{
|
||||
EINA_SAFETY_ON_FALSE_RETURN(elm_widget_is_legacy(obj));
|
||||
|
@ -442,7 +442,7 @@ elm_radio_value_pointer_set(Efl_Ui_Radio *obj, int *valuep)
|
|||
else sd->group->valuep = NULL;
|
||||
}
|
||||
|
||||
EAPI Efl_Canvas_Object *
|
||||
ELM_API Efl_Canvas_Object *
|
||||
elm_radio_selected_object_get(const Efl_Ui_Radio *obj)
|
||||
{
|
||||
EINA_SAFETY_ON_FALSE_RETURN_VAL(elm_widget_is_legacy(obj), NULL);
|
||||
|
@ -461,7 +461,7 @@ elm_radio_selected_object_get(const Efl_Ui_Radio *obj)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_radio_group_add(Efl_Ui_Radio *obj, Efl_Ui_Radio *group)
|
||||
{
|
||||
EINA_SAFETY_ON_FALSE_RETURN(elm_widget_is_legacy(obj));
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_radio_state_value_set(Efl_Ui_Radio *obj, int value)
|
||||
{
|
||||
efl_ui_radio_state_value_set(obj, value);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
ELM_API int
|
||||
elm_radio_state_value_get(const Efl_Ui_Radio *obj)
|
||||
{
|
||||
return efl_ui_radio_state_value_get(obj);
|
||||
|
|
|
@ -24,7 +24,7 @@ typedef Eo Efl_Ui_Radio;
|
|||
*
|
||||
* @ingroup Elm_Radio_Group
|
||||
*/
|
||||
EAPI void elm_radio_state_value_set(Efl_Ui_Radio *obj, int value);
|
||||
ELM_API void elm_radio_state_value_set(Efl_Ui_Radio *obj, int value);
|
||||
|
||||
/**
|
||||
* @brief Get the integer value that this radio object represents.
|
||||
|
@ -37,7 +37,7 @@ EAPI void elm_radio_state_value_set(Efl_Ui_Radio *obj, int value);
|
|||
*
|
||||
* @ingroup Elm_Radio_Group
|
||||
*/
|
||||
EAPI int elm_radio_state_value_get(const Efl_Ui_Radio *obj);
|
||||
ELM_API int elm_radio_state_value_get(const Efl_Ui_Radio *obj);
|
||||
|
||||
/**
|
||||
* @brief Set a convenience pointer to an integer, which changes when radio
|
||||
|
@ -54,7 +54,7 @@ EAPI int elm_radio_state_value_get(const Efl_Ui_Radio *obj);
|
|||
*
|
||||
* @ingroup Elm_Radio_Group
|
||||
*/
|
||||
EAPI void elm_radio_value_pointer_set(Efl_Ui_Radio *obj, int *valuep);
|
||||
ELM_API void elm_radio_value_pointer_set(Efl_Ui_Radio *obj, int *valuep);
|
||||
|
||||
/**
|
||||
* @brief Get the selected radio object.
|
||||
|
@ -65,7 +65,7 @@ EAPI void elm_radio_value_pointer_set(Efl_Ui_Radio *obj, int *valuep);
|
|||
*
|
||||
* @ingroup Elm_Radio_Group
|
||||
*/
|
||||
EAPI Efl_Canvas_Object *elm_radio_selected_object_get(const Efl_Ui_Radio *obj);
|
||||
ELM_API Efl_Canvas_Object *elm_radio_selected_object_get(const Efl_Ui_Radio *obj);
|
||||
|
||||
/**
|
||||
* @brief Add this radio to a group of other radio objects
|
||||
|
@ -80,6 +80,6 @@ EAPI Efl_Canvas_Object *elm_radio_selected_object_get(const Efl_Ui_Radio *obj);
|
|||
*
|
||||
* @ingroup Elm_Radio_Group
|
||||
*/
|
||||
EAPI void elm_radio_group_add(Efl_Ui_Radio *obj, Efl_Ui_Radio *group);
|
||||
ELM_API void elm_radio_group_add(Efl_Ui_Radio *obj, Efl_Ui_Radio *group);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -20,7 +20,7 @@ typedef Eo Efl_Ui_Radio_Legacy;
|
|||
*/
|
||||
#define EFL_UI_RADIO_LEGACY_CLASS efl_ui_radio_legacy_class_get()
|
||||
|
||||
EWAPI const Efl_Class *efl_ui_radio_legacy_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *efl_ui_radio_legacy_class_get(void) EINA_CONST;
|
||||
#endif /* EFL_BETA_API_SUPPORT */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -991,14 +991,14 @@ _efl_ui_textpath_legacy_efl_object_constructor(Eo *obj, void *_pd EINA_UNUSED)
|
|||
return obj;
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_textpath_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
return elm_legacy_add(EFL_UI_TEXTPATH_LEGACY_CLASS, parent);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_textpath_circle_set(Eo *obj, double x, double y, double radius, double start_angle, Efl_Ui_Textpath_Direction direction)
|
||||
{
|
||||
double sweep_length;
|
||||
|
@ -1038,7 +1038,7 @@ elm_textpath_circle_set(Eo *obj, double x, double y, double radius, double start
|
|||
efl_gfx_hint_size_restricted_min_set(obj, EINA_SIZE2D(x * 2, y * 2));
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_textpath_text_user_style_set(Eo *obj, const char *style)
|
||||
{
|
||||
EFL_UI_TEXTPATH_DATA_GET(obj, pd);
|
||||
|
|
|
@ -1,30 +1,30 @@
|
|||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_textpath_circular_set(Efl_Ui_Textpath *obj, double radius, double start_angle, Efl_Ui_Textpath_Direction direction)
|
||||
{
|
||||
efl_ui_textpath_circular_set(obj, radius, start_angle, direction);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_textpath_slice_number_set(Efl_Ui_Textpath *obj, int slice_no)
|
||||
{
|
||||
efl_ui_textpath_slice_number_set(obj, slice_no);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
ELM_API int
|
||||
elm_textpath_slice_number_get(const Efl_Ui_Textpath *obj)
|
||||
{
|
||||
return efl_ui_textpath_slice_number_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_textpath_ellipsis_set(Efl_Ui_Textpath *obj, Eina_Bool ellipsis)
|
||||
{
|
||||
efl_ui_textpath_ellipsis_set(obj, ellipsis);
|
||||
}
|
||||
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_textpath_ellipsis_get(const Efl_Ui_Textpath *obj)
|
||||
{
|
||||
return efl_ui_textpath_ellipsis_get(obj);
|
||||
|
|
|
@ -38,7 +38,7 @@ typedef enum
|
|||
* @since 1.23
|
||||
* @ingroup Elm_Textpath_Group
|
||||
*/
|
||||
EAPI void elm_textpath_circular_set(Efl_Ui_Textpath *obj, double radius, double start_angle, Efl_Ui_Textpath_Direction direction);
|
||||
ELM_API void elm_textpath_circular_set(Efl_Ui_Textpath *obj, double radius, double start_angle, Efl_Ui_Textpath_Direction direction);
|
||||
|
||||
/**
|
||||
* @brief The number of slices. The larger the number of slice_num is, The
|
||||
|
@ -49,7 +49,7 @@ EAPI void elm_textpath_circular_set(Efl_Ui_Textpath *obj, double radius, double
|
|||
*
|
||||
* @ingroup Elm_Textpath_Group
|
||||
*/
|
||||
EAPI void elm_textpath_slice_number_set(Efl_Ui_Textpath *obj, int slice_no);
|
||||
ELM_API void elm_textpath_slice_number_set(Efl_Ui_Textpath *obj, int slice_no);
|
||||
|
||||
/**
|
||||
* @brief The number of slices. The larger the number of slice_num is, The
|
||||
|
@ -61,7 +61,7 @@ EAPI void elm_textpath_slice_number_set(Efl_Ui_Textpath *obj, int slice_no);
|
|||
*
|
||||
* @ingroup Elm_Textpath_Group
|
||||
*/
|
||||
EAPI int elm_textpath_slice_number_get(const Efl_Ui_Textpath *obj);
|
||||
ELM_API int elm_textpath_slice_number_get(const Efl_Ui_Textpath *obj);
|
||||
|
||||
/**
|
||||
* @brief Control the ellipsis behavior of the textpath.
|
||||
|
@ -71,7 +71,7 @@ EAPI int elm_textpath_slice_number_get(const Efl_Ui_Textpath *obj);
|
|||
*
|
||||
* @ingroup Elm_Textpath_Group
|
||||
*/
|
||||
EAPI void elm_textpath_ellipsis_set(Efl_Ui_Textpath *obj, Eina_Bool ellipsis);
|
||||
ELM_API void elm_textpath_ellipsis_set(Efl_Ui_Textpath *obj, Eina_Bool ellipsis);
|
||||
|
||||
/**
|
||||
* @brief Control the ellipsis behavior of the textpath.
|
||||
|
@ -82,6 +82,6 @@ EAPI void elm_textpath_ellipsis_set(Efl_Ui_Textpath *obj, Eina_Bool ellipsis);
|
|||
*
|
||||
* @ingroup Elm_Textpath_Group
|
||||
*/
|
||||
EAPI Eina_Bool elm_textpath_ellipsis_get(const Efl_Ui_Textpath *obj);
|
||||
ELM_API Eina_Bool elm_textpath_ellipsis_get(const Efl_Ui_Textpath *obj);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -20,7 +20,7 @@ typedef Eo Efl_Ui_Textpath_Legacy;
|
|||
*/
|
||||
#define EFL_UI_TEXTPATH_LEGACY_CLASS efl_ui_textpath_legacy_class_get()
|
||||
|
||||
EWAPI const Efl_Class *efl_ui_textpath_legacy_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *efl_ui_textpath_legacy_class_get(void) EINA_CONST;
|
||||
#endif /* EFL_BETA_API_SUPPORT */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -889,20 +889,20 @@ _efl_ui_vg_animation_legacy_efl_object_constructor(Eo *obj, void *pd EINA_UNUSED
|
|||
return obj;
|
||||
}
|
||||
|
||||
EAPI Elm_Animation_View*
|
||||
ELM_API Elm_Animation_View*
|
||||
elm_animation_view_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
return elm_legacy_add(EFL_UI_VG_ANIMATION_LEGACY_CLASS, parent);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_animation_view_file_set(Elm_Animation_View *obj, const char *file, const char *key)
|
||||
{
|
||||
return efl_file_simple_load(obj, file, key);
|
||||
}
|
||||
|
||||
EAPI Elm_Animation_View_State
|
||||
ELM_API Elm_Animation_View_State
|
||||
elm_animation_view_state_get(Elm_Animation_View *obj)
|
||||
{
|
||||
Elm_Animation_View_State state = ELM_ANIMATION_VIEW_STATE_NOT_READY;
|
||||
|
|
|
@ -1,29 +1,29 @@
|
|||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_animation_view_auto_play_set(Efl_Ui_Vg_Animation *obj, Eina_Bool auto_play)
|
||||
{
|
||||
efl_player_autoplay_set(obj, auto_play);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_animation_view_auto_play_get(const Efl_Ui_Vg_Animation *obj)
|
||||
{
|
||||
return efl_player_autoplay_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_animation_view_auto_repeat_set(Efl_Ui_Vg_Animation *obj, Eina_Bool autorepeat)
|
||||
{
|
||||
efl_player_playback_loop_set(obj, autorepeat);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_animation_view_auto_repeat_get(const Efl_Ui_Vg_Animation *obj)
|
||||
{
|
||||
return efl_player_playback_loop_get(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_animation_view_speed_set(Efl_Ui_Vg_Animation *obj, double speed)
|
||||
{
|
||||
if (!obj) return EINA_FALSE;
|
||||
|
@ -31,43 +31,43 @@ elm_animation_view_speed_set(Efl_Ui_Vg_Animation *obj, double speed)
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
EAPI double
|
||||
ELM_API double
|
||||
elm_animation_view_speed_get(const Efl_Ui_Vg_Animation *obj)
|
||||
{
|
||||
return efl_player_playback_speed_get(obj);
|
||||
}
|
||||
|
||||
EAPI double
|
||||
ELM_API double
|
||||
elm_animation_view_duration_time_get(const Efl_Ui_Vg_Animation *obj)
|
||||
{
|
||||
return efl_playable_length_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_animation_view_progress_set(Efl_Ui_Vg_Animation *obj, double progress)
|
||||
{
|
||||
efl_player_playback_progress_set(obj, progress);
|
||||
}
|
||||
|
||||
EAPI double
|
||||
ELM_API double
|
||||
elm_animation_view_progress_get(const Efl_Ui_Vg_Animation *obj)
|
||||
{
|
||||
return efl_player_playback_progress_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_animation_view_frame_set(Efl_Ui_Vg_Animation *obj, int frame_num)
|
||||
{
|
||||
efl_ui_vg_animation_frame_set(obj, frame_num);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
ELM_API int
|
||||
elm_animation_view_frame_get(const Efl_Ui_Vg_Animation *obj)
|
||||
{
|
||||
return efl_ui_vg_animation_frame_get(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_animation_view_play(Efl_Ui_Vg_Animation *obj)
|
||||
{
|
||||
double speed = efl_player_playback_speed_get(obj);
|
||||
|
@ -75,7 +75,7 @@ elm_animation_view_play(Efl_Ui_Vg_Animation *obj)
|
|||
return efl_player_playing_set(obj, EINA_TRUE);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_animation_view_play_back(Efl_Ui_Vg_Animation *obj)
|
||||
{
|
||||
double speed = efl_player_playback_speed_get(obj);
|
||||
|
@ -83,85 +83,85 @@ elm_animation_view_play_back(Efl_Ui_Vg_Animation *obj)
|
|||
return efl_player_playing_set(obj, EINA_TRUE);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_animation_view_pause(Efl_Ui_Vg_Animation *obj)
|
||||
{
|
||||
return efl_player_paused_set(obj, EINA_TRUE);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_animation_view_resume(Efl_Ui_Vg_Animation *obj)
|
||||
{
|
||||
return efl_player_paused_set(obj, EINA_FALSE);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_animation_view_stop(Efl_Ui_Vg_Animation *obj)
|
||||
{
|
||||
return efl_player_playing_set(obj, EINA_FALSE);
|
||||
}
|
||||
|
||||
EAPI Eina_Size2D
|
||||
ELM_API Eina_Size2D
|
||||
elm_animation_view_default_size_get(const Efl_Ui_Vg_Animation *obj)
|
||||
{
|
||||
return efl_ui_vg_animation_default_view_size_get(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_animation_view_is_playing_back(Efl_Ui_Vg_Animation *obj)
|
||||
{
|
||||
return (efl_ui_vg_animation_state_get(obj) == EFL_UI_VG_ANIMATION_STATE_PLAYING_BACKWARDS);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
ELM_API int
|
||||
elm_animation_view_frame_count_get(const Efl_Ui_Vg_Animation *obj)
|
||||
{
|
||||
return efl_ui_vg_animation_frame_count_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_animation_view_min_progress_set(Efl_Ui_Vg_Animation *obj, double min_progress)
|
||||
{
|
||||
efl_ui_vg_animation_min_progress_set(obj, min_progress);
|
||||
}
|
||||
|
||||
EAPI double
|
||||
ELM_API double
|
||||
elm_animation_view_min_progress_get(const Efl_Ui_Vg_Animation *obj)
|
||||
{
|
||||
return efl_ui_vg_animation_min_progress_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_animation_view_max_progress_set(Efl_Ui_Vg_Animation *obj, double max_progress)
|
||||
{
|
||||
efl_ui_vg_animation_max_progress_set(obj, max_progress);
|
||||
}
|
||||
|
||||
EAPI double
|
||||
ELM_API double
|
||||
elm_animation_view_max_progress_get(const Efl_Ui_Vg_Animation *obj)
|
||||
{
|
||||
return efl_ui_vg_animation_max_progress_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_animation_view_min_frame_set(Efl_Ui_Vg_Animation *obj, int min_frame)
|
||||
{
|
||||
efl_ui_vg_animation_min_frame_set(obj, min_frame);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
ELM_API int
|
||||
elm_animation_view_min_frame_get(const Efl_Ui_Vg_Animation *obj)
|
||||
{
|
||||
return efl_ui_vg_animation_min_frame_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_animation_view_max_frame_set(Efl_Ui_Vg_Animation *obj, int max_frame)
|
||||
{
|
||||
efl_ui_vg_animation_max_frame_set(obj, max_frame);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
ELM_API int
|
||||
elm_animation_view_max_frame_get(const Efl_Ui_Vg_Animation *obj)
|
||||
{
|
||||
return efl_ui_vg_animation_max_frame_get(obj);
|
||||
|
|
|
@ -72,7 +72,7 @@ typedef enum
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI void elm_animation_view_auto_play_set(Elm_Animation_View *obj, Eina_Bool auto_play);
|
||||
ELM_API void elm_animation_view_auto_play_set(Elm_Animation_View *obj, Eina_Bool auto_play);
|
||||
|
||||
/**
|
||||
* @brief Animation will be started automatically when it's possible.
|
||||
|
@ -96,7 +96,7 @@ EAPI void elm_animation_view_auto_play_set(Elm_Animation_View *obj, Eina_Bool au
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI Eina_Bool elm_animation_view_auto_play_get(const Elm_Animation_View *obj);
|
||||
ELM_API Eina_Bool elm_animation_view_auto_play_get(const Elm_Animation_View *obj);
|
||||
|
||||
/**
|
||||
* @brief Turn on/off animation looping.
|
||||
|
@ -114,7 +114,7 @@ EAPI Eina_Bool elm_animation_view_auto_play_get(const Elm_Animation_View *obj);
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI void elm_animation_view_auto_repeat_set(Elm_Animation_View *obj, Eina_Bool auto_repeat);
|
||||
ELM_API void elm_animation_view_auto_repeat_set(Elm_Animation_View *obj, Eina_Bool auto_repeat);
|
||||
|
||||
/**
|
||||
* @brief Turn on/off animation looping.
|
||||
|
@ -133,7 +133,7 @@ EAPI void elm_animation_view_auto_repeat_set(Elm_Animation_View *obj, Eina_Bool
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI Eina_Bool elm_animation_view_auto_repeat_get(const Elm_Animation_View *obj);
|
||||
ELM_API Eina_Bool elm_animation_view_auto_repeat_get(const Elm_Animation_View *obj);
|
||||
|
||||
/**
|
||||
* @brief Control animation speed.
|
||||
|
@ -153,7 +153,7 @@ EAPI Eina_Bool elm_animation_view_auto_repeat_get(const Elm_Animation_View *obj)
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI Eina_Bool elm_animation_view_speed_set(Elm_Animation_View *obj, double speed);
|
||||
ELM_API Eina_Bool elm_animation_view_speed_set(Elm_Animation_View *obj, double speed);
|
||||
|
||||
/**
|
||||
* @brief Control animation speed.
|
||||
|
@ -174,7 +174,7 @@ EAPI Eina_Bool elm_animation_view_speed_set(Elm_Animation_View *obj, double spee
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI double elm_animation_view_speed_get(const Elm_Animation_View *obj);
|
||||
ELM_API double elm_animation_view_speed_get(const Elm_Animation_View *obj);
|
||||
|
||||
/**
|
||||
* @brief Get the duration of animation in seconds.
|
||||
|
@ -192,7 +192,7 @@ EAPI double elm_animation_view_speed_get(const Elm_Animation_View *obj);
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI double elm_animation_view_duration_time_get(const Elm_Animation_View *obj);
|
||||
ELM_API double elm_animation_view_duration_time_get(const Elm_Animation_View *obj);
|
||||
|
||||
/**
|
||||
* @brief Set current progress position of animation view object.
|
||||
|
@ -211,7 +211,7 @@ EAPI double elm_animation_view_duration_time_get(const Elm_Animation_View *obj);
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI void elm_animation_view_progress_set(Elm_Animation_View *obj, double progress);
|
||||
ELM_API void elm_animation_view_progress_set(Elm_Animation_View *obj, double progress);
|
||||
|
||||
/**
|
||||
* @brief Set current progress position of animation view object.
|
||||
|
@ -231,7 +231,7 @@ EAPI void elm_animation_view_progress_set(Elm_Animation_View *obj, double progre
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI double elm_animation_view_progress_get(const Elm_Animation_View *obj);
|
||||
ELM_API double elm_animation_view_progress_get(const Elm_Animation_View *obj);
|
||||
|
||||
/**
|
||||
* @brief Number of current frame.
|
||||
|
@ -247,7 +247,7 @@ EAPI double elm_animation_view_progress_get(const Elm_Animation_View *obj);
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI void elm_animation_view_frame_set(Elm_Animation_View *obj, int frame_num);
|
||||
ELM_API void elm_animation_view_frame_set(Elm_Animation_View *obj, int frame_num);
|
||||
|
||||
/**
|
||||
* @brief Number of current frame.
|
||||
|
@ -264,7 +264,7 @@ EAPI void elm_animation_view_frame_set(Elm_Animation_View *obj, int frame_num);
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI int elm_animation_view_frame_get(const Elm_Animation_View *obj);
|
||||
ELM_API int elm_animation_view_frame_get(const Elm_Animation_View *obj);
|
||||
|
||||
/**
|
||||
* @brief Play animation one time instantly when it's available.
|
||||
|
@ -283,7 +283,7 @@ EAPI int elm_animation_view_frame_get(const Elm_Animation_View *obj);
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI Eina_Bool elm_animation_view_play(Elm_Animation_View *obj);
|
||||
ELM_API Eina_Bool elm_animation_view_play(Elm_Animation_View *obj);
|
||||
|
||||
/**
|
||||
* @brief Play back animation one time instantly when it's available.
|
||||
|
@ -302,7 +302,7 @@ EAPI Eina_Bool elm_animation_view_play(Elm_Animation_View *obj);
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI Eina_Bool elm_animation_view_play_back(Elm_Animation_View *obj);
|
||||
ELM_API Eina_Bool elm_animation_view_play_back(Elm_Animation_View *obj);
|
||||
|
||||
/**
|
||||
* @brief Pause current animation instantly.
|
||||
|
@ -320,7 +320,7 @@ EAPI Eina_Bool elm_animation_view_play_back(Elm_Animation_View *obj);
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI Eina_Bool elm_animation_view_pause(Elm_Animation_View *obj);
|
||||
ELM_API Eina_Bool elm_animation_view_pause(Elm_Animation_View *obj);
|
||||
|
||||
/**
|
||||
* @brief Resume paused animation to continue animation.
|
||||
|
@ -335,7 +335,7 @@ EAPI Eina_Bool elm_animation_view_pause(Elm_Animation_View *obj);
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI Eina_Bool elm_animation_view_resume(Elm_Animation_View *obj);
|
||||
ELM_API Eina_Bool elm_animation_view_resume(Elm_Animation_View *obj);
|
||||
|
||||
/**
|
||||
* @brief Stop playing animation.
|
||||
|
@ -352,7 +352,7 @@ EAPI Eina_Bool elm_animation_view_resume(Elm_Animation_View *obj);
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI Eina_Bool elm_animation_view_stop(Elm_Animation_View *obj);
|
||||
ELM_API Eina_Bool elm_animation_view_stop(Elm_Animation_View *obj);
|
||||
|
||||
/** Get the default view size that specified from vector resource.
|
||||
*
|
||||
|
@ -360,7 +360,7 @@ EAPI Eina_Bool elm_animation_view_stop(Elm_Animation_View *obj);
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI Eina_Size2D elm_animation_view_default_size_get(const Elm_Animation_View *obj);
|
||||
ELM_API Eina_Size2D elm_animation_view_default_size_get(const Elm_Animation_View *obj);
|
||||
|
||||
|
||||
/**
|
||||
|
@ -376,7 +376,7 @@ EAPI Eina_Size2D elm_animation_view_default_size_get(const Elm_Animation_View *o
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI Eina_Bool elm_animation_view_is_playing_back(Elm_Animation_View *obj);
|
||||
ELM_API Eina_Bool elm_animation_view_is_playing_back(Elm_Animation_View *obj);
|
||||
|
||||
/**
|
||||
* @brief Get the index of end frame of the animation view, if it's animated.
|
||||
|
@ -390,7 +390,7 @@ EAPI Eina_Bool elm_animation_view_is_playing_back(Elm_Animation_View *obj);
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI int elm_animation_view_frame_count_get(const Elm_Animation_View *obj);
|
||||
ELM_API int elm_animation_view_frame_count_get(const Elm_Animation_View *obj);
|
||||
|
||||
/**
|
||||
* @brief The start progress of the play. Default value is 0.
|
||||
|
@ -404,7 +404,7 @@ EAPI int elm_animation_view_frame_count_get(const Elm_Animation_View *obj);
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI void elm_animation_view_min_progress_set(Elm_Animation_View *obj, double min_progress);
|
||||
ELM_API void elm_animation_view_min_progress_set(Elm_Animation_View *obj, double min_progress);
|
||||
|
||||
/**
|
||||
* @brief The start progress of the play. Default value is 0.
|
||||
|
@ -419,7 +419,7 @@ EAPI void elm_animation_view_min_progress_set(Elm_Animation_View *obj, double mi
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI double elm_animation_view_min_progress_get(const Elm_Animation_View *obj);
|
||||
ELM_API double elm_animation_view_min_progress_get(const Elm_Animation_View *obj);
|
||||
|
||||
/**
|
||||
* @brief The last progress of the play. Default value is 1.
|
||||
|
@ -433,7 +433,7 @@ EAPI double elm_animation_view_min_progress_get(const Elm_Animation_View *obj);
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI void elm_animation_view_max_progress_set(Elm_Animation_View *obj, double max_progress);
|
||||
ELM_API void elm_animation_view_max_progress_set(Elm_Animation_View *obj, double max_progress);
|
||||
|
||||
/**
|
||||
* @brief The last progress of the play. Default value is 1.
|
||||
|
@ -448,7 +448,7 @@ EAPI void elm_animation_view_max_progress_set(Elm_Animation_View *obj, double ma
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI double elm_animation_view_max_progress_get(const Elm_Animation_View *obj);
|
||||
ELM_API double elm_animation_view_max_progress_get(const Elm_Animation_View *obj);
|
||||
|
||||
/**
|
||||
* @brief The start frame of the play. Default value is 0.
|
||||
|
@ -463,7 +463,7 @@ EAPI double elm_animation_view_max_progress_get(const Elm_Animation_View *obj);
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI void elm_animation_view_min_frame_set(Elm_Animation_View *obj, int min_frame);
|
||||
ELM_API void elm_animation_view_min_frame_set(Elm_Animation_View *obj, int min_frame);
|
||||
|
||||
/**
|
||||
* @brief The start frame of the play. Default value is 0.
|
||||
|
@ -479,7 +479,7 @@ EAPI void elm_animation_view_min_frame_set(Elm_Animation_View *obj, int min_fram
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI int elm_animation_view_min_frame_get(const Elm_Animation_View *obj);
|
||||
ELM_API int elm_animation_view_min_frame_get(const Elm_Animation_View *obj);
|
||||
|
||||
/**
|
||||
* @brief The last frame of the play. Default value is
|
||||
|
@ -495,7 +495,7 @@ EAPI int elm_animation_view_min_frame_get(const Elm_Animation_View *obj);
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI void elm_animation_view_max_frame_set(Elm_Animation_View *obj, int max_frame);
|
||||
ELM_API void elm_animation_view_max_frame_set(Elm_Animation_View *obj, int max_frame);
|
||||
|
||||
/**
|
||||
* @brief The last frame of the play. Default value is
|
||||
|
@ -512,7 +512,7 @@ EAPI void elm_animation_view_max_frame_set(Elm_Animation_View *obj, int max_fram
|
|||
*
|
||||
* @ingroup Elm_Animation_View
|
||||
*/
|
||||
EAPI int elm_animation_view_max_frame_get(const Elm_Animation_View *obj);
|
||||
ELM_API int elm_animation_view_max_frame_get(const Elm_Animation_View *obj);
|
||||
|
||||
#ifdef EFL_BETA_API_SUPPORT
|
||||
/** Elementary vg_animation class
|
||||
|
@ -521,7 +521,7 @@ EAPI int elm_animation_view_max_frame_get(const Elm_Animation_View *obj);
|
|||
*/
|
||||
#define EFL_UI_VG_ANIMATION_LEGACY_CLASS efl_ui_vg_animation_legacy_class_get()
|
||||
|
||||
EWAPI const Efl_Class *efl_ui_vg_animation_legacy_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *efl_ui_vg_animation_legacy_class_get(void) EINA_CONST;
|
||||
#endif /* EFL_BETA_API_SUPPORT */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
*
|
||||
* @since 1.23
|
||||
*/
|
||||
EAPI Elm_Animation_View *elm_animation_view_add(Evas_Object *parent);
|
||||
ELM_API Elm_Animation_View *elm_animation_view_add(Evas_Object *parent);
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -32,7 +32,7 @@ NULL, otherwise.
|
|||
*
|
||||
* @since 1.23
|
||||
*/
|
||||
EAPI Eina_Bool elm_animation_view_file_set(Elm_Animation_View *obj, const char *file, const char *key);
|
||||
ELM_API Eina_Bool elm_animation_view_file_set(Elm_Animation_View *obj, const char *file, const char *key);
|
||||
|
||||
/**
|
||||
* @brief Get current animation view state.
|
||||
|
@ -45,5 +45,5 @@ EAPI Eina_Bool elm_animation_view_file_set(Elm_Animation_View *obj, const
|
|||
*
|
||||
* @since 1.23
|
||||
*/
|
||||
EAPI Elm_Animation_View_State elm_animation_view_state_get(Elm_Animation_View *obj);
|
||||
ELM_API Elm_Animation_View_State elm_animation_view_state_get(Elm_Animation_View *obj);
|
||||
|
||||
|
|
|
@ -467,80 +467,80 @@ _efl_ui_video_legacy_efl_object_constructor(Eo *obj, void *_pd EINA_UNUSED)
|
|||
return obj;
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_video_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
return elm_legacy_add(EFL_UI_VIDEO_LEGACY_CLASS, parent);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_video_file_set(Eo *obj, const char *filename)
|
||||
{
|
||||
return efl_file_simple_load((Eo *) obj, filename, NULL);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_video_file_get(Eo *obj, const char **filename)
|
||||
{
|
||||
efl_file_simple_get((Eo *) obj, filename, NULL);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_video_audio_level_set(Evas_Object *obj, double volume)
|
||||
{
|
||||
efl_audio_control_volume_set(obj, volume);
|
||||
}
|
||||
|
||||
EAPI double
|
||||
ELM_API double
|
||||
elm_video_audio_level_get(const Evas_Object *obj)
|
||||
{
|
||||
return efl_audio_control_volume_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_video_audio_mute_set(Evas_Object *obj, Eina_Bool mute)
|
||||
{
|
||||
efl_audio_control_mute_set(obj, mute);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_video_audio_mute_get(const Evas_Object *obj)
|
||||
{
|
||||
return efl_audio_control_mute_get(obj);
|
||||
}
|
||||
|
||||
EAPI double
|
||||
ELM_API double
|
||||
elm_video_play_length_get(const Evas_Object *obj)
|
||||
{
|
||||
return efl_playable_length_get(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_video_is_seekable_get(const Evas_Object *obj)
|
||||
{
|
||||
return efl_playable_seekable_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_video_play_position_set(Evas_Object *obj, double position)
|
||||
{
|
||||
efl_player_playback_position_set(obj, position);
|
||||
}
|
||||
|
||||
EAPI double
|
||||
ELM_API double
|
||||
elm_video_play_position_get(const Evas_Object *obj)
|
||||
{
|
||||
return efl_player_playback_position_get(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_video_is_playing_get(Evas_Object *obj)
|
||||
{
|
||||
return efl_player_playing_get(obj) && !efl_player_paused_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_video_play(Evas_Object *obj)
|
||||
{
|
||||
if (efl_player_playing_get(obj))
|
||||
|
@ -549,13 +549,13 @@ elm_video_play(Evas_Object *obj)
|
|||
efl_player_playing_set(obj, EINA_TRUE);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_video_stop(Evas_Object *obj)
|
||||
{
|
||||
efl_player_playing_set(obj, EINA_FALSE);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_video_pause(Evas_Object *obj)
|
||||
{
|
||||
efl_player_paused_set(obj, EINA_TRUE);
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_video_remember_position_set(Efl_Ui_Video *obj, Eina_Bool remember)
|
||||
{
|
||||
efl_ui_video_remember_position_set(obj, remember);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_video_remember_position_get(const Efl_Ui_Video *obj)
|
||||
{
|
||||
return efl_ui_video_remember_position_get(obj);
|
||||
}
|
||||
|
||||
EAPI Efl_Canvas_Object *
|
||||
ELM_API Efl_Canvas_Object *
|
||||
elm_video_emotion_get(const Efl_Ui_Video *obj)
|
||||
{
|
||||
return efl_ui_video_emotion_get(obj);
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
ELM_API const char *
|
||||
elm_video_title_get(const Efl_Ui_Video *obj)
|
||||
{
|
||||
return efl_ui_video_title_get(obj);
|
||||
|
|
|
@ -25,7 +25,7 @@ typedef Eo Efl_Ui_Video;
|
|||
*
|
||||
* @ingroup Elm_Video_Group
|
||||
*/
|
||||
EAPI void elm_video_remember_position_set(Efl_Ui_Video *obj, Eina_Bool remember);
|
||||
ELM_API void elm_video_remember_position_set(Efl_Ui_Video *obj, Eina_Bool remember);
|
||||
|
||||
/**
|
||||
* @brief Set whether the object can remember the last played position.
|
||||
|
@ -39,7 +39,7 @@ EAPI void elm_video_remember_position_set(Efl_Ui_Video *obj, Eina_Bool remember)
|
|||
*
|
||||
* @ingroup Elm_Video_Group
|
||||
*/
|
||||
EAPI Eina_Bool elm_video_remember_position_get(const Efl_Ui_Video *obj);
|
||||
ELM_API Eina_Bool elm_video_remember_position_get(const Efl_Ui_Video *obj);
|
||||
|
||||
/**
|
||||
* @brief Get the underlying Emotion object.
|
||||
|
@ -50,7 +50,7 @@ EAPI Eina_Bool elm_video_remember_position_get(const Efl_Ui_Video *obj);
|
|||
*
|
||||
* @ingroup Elm_Video_Group
|
||||
*/
|
||||
EAPI Efl_Canvas_Object *elm_video_emotion_get(const Efl_Ui_Video *obj);
|
||||
ELM_API Efl_Canvas_Object *elm_video_emotion_get(const Efl_Ui_Video *obj);
|
||||
|
||||
/**
|
||||
* @brief Get the title (for instance DVD title) from this emotion object.
|
||||
|
@ -65,6 +65,6 @@ EAPI Efl_Canvas_Object *elm_video_emotion_get(const Efl_Ui_Video *obj);
|
|||
*
|
||||
* @ingroup Elm_Video_Group
|
||||
*/
|
||||
EAPI const char *elm_video_title_get(const Efl_Ui_Video *obj);
|
||||
ELM_API const char *elm_video_title_get(const Efl_Ui_Video *obj);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -17,7 +17,7 @@ typedef Eo Elm_Video;
|
|||
*
|
||||
* @ingroup Elm_Video
|
||||
*/
|
||||
EAPI Evas_Object *elm_player_add(Evas_Object *parent);
|
||||
ELM_API Evas_Object *elm_player_add(Evas_Object *parent);
|
||||
|
||||
/**
|
||||
* @brief Add a new Elm_Video object to the given parent Elementary (container) object.
|
||||
|
@ -31,7 +31,7 @@ EAPI Evas_Object *elm_player_add(Evas_Object *parent);
|
|||
*
|
||||
* @ingroup Elm_Video
|
||||
*/
|
||||
EAPI Evas_Object *elm_video_add(Evas_Object *parent);
|
||||
ELM_API Evas_Object *elm_video_add(Evas_Object *parent);
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -53,7 +53,7 @@ URI could be remote source of video, like http:// or local source like
|
|||
WebCam (v4l2://). (You can use Emotion API to request and list
|
||||
the available Webcam on your system).
|
||||
*/
|
||||
EAPI Eina_Bool elm_video_file_set(Eo *obj, const char *filename);
|
||||
ELM_API Eina_Bool elm_video_file_set(Eo *obj, const char *filename);
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -65,7 +65,7 @@ EAPI Eina_Bool elm_video_file_set(Eo *obj, const char *filename);
|
|||
*
|
||||
* @since 1.14
|
||||
*/
|
||||
EAPI void elm_video_file_get(Eo *obj, const char **filename);
|
||||
ELM_API void elm_video_file_get(Eo *obj, const char **filename);
|
||||
|
||||
/**
|
||||
* @brief Set the audio level of an Elm_Video object.
|
||||
|
@ -74,7 +74,7 @@ EAPI void elm_video_file_get(Eo *obj, const char **filename);
|
|||
*
|
||||
* @ingroup Elm_Video
|
||||
*/
|
||||
EAPI void elm_video_audio_level_set(Evas_Object *obj, double volume);
|
||||
ELM_API void elm_video_audio_level_set(Evas_Object *obj, double volume);
|
||||
|
||||
/**
|
||||
* @brief Get the audio level of the current video.
|
||||
|
@ -83,7 +83,7 @@ EAPI void elm_video_audio_level_set(Evas_Object *obj, double volume);
|
|||
*
|
||||
* @ingroup Elm_Video
|
||||
*/
|
||||
EAPI double elm_video_audio_level_get(const Evas_Object *obj);
|
||||
ELM_API double elm_video_audio_level_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief Change the mute state of the Elm_Video object.
|
||||
|
@ -92,7 +92,7 @@ EAPI double elm_video_audio_level_get(const Evas_Object *obj);
|
|||
*
|
||||
* @ingroup Elm_Video
|
||||
*/
|
||||
EAPI void elm_video_audio_mute_set(Evas_Object *obj, Eina_Bool mute);
|
||||
ELM_API void elm_video_audio_mute_set(Evas_Object *obj, Eina_Bool mute);
|
||||
|
||||
/**
|
||||
* @brief Get whether audio is muted.
|
||||
|
@ -101,7 +101,7 @@ EAPI void elm_video_audio_mute_set(Evas_Object *obj, Eina_Bool mute);
|
|||
*
|
||||
* @ingroup Elm_Video
|
||||
*/
|
||||
EAPI Eina_Bool elm_video_audio_mute_get(const Evas_Object *obj);
|
||||
ELM_API Eina_Bool elm_video_audio_mute_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief Get the total playing time (in seconds) of the Elm_Video object.
|
||||
|
@ -110,7 +110,7 @@ EAPI Eina_Bool elm_video_audio_mute_get(const Evas_Object *obj);
|
|||
*
|
||||
* @ingroup Elm_Video
|
||||
*/
|
||||
EAPI double elm_video_play_length_get(const Evas_Object *obj);
|
||||
ELM_API double elm_video_play_length_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief Is it possible to seek inside the video.
|
||||
|
@ -119,7 +119,7 @@ EAPI double elm_video_play_length_get(const Evas_Object *obj);
|
|||
*
|
||||
* @ingroup Elm_Video
|
||||
*/
|
||||
EAPI Eina_Bool elm_video_is_seekable_get(const Evas_Object *obj);
|
||||
ELM_API Eina_Bool elm_video_is_seekable_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief Set the current position (in seconds) to be played in the Elm_Video
|
||||
|
@ -130,7 +130,7 @@ EAPI Eina_Bool elm_video_is_seekable_get(const Evas_Object *obj);
|
|||
*
|
||||
* @ingroup Elm_Video
|
||||
*/
|
||||
EAPI void elm_video_play_position_set(Evas_Object *obj, double position);
|
||||
ELM_API void elm_video_play_position_set(Evas_Object *obj, double position);
|
||||
|
||||
/**
|
||||
* @brief Get the current position (in seconds) being played in the Elm_Video
|
||||
|
@ -140,7 +140,7 @@ EAPI void elm_video_play_position_set(Evas_Object *obj, double position);
|
|||
*
|
||||
* @ingroup Elm_Video
|
||||
*/
|
||||
EAPI double elm_video_play_position_get(const Evas_Object *obj);
|
||||
ELM_API double elm_video_play_position_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief Get whether the video actually playing.
|
||||
|
@ -151,27 +151,27 @@ EAPI double elm_video_play_position_get(const Evas_Object *obj);
|
|||
*
|
||||
* @ingroup Elm_Video
|
||||
*/
|
||||
EAPI Eina_Bool elm_video_is_playing_get(Evas_Object *obj);
|
||||
ELM_API Eina_Bool elm_video_is_playing_get(Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief Start playing a video.
|
||||
*
|
||||
* @ingroup Elm_Video
|
||||
*/
|
||||
EAPI void elm_video_play(Evas_Object *obj);
|
||||
ELM_API void elm_video_play(Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief Stop a video.
|
||||
*
|
||||
* @ingroup Elm_Video
|
||||
*/
|
||||
EAPI void elm_video_stop(Evas_Object *obj);
|
||||
ELM_API void elm_video_stop(Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief Pause a video.
|
||||
*
|
||||
* @ingroup Elm_Video
|
||||
*/
|
||||
EAPI void elm_video_pause(Evas_Object *obj);
|
||||
ELM_API void elm_video_pause(Evas_Object *obj);
|
||||
|
||||
#include "efl_ui_video_eo.legacy.h"
|
||||
|
|
|
@ -20,7 +20,7 @@ typedef Eo Efl_Ui_Video_Legacy;
|
|||
*/
|
||||
#define EFL_UI_VIDEO_LEGACY_CLASS efl_ui_video_legacy_class_get()
|
||||
|
||||
EWAPI const Efl_Class *efl_ui_video_legacy_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *efl_ui_video_legacy_class_get(void) EINA_CONST;
|
||||
#endif /* EFL_BETA_API_SUPPORT */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1101,7 +1101,7 @@ _propagate_event_legacy(Eo *parent, const Efl_Event *event, Eo *obj, Elm_Event_C
|
|||
* If elm_widget_focus_region_get() returns an empty rect (w or h <= 0),
|
||||
* this function will ignore region show action.
|
||||
*/
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_focus_region_show(Eo *obj)
|
||||
{
|
||||
Evas_Coord ox, oy;
|
||||
|
@ -1161,7 +1161,7 @@ elm_widget_focus_region_show(Eo *obj)
|
|||
}
|
||||
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_api_check(int ver)
|
||||
{
|
||||
if (ver != ELM_INTERNAL_API_VERSION)
|
||||
|
@ -1172,7 +1172,7 @@ elm_widget_api_check(int ver)
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_access(Evas_Object *obj,
|
||||
Eina_Bool is_access)
|
||||
{
|
||||
|
@ -1208,7 +1208,7 @@ _elm_widget_theme_helper(Eina_Error err, Eina_Bool *err_default, Eina_Bool *err_
|
|||
*err_generic = EINA_TRUE;
|
||||
}
|
||||
|
||||
EAPI Eina_Error
|
||||
ELM_API Eina_Error
|
||||
elm_widget_theme(Evas_Object *obj)
|
||||
{
|
||||
const Eina_List *l;
|
||||
|
@ -1240,7 +1240,7 @@ elm_widget_theme(Evas_Object *obj)
|
|||
return EFL_UI_THEME_APPLY_ERROR_NONE;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_theme_specific(Evas_Object *obj,
|
||||
Elm_Theme *th,
|
||||
Eina_Bool force)
|
||||
|
@ -1371,7 +1371,7 @@ _efl_ui_widget_efl_ui_i18n_mirrored_automatic_set(Eo *obj, Elm_Widget_Smart_Data
|
|||
*
|
||||
* @see elm_widget_sub_object_add()
|
||||
*/
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_sub_object_parent_add(Evas_Object *sobj)
|
||||
{
|
||||
Eo *parent = NULL;
|
||||
|
@ -1658,7 +1658,7 @@ _efl_ui_widget_resize_object_set(Eo *obj, Elm_Widget_Smart_Data *sd, Eo *sobj)
|
|||
* exchanging a hover object, of cleaning the old hover "target"
|
||||
* before
|
||||
*/
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_hover_object_set(Eo *obj, Evas_Object *sobj)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -1701,7 +1701,7 @@ _efl_ui_widget_focus_allow_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data
|
|||
return sd->can_focus;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_child_can_focus_get(const Eo *obj)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -1779,7 +1779,7 @@ _propagate_bool_property(Elm_Widget_Smart_Data *pd, Eina_Bool flag, void (*prope
|
|||
*
|
||||
* @ingroup Widget
|
||||
*/
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_tree_unfocusable_set(Eo *obj, Eina_Bool tree_unfocusable)
|
||||
{
|
||||
Elm_Widget_Smart_Data *pd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -1809,7 +1809,7 @@ elm_widget_tree_unfocusable_set(Eo *obj, Eina_Bool tree_unfocusable)
|
|||
*
|
||||
* @ingroup Widget
|
||||
*/
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_tree_unfocusable_get(const Eo *obj)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -1830,7 +1830,7 @@ elm_widget_tree_unfocusable_get(const Eo *obj)
|
|||
*
|
||||
* @ingroup Widget
|
||||
*/
|
||||
EAPI Eina_List*
|
||||
ELM_API Eina_List*
|
||||
elm_widget_can_focus_child_list_get(const Eo *obj)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -1859,7 +1859,7 @@ elm_widget_can_focus_child_list_get(const Eo *obj)
|
|||
}
|
||||
|
||||
/** @internal */
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_highlight_ignore_set(Eo *obj, Eina_Bool ignore)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -1869,7 +1869,7 @@ elm_widget_highlight_ignore_set(Eo *obj, Eina_Bool ignore)
|
|||
}
|
||||
|
||||
/** @internal */
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_highlight_ignore_get(const Eo *obj)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -1879,7 +1879,7 @@ elm_widget_highlight_ignore_get(const Eo *obj)
|
|||
}
|
||||
|
||||
/** @internal */
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_highlight_in_theme_set(Eo *obj, Eina_Bool highlight)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -1902,7 +1902,7 @@ _elm_widget_highlight_in_theme_update(Eo *obj)
|
|||
}
|
||||
|
||||
/** @internal */
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_highlight_in_theme_get(const Eo *obj)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -1912,7 +1912,7 @@ elm_widget_highlight_in_theme_get(const Eo *obj)
|
|||
}
|
||||
|
||||
/** @internal */
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_access_highlight_in_theme_set(Eo *obj, Eina_Bool highlight)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -1922,7 +1922,7 @@ elm_widget_access_highlight_in_theme_set(Eo *obj, Eina_Bool highlight)
|
|||
}
|
||||
|
||||
/** @internal */
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_access_highlight_in_theme_get(const Eo *obj)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -1932,7 +1932,7 @@ elm_widget_access_highlight_in_theme_get(const Eo *obj)
|
|||
}
|
||||
|
||||
/** @internal */
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_highlight_get(const Eo *obj)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -1941,25 +1941,25 @@ elm_widget_highlight_get(const Eo *obj)
|
|||
return sd->highlighted;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_is(const Evas_Object *obj)
|
||||
{
|
||||
return _elm_widget_is(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_access_info_set(Efl_Ui_Widget *obj, const char *txt)
|
||||
{
|
||||
efl_ui_widget_access_info_set(obj, txt);
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
ELM_API const char *
|
||||
elm_widget_access_info_get(const Efl_Ui_Widget *obj)
|
||||
{
|
||||
return efl_ui_widget_access_info_get(obj);
|
||||
}
|
||||
|
||||
EAPI Eo *
|
||||
ELM_API Eo *
|
||||
elm_widget_top_get(const Eo *obj)
|
||||
{
|
||||
Efl_Ui_Widget *parent = elm_widget_parent_get(obj);
|
||||
|
@ -1972,7 +1972,7 @@ elm_widget_top_get(const Eo *obj)
|
|||
return (Evas_Object *)obj;
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_widget_parent_widget_get(const Evas_Object *obj)
|
||||
{
|
||||
Evas_Object *parent;
|
||||
|
@ -2000,7 +2000,7 @@ elm_widget_parent_widget_get(const Evas_Object *obj)
|
|||
return parent;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_event_callback_add(Eo *obj, Elm_Event_Cb func, const void *data)
|
||||
{
|
||||
API_ENTRY return;
|
||||
|
@ -2017,7 +2017,7 @@ elm_widget_event_callback_add(Eo *obj, Elm_Event_Cb func, const void *data)
|
|||
sd->event_cb = eina_list_append(sd->event_cb, ecb);
|
||||
}
|
||||
|
||||
EAPI void *
|
||||
ELM_API void *
|
||||
elm_widget_event_callback_del(Eo *obj, Elm_Event_Cb func, const void *data)
|
||||
{
|
||||
API_ENTRY return NULL;
|
||||
|
@ -2073,7 +2073,7 @@ _propagate_event(void *data EINA_UNUSED, const Efl_Event *eo_event)
|
|||
}
|
||||
|
||||
/** @internal */
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_parent_highlight_set(Eo *obj, Eina_Bool highlighted)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd =efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -2244,7 +2244,7 @@ _efl_ui_widget_scroll_hold_pop(Eo *obj, Elm_Widget_Smart_Data *sd)
|
|||
if (sd->scroll_hold < 0) sd->scroll_hold = 0;
|
||||
}
|
||||
|
||||
EAPI int
|
||||
ELM_API int
|
||||
elm_widget_scroll_hold_get(const Eo *obj)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -2322,7 +2322,7 @@ _efl_ui_widget_scroll_freeze_pop(Eo *obj, Elm_Widget_Smart_Data *sd)
|
|||
if (sd->scroll_freeze < 0) sd->scroll_freeze = 0;
|
||||
}
|
||||
|
||||
EAPI int
|
||||
ELM_API int
|
||||
elm_widget_scroll_freeze_get(const Eo *obj)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -2360,7 +2360,7 @@ _efl_ui_widget_efl_gfx_entity_scale_get(const Eo *obj EINA_UNUSED, Elm_Widget_Sm
|
|||
return sd->scale;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_theme_set(Evas_Object *obj, Elm_Theme *th)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -2377,7 +2377,7 @@ elm_widget_theme_set(Evas_Object *obj, Elm_Theme *th)
|
|||
}
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_part_text_set(Eo *obj, const char *part, const char *label)
|
||||
{
|
||||
/* legacy support: combobox was special (internal entry is text object). */
|
||||
|
@ -2387,7 +2387,7 @@ elm_widget_part_text_set(Eo *obj, const char *part, const char *label)
|
|||
elm_layout_text_set(obj, part, label);
|
||||
}
|
||||
|
||||
EAPI const char*
|
||||
ELM_API const char*
|
||||
elm_widget_part_text_get(const Eo *obj, const char *part)
|
||||
{
|
||||
/* legacy support: combobox was special (internal entry is text object). */
|
||||
|
@ -2489,7 +2489,7 @@ elm_widget_part_translatable_text_set(Eo *obj, const char *part, const char *lab
|
|||
}
|
||||
|
||||
/* legacy only */
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_domain_part_text_translatable_set(Eo *obj, const char *part, const char *domain, Eina_Bool translatable)
|
||||
{
|
||||
Elm_Translate_String_Data *ts;
|
||||
|
@ -2580,32 +2580,32 @@ _efl_ui_widget_access_info_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data
|
|||
}
|
||||
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_scroll_hold_push(Efl_Ui_Widget *obj)
|
||||
{
|
||||
efl_ui_widget_scroll_hold_push(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_scroll_hold_pop(Efl_Ui_Widget *obj)
|
||||
{
|
||||
efl_ui_widget_scroll_hold_pop(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_scroll_freeze_push(Efl_Ui_Widget *obj)
|
||||
{
|
||||
efl_ui_widget_scroll_freeze_push(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_scroll_freeze_pop(Efl_Ui_Widget *obj)
|
||||
{
|
||||
efl_ui_widget_scroll_freeze_pop(obj);
|
||||
}
|
||||
|
||||
|
||||
EAPI Elm_Theme *
|
||||
ELM_API Elm_Theme *
|
||||
elm_widget_theme_get(const Evas_Object *obj)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -2645,7 +2645,7 @@ _efl_ui_widget_style_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd)
|
|||
return ret;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_tooltip_add(Eo *obj, Elm_Tooltip *tt)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -2654,7 +2654,7 @@ elm_widget_tooltip_add(Eo *obj, Elm_Tooltip *tt)
|
|||
sd->tooltips = eina_list_append(sd->tooltips, tt);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_tooltip_del(Eo *obj, Elm_Tooltip *tt)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -2663,7 +2663,7 @@ elm_widget_tooltip_del(Eo *obj, Elm_Tooltip *tt)
|
|||
sd->tooltips = eina_list_remove(sd->tooltips, tt);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_cursor_add(Eo *obj, Elm_Cursor *cur)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -2672,7 +2672,7 @@ elm_widget_cursor_add(Eo *obj, Elm_Cursor *cur)
|
|||
sd->cursors = eina_list_append(sd->cursors, cur);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_cursor_del(Eo *obj, Elm_Cursor *cur)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -2681,7 +2681,7 @@ elm_widget_cursor_del(Eo *obj, Elm_Cursor *cur)
|
|||
sd->cursors = eina_list_remove(sd->cursors, cur);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_scroll_lock_set(Eo *obj, Efl_Ui_Layout_Orientation block)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -2702,7 +2702,7 @@ elm_widget_scroll_lock_set(Eo *obj, Efl_Ui_Layout_Orientation block)
|
|||
}
|
||||
}
|
||||
|
||||
EAPI Efl_Ui_Layout_Orientation
|
||||
ELM_API Efl_Ui_Layout_Orientation
|
||||
elm_widget_scroll_lock_get(const Eo *obj)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -2715,7 +2715,7 @@ elm_widget_scroll_lock_get(const Eo *obj)
|
|||
return block;
|
||||
}
|
||||
|
||||
EAPI int
|
||||
ELM_API int
|
||||
elm_widget_scroll_child_locked_x_get(const Eo *obj)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -2723,7 +2723,7 @@ elm_widget_scroll_child_locked_x_get(const Eo *obj)
|
|||
return sd->child_drag_x_locked;
|
||||
}
|
||||
|
||||
EAPI int
|
||||
ELM_API int
|
||||
elm_widget_scroll_child_locked_y_get(const Eo *obj)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -2731,7 +2731,7 @@ elm_widget_scroll_child_locked_y_get(const Eo *obj)
|
|||
return sd->child_drag_y_locked;
|
||||
}
|
||||
|
||||
EAPI Eina_Error
|
||||
ELM_API Eina_Error
|
||||
elm_widget_theme_object_set(Evas_Object *obj, Evas_Object *edj, const char *wname, const char *welement, const char *wstyle)
|
||||
{
|
||||
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -2832,7 +2832,7 @@ _efl_ui_widget_efl_object_dbg_info_get(Eo *eo_obj, Elm_Widget_Smart_Data *_pd EI
|
|||
}
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_is_check(const Evas_Object *obj)
|
||||
{
|
||||
static int abort_on_warn = -1;
|
||||
|
@ -2851,7 +2851,7 @@ elm_widget_is_check(const Evas_Object *obj)
|
|||
|
||||
/* If you changed a legacy widget's class name,
|
||||
* please update the "legacy_type_table". */
|
||||
EAPI const char *
|
||||
ELM_API const char *
|
||||
elm_widget_type_get(const Evas_Object *obj)
|
||||
{
|
||||
const char *ret;
|
||||
|
@ -2875,7 +2875,7 @@ elm_widget_type_get(const Evas_Object *obj)
|
|||
return ret;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_type_check(const Evas_Object *obj,
|
||||
const char *type,
|
||||
const char *func)
|
||||
|
@ -2905,7 +2905,7 @@ elm_widget_type_check(const Evas_Object *obj,
|
|||
}
|
||||
|
||||
/** @internal */
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_widget_name_find(const Eo *obj, const char *name, int recurse)
|
||||
{
|
||||
Evas_Object *child;
|
||||
|
@ -2946,7 +2946,7 @@ elm_widget_name_find(const Eo *obj, const char *name, int recurse)
|
|||
* @see elm_widget_stringlist_free()
|
||||
* @ingroup Widget
|
||||
*/
|
||||
EAPI Eina_List *
|
||||
ELM_API Eina_List *
|
||||
elm_widget_stringlist_get(const char *str)
|
||||
{
|
||||
Eina_List *list = NULL;
|
||||
|
@ -2971,7 +2971,7 @@ elm_widget_stringlist_get(const char *str)
|
|||
return list;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_stringlist_free(Eina_List *list)
|
||||
{
|
||||
const char *s;
|
||||
|
@ -2980,7 +2980,7 @@ elm_widget_stringlist_free(Eina_List *list)
|
|||
}
|
||||
|
||||
/* internal */
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_focus_mouse_up_handle(Eo *obj)
|
||||
{
|
||||
Elm_Widget_Smart_Data *pd = efl_data_scope_get(obj, MY_CLASS);
|
||||
|
@ -3031,7 +3031,7 @@ elm_widget_focus_mouse_up_handle(Eo *obj)
|
|||
*
|
||||
* @ingroup Widget
|
||||
*/
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_focus_highlight_focus_part_geometry_get(const Evas_Object *obj,
|
||||
Evas_Coord *x,
|
||||
Evas_Coord *y,
|
||||
|
@ -3101,7 +3101,7 @@ _efl_ui_widget_focus_highlight_geometry_get(const Eo *obj, Elm_Widget_Smart_Data
|
|||
return r;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_activate(Evas_Object *obj, Efl_Ui_Activate act)
|
||||
{
|
||||
Evas_Object *parent;
|
||||
|
@ -3137,7 +3137,7 @@ elm_widget_activate(Evas_Object *obj, Efl_Ui_Activate act)
|
|||
* @ingroup Widget
|
||||
*/
|
||||
/* Legacy only */
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_display_mode_set(Evas_Object *obj, Evas_Display_Mode dispmode)
|
||||
{
|
||||
Evas_Display_Mode prev_dispmode;
|
||||
|
@ -3235,7 +3235,7 @@ _efl_ui_widget_focus_move_policy_automatic_set(Eo *obj, Elm_Widget_Smart_Data *s
|
|||
* @param name Name of the klass to use.
|
||||
* @return Whether the name was different and thus replaced.
|
||||
*/
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_theme_klass_set(Evas_Object *obj, const char *name)
|
||||
{
|
||||
Elm_Widget_Smart_Data *pd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -3251,7 +3251,7 @@ elm_widget_theme_klass_set(Evas_Object *obj, const char *name)
|
|||
* @param obj The widget.
|
||||
* @return The current klass name of internal canvas object.
|
||||
*/
|
||||
EAPI const char *
|
||||
ELM_API const char *
|
||||
elm_widget_theme_klass_get(const Evas_Object *obj)
|
||||
{
|
||||
Elm_Widget_Smart_Data *pd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -3269,7 +3269,7 @@ elm_widget_theme_klass_get(const Evas_Object *obj)
|
|||
* @param name Name of the element to use.
|
||||
* @return Whether the name was different and thus replaced.
|
||||
*/
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_theme_element_set(Evas_Object *obj, const char *name)
|
||||
{
|
||||
Elm_Widget_Smart_Data *pd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -3288,7 +3288,7 @@ elm_widget_theme_element_set(Evas_Object *obj, const char *name)
|
|||
* @param obj The widget.
|
||||
* @return The current element name of internal canvas object.
|
||||
*/
|
||||
EAPI const char *
|
||||
ELM_API const char *
|
||||
elm_widget_theme_element_get(const Evas_Object *obj)
|
||||
{
|
||||
Elm_Widget_Smart_Data *pd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -3306,7 +3306,7 @@ elm_widget_theme_element_get(const Evas_Object *obj)
|
|||
* @param name Name of the style to use.
|
||||
* @return Whether the name was different and thus replaced.
|
||||
*/
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_theme_style_set(Evas_Object *obj, const char *name)
|
||||
{
|
||||
Elm_Widget_Smart_Data *pd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -3325,7 +3325,7 @@ elm_widget_theme_style_set(Evas_Object *obj, const char *name)
|
|||
* @param obj The widget.
|
||||
* @return The current style name of internal canvas object.
|
||||
*/
|
||||
EAPI const char *
|
||||
ELM_API const char *
|
||||
elm_widget_theme_style_get(const Evas_Object *obj)
|
||||
{
|
||||
Elm_Widget_Smart_Data *pd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||
|
@ -3343,7 +3343,7 @@ elm_widget_theme_style_get(const Evas_Object *obj)
|
|||
* @param name An element name of sub object.
|
||||
* @return Whether the style was successfully applied or not.
|
||||
*/
|
||||
EAPI Eina_Error
|
||||
ELM_API Eina_Error
|
||||
elm_widget_element_update(Evas_Object *obj, Evas_Object *component, const char *name)
|
||||
{
|
||||
Eina_Error ret = EFL_UI_THEME_APPLY_ERROR_NONE;
|
||||
|
@ -3673,7 +3673,7 @@ _elm_widget_item_widget_get(const Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data
|
|||
return item->widget;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
_elm_widget_onscreen_is(const Evas_Object *widget)
|
||||
{
|
||||
Evas_Object *parent = (Evas_Object *)widget;
|
||||
|
@ -3711,7 +3711,7 @@ _elm_widget_onscreen_is(const Evas_Object *widget)
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
_elm_widget_item_onscreen_is(const Elm_Object_Item *item)
|
||||
{
|
||||
Eina_Rectangle r1, r2;
|
||||
|
@ -3786,13 +3786,13 @@ _elm_widget_item_efl_access_object_state_set_get(const Eo *eo_item,
|
|||
return states;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_object_item_data_set(Elm_Object_Item *it, void *data)
|
||||
{
|
||||
WIDGET_ITEM_DATA_SET(it, data);
|
||||
}
|
||||
|
||||
EAPI void *
|
||||
ELM_API void *
|
||||
elm_object_item_data_get(const Elm_Object_Item *it)
|
||||
{
|
||||
return (void *) WIDGET_ITEM_DATA_GET(it);
|
||||
|
@ -4793,7 +4793,7 @@ _sub_obj_tree_dot_dump(const Evas_Object *obj,
|
|||
|
||||
#endif
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_tree_dump(const Evas_Object *top)
|
||||
{
|
||||
#ifdef ELM_DEBUG
|
||||
|
@ -4806,7 +4806,7 @@ elm_widget_tree_dump(const Evas_Object *top)
|
|||
#endif
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_tree_dot_dump(const Evas_Object *top,
|
||||
FILE *output)
|
||||
{
|
||||
|
@ -5201,7 +5201,7 @@ _efl_ui_widget_efl_ui_focus_object_focus_set(Eo *obj, Elm_Widget_Smart_Data *pd,
|
|||
|
||||
/* Legacy APIs */
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_on_show_region_hook_set(Eo *obj, void *data, Elm_Widget_On_Show_Region_Cb func, Eina_Free_Cb func_free_cb)
|
||||
{
|
||||
ELM_WIDGET_DATA_GET(obj, sd);
|
||||
|
@ -5218,7 +5218,7 @@ elm_widget_on_show_region_hook_set(Eo *obj, void *data, Elm_Widget_On_Show_Regio
|
|||
sd->on_show_region_data_free = func_free_cb;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_show_region_set(Eo *obj, Eina_Rect sr, Eina_Bool forceshow)
|
||||
{
|
||||
Evas_Object *parent_obj, *child_obj;
|
||||
|
@ -5274,7 +5274,7 @@ elm_widget_show_region_set(Eo *obj, Eina_Rect sr, Eina_Bool forceshow)
|
|||
while (parent_obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Rect
|
||||
ELM_API Eina_Rect
|
||||
elm_widget_show_region_get(const Eo *obj)
|
||||
{
|
||||
ELM_WIDGET_DATA_GET_OR_RETURN(obj, sd, EINA_RECT_EMPTY());
|
||||
|
@ -5283,7 +5283,7 @@ elm_widget_show_region_get(const Eo *obj)
|
|||
/* elm_object_content_xxx APIs are supposed to work on all objects for which
|
||||
* elm_object_widget_check() returns true. The below checks avoid printing out
|
||||
* undesired ERR messages. */
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_content_part_set(Evas_Object *obj, const char *part, Evas_Object *content)
|
||||
{
|
||||
ELM_WIDGET_CHECK(obj);
|
||||
|
@ -5301,7 +5301,7 @@ elm_widget_content_part_set(Evas_Object *obj, const char *part, Evas_Object *con
|
|||
efl_content_set(efl_part(obj, part), content);
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_widget_content_part_get(const Evas_Object *obj, const char *part)
|
||||
{
|
||||
ELM_WIDGET_CHECK(obj) NULL;
|
||||
|
@ -5316,7 +5316,7 @@ elm_widget_content_part_get(const Evas_Object *obj, const char *part)
|
|||
return efl_content_get(efl_part(obj, part));
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_widget_content_part_unset(Evas_Object *obj, const char *part)
|
||||
{
|
||||
ELM_WIDGET_CHECK(obj) NULL;
|
||||
|
@ -5331,7 +5331,7 @@ elm_widget_content_part_unset(Evas_Object *obj, const char *part)
|
|||
return efl_content_unset(efl_part(obj, part));
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_signal_emit(Eo *obj, const char *emission, const char *source)
|
||||
{
|
||||
ELM_WIDGET_CHECK(obj);
|
||||
|
@ -5346,7 +5346,7 @@ elm_widget_signal_emit(Eo *obj, const char *emission, const char *source)
|
|||
}
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_signal_callback_add(Eo *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data)
|
||||
{
|
||||
ELM_WIDGET_CHECK(obj);
|
||||
|
@ -5362,7 +5362,7 @@ elm_widget_signal_callback_add(Eo *obj, const char *emission, const char *source
|
|||
}
|
||||
}
|
||||
|
||||
EAPI void *
|
||||
ELM_API void *
|
||||
elm_widget_signal_callback_del(Eo *obj, const char *emission, const char *source, Edje_Signal_Cb func)
|
||||
{
|
||||
void *data = NULL;
|
||||
|
@ -6122,7 +6122,7 @@ _efl_ui_widget_efl_object_invalidate(Eo *obj, Efl_Ui_Widget_Data *pd)
|
|||
|
||||
#include "efl_ui_widget_part_bg.eo.c"
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
efl_ui_widget_internal_set(Eo *obj, Eina_Bool b)
|
||||
{
|
||||
ELM_WIDGET_DATA_GET(obj, pd);
|
||||
|
@ -6131,7 +6131,7 @@ efl_ui_widget_internal_set(Eo *obj, Eina_Bool b)
|
|||
pd->internal = b;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
efl_ui_widget_internal_get(Eo *obj)
|
||||
{
|
||||
ELM_WIDGET_DATA_GET(obj, pd);
|
||||
|
|
|
@ -121,7 +121,7 @@ deliver:
|
|||
return !!it->current;
|
||||
}
|
||||
|
||||
EAPI Eina_Iterator*
|
||||
ELM_API Eina_Iterator*
|
||||
efl_ui_widget_tree_iterator(Efl_Ui_Widget *obj)
|
||||
{
|
||||
ELM_WIDGET_DATA_GET_OR_RETURN(obj, pd, NULL);
|
||||
|
@ -137,7 +137,7 @@ _only_widget(const void *container EINA_UNUSED, void *data, void *fdata EINA_UNU
|
|||
return efl_isa(data, EFL_UI_WIDGET_CLASS);
|
||||
}
|
||||
|
||||
EAPI Eina_Iterator*
|
||||
ELM_API Eina_Iterator*
|
||||
efl_ui_widget_tree_widget_iterator(Efl_Ui_Widget *obj)
|
||||
{
|
||||
ELM_WIDGET_DATA_GET_OR_RETURN(obj, pd, NULL);
|
||||
|
@ -165,7 +165,7 @@ _parent_next(Widget_Iterator *it, void **data)
|
|||
return !!*data;
|
||||
}
|
||||
|
||||
EAPI Eina_Iterator*
|
||||
ELM_API Eina_Iterator*
|
||||
efl_ui_widget_parent_iterator(Efl_Ui_Widget *obj)
|
||||
{
|
||||
ELM_WIDGET_DATA_GET_OR_RETURN(obj, pd, NULL);
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
*
|
||||
* @return A iterator that contains subelement widgets and canvas objects of the root widget. Every contained object is a Efl.Gfx.Entity.
|
||||
*/
|
||||
EAPI Eina_Iterator* efl_ui_widget_tree_iterator(Efl_Ui_Widget *obj);
|
||||
ELM_API Eina_Iterator* efl_ui_widget_tree_iterator(Efl_Ui_Widget *obj);
|
||||
|
||||
/**
|
||||
* @brief Get an iterator over all subelements located at obj.
|
||||
|
@ -21,7 +21,7 @@ EAPI Eina_Iterator* efl_ui_widget_tree_iterator(Efl_Ui_Widget *obj);
|
|||
*
|
||||
* @return A iterator that contains subelement widgets of the root widget. Every contained object is a Efl.Ui.Widget.
|
||||
*/
|
||||
EAPI Eina_Iterator* efl_ui_widget_tree_widget_iterator(Efl_Ui_Widget *obj);
|
||||
ELM_API Eina_Iterator* efl_ui_widget_tree_widget_iterator(Efl_Ui_Widget *obj);
|
||||
|
||||
/**
|
||||
* @brief Get an iterator that contains all parents of the passed object.
|
||||
|
@ -30,6 +30,6 @@ EAPI Eina_Iterator* efl_ui_widget_tree_widget_iterator(Efl_Ui_Widget *obj);
|
|||
*
|
||||
* @return A iterator that contains all parents of the object. Every contained object is a Efl.Ui.Widget.
|
||||
*/
|
||||
EAPI Eina_Iterator* efl_ui_widget_parent_iterator(Efl_Ui_Widget *obj);
|
||||
ELM_API Eina_Iterator* efl_ui_widget_parent_iterator(Efl_Ui_Widget *obj);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,89 +1,89 @@
|
|||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_resize_object_set(Efl_Ui_Widget *obj, Efl_Canvas_Object *sobj)
|
||||
{
|
||||
efl_ui_widget_resize_object_set(obj, sobj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_disabled_set(Efl_Ui_Widget *obj, Eina_Bool disabled)
|
||||
{
|
||||
efl_ui_widget_disabled_set(obj, disabled);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_disabled_get(const Efl_Ui_Widget *obj)
|
||||
{
|
||||
return efl_ui_widget_disabled_get(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Error
|
||||
ELM_API Eina_Error
|
||||
elm_widget_style_set(Efl_Ui_Widget *obj, const char *style)
|
||||
{
|
||||
return efl_ui_widget_style_set(obj, style);
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
ELM_API const char *
|
||||
elm_widget_style_get(const Efl_Ui_Widget *obj)
|
||||
{
|
||||
return efl_ui_widget_style_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_can_focus_set(Efl_Ui_Widget *obj, Eina_Bool can_focus)
|
||||
{
|
||||
efl_ui_widget_focus_allow_set(obj, can_focus);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_can_focus_get(const Efl_Ui_Widget *obj)
|
||||
{
|
||||
return efl_ui_widget_focus_allow_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_widget_parent_set(Efl_Ui_Widget *obj, Efl_Ui_Widget *parent)
|
||||
{
|
||||
efl_ui_widget_parent_set(obj, parent);
|
||||
}
|
||||
|
||||
EAPI Efl_Ui_Widget *
|
||||
ELM_API Efl_Ui_Widget *
|
||||
elm_widget_parent_get(const Efl_Ui_Widget *obj)
|
||||
{
|
||||
return efl_ui_widget_parent_get(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_sub_object_add(Efl_Ui_Widget *obj, Efl_Canvas_Object *sub_obj)
|
||||
{
|
||||
return efl_ui_widget_sub_object_add(obj, sub_obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_sub_object_del(Efl_Ui_Widget *obj, Efl_Canvas_Object *sub_obj)
|
||||
{
|
||||
return efl_ui_widget_sub_object_del(obj, sub_obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Error
|
||||
ELM_API Eina_Error
|
||||
elm_widget_theme_apply(Efl_Ui_Widget *obj)
|
||||
{
|
||||
return efl_ui_widget_theme_apply(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Rect
|
||||
ELM_API Eina_Rect
|
||||
elm_widget_focus_region_get(const Efl_Ui_Widget *obj)
|
||||
{
|
||||
return efl_ui_widget_interest_region_get(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Rect
|
||||
ELM_API Eina_Rect
|
||||
elm_widget_focus_highlight_geometry_get(const Efl_Ui_Widget *obj)
|
||||
{
|
||||
return efl_ui_widget_focus_highlight_geometry_get(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_widget_focus_state_apply(Efl_Ui_Widget *obj, Efl_Ui_Widget_Focus_State current_state, Efl_Ui_Widget_Focus_State *configured_state, Efl_Ui_Widget *redirect)
|
||||
{
|
||||
return efl_ui_widget_focus_state_apply(obj, current_state, configured_state, redirect);
|
||||
|
|
|
@ -41,7 +41,7 @@ typedef struct _Efl_Ui_Widget_Focus_State
|
|||
*
|
||||
* @ingroup Elm_Widget_Group
|
||||
*/
|
||||
EAPI void elm_widget_resize_object_set(Efl_Ui_Widget *obj, Efl_Canvas_Object *sobj);
|
||||
ELM_API void elm_widget_resize_object_set(Efl_Ui_Widget *obj, Efl_Canvas_Object *sobj);
|
||||
|
||||
/**
|
||||
* @brief Whether the widget is enabled (accepts and reacts to user inputs).
|
||||
|
@ -64,7 +64,7 @@ EAPI void elm_widget_resize_object_set(Efl_Ui_Widget *obj, Efl_Canvas_Object *so
|
|||
*
|
||||
* @ingroup Elm_Widget_Group
|
||||
*/
|
||||
EAPI void elm_widget_disabled_set(Efl_Ui_Widget *obj, Eina_Bool disabled);
|
||||
ELM_API void elm_widget_disabled_set(Efl_Ui_Widget *obj, Eina_Bool disabled);
|
||||
|
||||
/**
|
||||
* @brief Whether the widget is enabled (accepts and reacts to user inputs).
|
||||
|
@ -89,7 +89,7 @@ EAPI void elm_widget_disabled_set(Efl_Ui_Widget *obj, Eina_Bool disabled);
|
|||
*
|
||||
* @ingroup Elm_Widget_Group
|
||||
*/
|
||||
EAPI Eina_Bool elm_widget_disabled_get(const Efl_Ui_Widget *obj);
|
||||
ELM_API Eina_Bool elm_widget_disabled_get(const Efl_Ui_Widget *obj);
|
||||
|
||||
/**
|
||||
* @brief The widget style to use.
|
||||
|
@ -112,7 +112,7 @@ EAPI Eina_Bool elm_widget_disabled_get(const Efl_Ui_Widget *obj);
|
|||
*
|
||||
* @ingroup Elm_Widget_Group
|
||||
*/
|
||||
EAPI Eina_Error elm_widget_style_set(Efl_Ui_Widget *obj, const char *style);
|
||||
ELM_API Eina_Error elm_widget_style_set(Efl_Ui_Widget *obj, const char *style);
|
||||
|
||||
/**
|
||||
* @brief The widget style to use.
|
||||
|
@ -133,7 +133,7 @@ EAPI Eina_Error elm_widget_style_set(Efl_Ui_Widget *obj, const char *style);
|
|||
*
|
||||
* @ingroup Elm_Widget_Group
|
||||
*/
|
||||
EAPI const char *elm_widget_style_get(const Efl_Ui_Widget *obj);
|
||||
ELM_API const char *elm_widget_style_get(const Efl_Ui_Widget *obj);
|
||||
|
||||
|
||||
/**
|
||||
|
@ -155,7 +155,7 @@ EAPI const char *elm_widget_style_get(const Efl_Ui_Widget *obj);
|
|||
*
|
||||
* @ingroup Elm_Widget_Group
|
||||
*/
|
||||
EAPI void elm_widget_can_focus_set(Efl_Ui_Widget *obj, Eina_Bool can_focus);
|
||||
ELM_API void elm_widget_can_focus_set(Efl_Ui_Widget *obj, Eina_Bool can_focus);
|
||||
|
||||
/**
|
||||
* @brief The ability for a widget to be focused.
|
||||
|
@ -177,7 +177,7 @@ EAPI void elm_widget_can_focus_set(Efl_Ui_Widget *obj, Eina_Bool can_focus);
|
|||
*
|
||||
* @ingroup Elm_Widget_Group
|
||||
*/
|
||||
EAPI Eina_Bool elm_widget_can_focus_get(const Efl_Ui_Widget *obj);
|
||||
ELM_API Eina_Bool elm_widget_can_focus_get(const Efl_Ui_Widget *obj);
|
||||
|
||||
/**
|
||||
* @brief The internal parent of this widget.
|
||||
|
@ -191,7 +191,7 @@ EAPI Eina_Bool elm_widget_can_focus_get(const Efl_Ui_Widget *obj);
|
|||
*
|
||||
* @ingroup Elm_Widget_Group
|
||||
*/
|
||||
EAPI void elm_widget_parent_set(Efl_Ui_Widget *obj, Efl_Ui_Widget *parent);
|
||||
ELM_API void elm_widget_parent_set(Efl_Ui_Widget *obj, Efl_Ui_Widget *parent);
|
||||
|
||||
/**
|
||||
* @brief The internal parent of this widget.
|
||||
|
@ -206,7 +206,7 @@ EAPI void elm_widget_parent_set(Efl_Ui_Widget *obj, Efl_Ui_Widget *parent);
|
|||
*
|
||||
* @ingroup Elm_Widget_Group
|
||||
*/
|
||||
EAPI Efl_Ui_Widget *elm_widget_parent_get(const Efl_Ui_Widget *obj);
|
||||
ELM_API Efl_Ui_Widget *elm_widget_parent_get(const Efl_Ui_Widget *obj);
|
||||
|
||||
/**
|
||||
* @brief Virtual function handling sub objects being added.
|
||||
|
@ -222,7 +222,7 @@ EAPI Efl_Ui_Widget *elm_widget_parent_get(const Efl_Ui_Widget *obj);
|
|||
*
|
||||
* @ingroup Elm_Widget_Group
|
||||
*/
|
||||
EAPI Eina_Bool elm_widget_sub_object_add(Efl_Ui_Widget *obj, Efl_Canvas_Object *sub_obj);
|
||||
ELM_API Eina_Bool elm_widget_sub_object_add(Efl_Ui_Widget *obj, Efl_Canvas_Object *sub_obj);
|
||||
|
||||
/**
|
||||
* @brief Virtual function handling sub objects being removed.
|
||||
|
@ -239,7 +239,7 @@ EAPI Eina_Bool elm_widget_sub_object_add(Efl_Ui_Widget *obj, Efl_Canvas_Object *
|
|||
*
|
||||
* @ingroup Elm_Widget_Group
|
||||
*/
|
||||
EAPI Eina_Bool elm_widget_sub_object_del(Efl_Ui_Widget *obj, Efl_Canvas_Object *sub_obj);
|
||||
ELM_API Eina_Bool elm_widget_sub_object_del(Efl_Ui_Widget *obj, Efl_Canvas_Object *sub_obj);
|
||||
|
||||
/**
|
||||
* @brief Virtual function called when the widget needs to re-apply its theme.
|
||||
|
@ -258,7 +258,7 @@ EAPI Eina_Bool elm_widget_sub_object_del(Efl_Ui_Widget *obj, Efl_Canvas_Object *
|
|||
*
|
||||
* @ingroup Elm_Widget_Group
|
||||
*/
|
||||
EAPI Eina_Error elm_widget_theme_apply(Efl_Ui_Widget *obj);
|
||||
ELM_API Eina_Error elm_widget_theme_apply(Efl_Ui_Widget *obj);
|
||||
|
||||
/**
|
||||
* @brief Region of interest inside this widget, that should be given priority
|
||||
|
@ -282,7 +282,7 @@ EAPI Eina_Error elm_widget_theme_apply(Efl_Ui_Widget *obj);
|
|||
*
|
||||
* @ingroup Elm_Widget_Group
|
||||
*/
|
||||
EAPI Eina_Rect elm_widget_focus_region_get(const Efl_Ui_Widget *obj);
|
||||
ELM_API Eina_Rect elm_widget_focus_region_get(const Efl_Ui_Widget *obj);
|
||||
|
||||
/**
|
||||
* @brief The rectangle region to be highlighted on focus.
|
||||
|
@ -297,7 +297,7 @@ EAPI Eina_Rect elm_widget_focus_region_get(const Efl_Ui_Widget *obj);
|
|||
*
|
||||
* @ingroup Elm_Widget_Group
|
||||
*/
|
||||
EAPI Eina_Rect elm_widget_focus_highlight_geometry_get(const Efl_Ui_Widget *obj);
|
||||
ELM_API Eina_Rect elm_widget_focus_highlight_geometry_get(const Efl_Ui_Widget *obj);
|
||||
|
||||
/**
|
||||
* @brief Register focus with the given configuration.
|
||||
|
@ -323,6 +323,6 @@ EAPI Eina_Rect elm_widget_focus_highlight_geometry_get(const Efl_Ui_Widget *obj)
|
|||
*
|
||||
* @ingroup Elm_Widget_Group
|
||||
*/
|
||||
EAPI Eina_Bool elm_widget_focus_state_apply(Efl_Ui_Widget *obj, Efl_Ui_Widget_Focus_State current_state, Efl_Ui_Widget_Focus_State *configured_state, Efl_Ui_Widget *redirect);
|
||||
ELM_API Eina_Bool elm_widget_focus_state_apply(Efl_Ui_Widget *obj, Efl_Ui_Widget_Focus_State current_state, Efl_Ui_Widget_Focus_State *configured_state, Efl_Ui_Widget *redirect);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -63,7 +63,7 @@ struct _Efl_Ui_Image_Data
|
|||
int frame_count;
|
||||
int cur_frame;
|
||||
|
||||
Elm_Image_Orient image_orient; // to support EAPI
|
||||
Elm_Image_Orient image_orient; // to support ELM_API
|
||||
Efl_Gfx_Image_Orientation orient;
|
||||
|
||||
struct {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -20,7 +20,7 @@ typedef Eo Efl_Ui_Win_Inlined_Legacy;
|
|||
*/
|
||||
#define EFL_UI_WIN_INLINED_LEGACY_CLASS efl_ui_win_inlined_legacy_class_get()
|
||||
|
||||
EWAPI const Efl_Class *efl_ui_win_inlined_legacy_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *efl_ui_win_inlined_legacy_class_get(void) EINA_CONST;
|
||||
#endif /* EFL_BETA_API_SUPPORT */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -20,7 +20,7 @@ typedef Eo Efl_Ui_Win_Legacy;
|
|||
*/
|
||||
#define EFL_UI_WIN_LEGACY_CLASS efl_ui_win_legacy_class_get()
|
||||
|
||||
EWAPI const Efl_Class *efl_ui_win_legacy_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *efl_ui_win_legacy_class_get(void) EINA_CONST;
|
||||
#endif /* EFL_BETA_API_SUPPORT */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -20,7 +20,7 @@ typedef Eo Efl_Ui_Win_Socket_Legacy;
|
|||
*/
|
||||
#define EFL_UI_WIN_SOCKET_LEGACY_CLASS efl_ui_win_socket_legacy_class_get()
|
||||
|
||||
EWAPI const Efl_Class *efl_ui_win_socket_legacy_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *efl_ui_win_socket_legacy_class_get(void) EINA_CONST;
|
||||
#endif /* EFL_BETA_API_SUPPORT */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
#include "elm_genlist_eo.h"
|
||||
#include "elm_hover_eo.h"
|
||||
|
||||
EOAPI void elm_obj_combobox_hover_begin(Eo *obj);
|
||||
EOAPI void elm_obj_combobox_hover_end(Eo *obj);
|
||||
ELM_API ELM_API_WEAK void elm_obj_combobox_hover_begin(Eo *obj);
|
||||
ELM_API ELM_API_WEAK void elm_obj_combobox_hover_end(Eo *obj);
|
||||
|
||||
static const Efl_Event_Description _ELM_COMBOBOX_EVENT_DISMISSED =
|
||||
EFL_EVENT_DESCRIPTION("dismissed");
|
||||
|
@ -372,7 +372,7 @@ _elm_combobox_efl_ui_autorepeat_autorepeat_enabled_set(const Eo *obj EINA_UNUSED
|
|||
efl_ui_autorepeat_enabled_set(efl_super(obj, MY_CLASS), EINA_FALSE);
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_combobox_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
@ -593,9 +593,9 @@ _elm_combobox_efl_gfx_entity_size_set(Eo *obj, Elm_Combobox_Data *pd, Eina_Size2
|
|||
|
||||
ELM_WIDGET_KEY_DOWN_DEFAULT_IMPLEMENT(elm_combobox, Elm_Combobox_Data)
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(elm_obj_combobox_expanded_get, Eina_Bool, 0);
|
||||
EOAPI EFL_VOID_FUNC_BODY(elm_obj_combobox_hover_begin);
|
||||
EOAPI EFL_VOID_FUNC_BODY(elm_obj_combobox_hover_end);
|
||||
ELM_API ELM_API_WEAK EFL_FUNC_BODY_CONST(elm_obj_combobox_expanded_get, Eina_Bool, 0);
|
||||
ELM_API ELM_API_WEAK EFL_VOID_FUNC_BODY(elm_obj_combobox_hover_begin);
|
||||
ELM_API ELM_API_WEAK EFL_VOID_FUNC_BODY(elm_obj_combobox_hover_end);
|
||||
|
||||
static Eina_Bool
|
||||
_elm_combobox_class_initializer(Efl_Class *klass)
|
||||
|
@ -631,19 +631,19 @@ static const Efl_Class_Description _elm_combobox_class_desc = {
|
|||
|
||||
EFL_DEFINE_CLASS(elm_combobox_class_get, &_elm_combobox_class_desc, EFL_UI_BUTTON_CLASS, EFL_ACCESS_WIDGET_ACTION_MIXIN, ELM_ENTRY_CLASS, ELM_GENLIST_CLASS, ELM_HOVER_CLASS, EFL_UI_LEGACY_INTERFACE, NULL);
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_combobox_expanded_get(const Elm_Combobox *obj)
|
||||
{
|
||||
return elm_obj_combobox_expanded_get(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_combobox_hover_begin(Elm_Combobox *obj)
|
||||
{
|
||||
elm_obj_combobox_hover_begin(obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_combobox_hover_end(Elm_Combobox *obj)
|
||||
{
|
||||
elm_obj_combobox_hover_end(obj);
|
||||
|
|
|
@ -13,7 +13,7 @@ typedef Eo Elm_Combobox;
|
|||
*
|
||||
* @ingroup Elm_Combobox
|
||||
*/
|
||||
EAPI Evas_Object *elm_combobox_add(Evas_Object *parent);
|
||||
ELM_API Evas_Object *elm_combobox_add(Evas_Object *parent);
|
||||
|
||||
/**
|
||||
* @brief Returns whether the combobox is expanded.
|
||||
|
@ -29,7 +29,7 @@ EAPI Evas_Object *elm_combobox_add(Evas_Object *parent);
|
|||
*
|
||||
* @ingroup Elm_Combobox_Group
|
||||
*/
|
||||
EAPI Eina_Bool elm_combobox_expanded_get(const Elm_Combobox *obj);
|
||||
ELM_API Eina_Bool elm_combobox_expanded_get(const Elm_Combobox *obj);
|
||||
|
||||
/** This triggers the combobox popup from code, the same as if the user had
|
||||
* clicked the button.
|
||||
|
@ -38,7 +38,7 @@ EAPI Eina_Bool elm_combobox_expanded_get(const Elm_Combobox *obj);
|
|||
*
|
||||
* @ingroup Elm_Combobox_Group
|
||||
*/
|
||||
EAPI void elm_combobox_hover_begin(Elm_Combobox *obj);
|
||||
ELM_API void elm_combobox_hover_begin(Elm_Combobox *obj);
|
||||
|
||||
/** This dismisses the combobox popup as if the user had clicked outside the
|
||||
* hover.
|
||||
|
@ -47,4 +47,4 @@ EAPI void elm_combobox_hover_begin(Elm_Combobox *obj);
|
|||
*
|
||||
* @ingroup Elm_Combobox_Group
|
||||
*/
|
||||
EAPI void elm_combobox_hover_end(Elm_Combobox *obj);
|
||||
ELM_API void elm_combobox_hover_end(Elm_Combobox *obj);
|
||||
|
|
|
@ -1105,7 +1105,7 @@ _elm_ctxpopup_efl_canvas_group_group_del(Eo *obj, Elm_Ctxpopup_Data *sd)
|
|||
efl_canvas_group_del(efl_super(obj, MY_CLASS));
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_ctxpopup_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*
|
||||
* @ingroup Elm_Ctxpopup_Group
|
||||
*/
|
||||
EAPI Evas_Object *elm_ctxpopup_add(Evas_Object *parent);
|
||||
ELM_API Evas_Object *elm_ctxpopup_add(Evas_Object *parent);
|
||||
|
||||
#include "elm_ctxpopup_item_eo.legacy.h"
|
||||
#include "elm_ctxpopup_eo.legacy.h"
|
||||
|
|
|
@ -47,8 +47,8 @@ typedef struct _Legacy_Event_Path_Then_Data
|
|||
static Elm_Genlist_Item_Class *list_itc[ELM_FILE_LAST];
|
||||
static Elm_Gengrid_Item_Class *grid_itc[ELM_FILE_LAST];
|
||||
|
||||
EAPI Eina_Error ELM_FILESELECTOR_ERROR_UNKNOWN = 0;
|
||||
EAPI Eina_Error ELM_FILESELECTOR_ERROR_INVALID_MODEL = 0;
|
||||
ELM_API Eina_Error ELM_FILESELECTOR_ERROR_UNKNOWN = 0;
|
||||
ELM_API Eina_Error ELM_FILESELECTOR_ERROR_INVALID_MODEL = 0;
|
||||
|
||||
static const char ELM_FILESELECTOR_ERROR_UNKNOWN_STR[] = "Unknown Error";
|
||||
static const char ELM_FILESELECTOR_ERROR_INVALID_MODEL_STR[] = "Model not set";
|
||||
|
@ -1914,7 +1914,7 @@ _elm_fileselector_efl_canvas_group_group_del(Eo *obj, Elm_Fileselector_Data *sd)
|
|||
_elm_fileselector_smart_del_do(obj, sd);
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_fileselector_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
@ -2009,7 +2009,7 @@ _elm_fileselector_efl_object_event_callback_legacy_call(Eo *obj, Elm_Fileselecto
|
|||
return efl_event_callback_legacy_call(efl_super(obj, MY_CLASS), desc, event_info);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_is_save_set(Evas_Object *obj,
|
||||
Eina_Bool is_save)
|
||||
{
|
||||
|
@ -2028,7 +2028,7 @@ _elm_fileselector_elm_interface_fileselector_is_save_set(Eo *obj, Elm_Fileselect
|
|||
_focus_chain_update(obj, sd);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_fileselector_is_save_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
|
||||
|
@ -2041,7 +2041,7 @@ _elm_fileselector_elm_interface_fileselector_is_save_get(const Eo *obj EINA_UNUS
|
|||
return !elm_object_disabled_get(sd->name_entry);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_folder_only_set(Evas_Object *obj,
|
||||
Eina_Bool only)
|
||||
{
|
||||
|
@ -2061,7 +2061,7 @@ _elm_fileselector_elm_interface_fileselector_folder_only_set(Eo *obj, Elm_Filese
|
|||
}
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_fileselector_folder_only_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
|
||||
|
@ -2117,7 +2117,7 @@ _elm_fileselector_buttons_ok_cancel_get(const Eo *obj EINA_UNUSED, Elm_Fileselec
|
|||
return sd->ok_button ? EINA_TRUE : EINA_FALSE;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_expandable_set(Evas_Object *obj,
|
||||
Eina_Bool expand)
|
||||
{
|
||||
|
@ -2136,7 +2136,7 @@ _elm_fileselector_elm_interface_fileselector_expandable_set(Eo *obj, Elm_Filesel
|
|||
}
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_fileselector_expandable_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
|
||||
|
@ -2149,7 +2149,7 @@ _elm_fileselector_elm_interface_fileselector_expandable_get(const Eo *obj EINA_U
|
|||
return sd->expand;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_path_set(Evas_Object *obj,
|
||||
const char *_path)
|
||||
{
|
||||
|
@ -2187,7 +2187,7 @@ _elm_fileselector_efl_ui_view_model_set(Eo *obj, Elm_Fileselector_Data *sd EINA_
|
|||
_populate(obj, model, NULL, NULL);
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
ELM_API const char *
|
||||
elm_fileselector_path_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, NULL);
|
||||
|
@ -2218,7 +2218,7 @@ _elm_fileselector_efl_ui_view_model_get(const Eo *obj EINA_UNUSED, Elm_Fileselec
|
|||
return sd->model;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_mode_set(Evas_Object *obj,
|
||||
Elm_Fileselector_Mode mode)
|
||||
{
|
||||
|
@ -2261,7 +2261,7 @@ _elm_fileselector_elm_interface_fileselector_mode_set(Eo *obj, Elm_Fileselector_
|
|||
}
|
||||
}
|
||||
|
||||
EAPI Elm_Fileselector_Mode
|
||||
ELM_API Elm_Fileselector_Mode
|
||||
elm_fileselector_mode_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, ELM_FILESELECTOR_LAST);
|
||||
|
@ -2274,7 +2274,7 @@ _elm_fileselector_elm_interface_fileselector_mode_get(const Eo *obj EINA_UNUSED,
|
|||
return sd->mode;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_multi_select_set(Evas_Object *obj, Eina_Bool multi)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj);
|
||||
|
@ -2316,7 +2316,7 @@ _elm_fileselector_elm_interface_fileselector_multi_select_set(Eo *obj EINA_UNUSE
|
|||
}
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_fileselector_multi_select_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
|
||||
|
@ -2347,7 +2347,7 @@ _selected_item_data_get(Elm_Fileselector_Data *sd)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
ELM_API const char *
|
||||
elm_fileselector_selected_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, NULL);
|
||||
|
@ -2398,7 +2398,7 @@ _elm_fileselector_elm_interface_fileselector_selected_model_get(const Eo *fs EIN
|
|||
return sd->model;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_fileselector_selected_set(Evas_Object *obj,
|
||||
const char *_path)
|
||||
{
|
||||
|
@ -2609,7 +2609,7 @@ _elm_fileselector_elm_interface_fileselector_selected_model_set(Eo *obj, Elm_Fil
|
|||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
EAPI const Eina_List *
|
||||
ELM_API const Eina_List *
|
||||
elm_fileselector_selected_paths_get(const Evas_Object* obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, NULL);
|
||||
|
@ -2669,7 +2669,7 @@ _elm_fileselector_elm_interface_fileselector_selected_models_get(const Eo *obj E
|
|||
return sd->multi_selection_tmp;
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
ELM_API const char *
|
||||
elm_fileselector_current_name_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, NULL);
|
||||
|
@ -2684,7 +2684,7 @@ _elm_fileselector_elm_interface_fileselector_current_name_get(const Eo *obj EINA
|
|||
return elm_object_text_get(sd->name_entry);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_current_name_set(Evas_Object *obj,
|
||||
const char *name)
|
||||
{
|
||||
|
@ -2711,7 +2711,7 @@ _filter_add(Elm_Fileselector_Data *sd, const char *filter_name)
|
|||
return ff;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_fileselector_mime_types_filter_append(Evas_Object *obj, const char *mime_type, const char *filter_name)
|
||||
{
|
||||
ELM_FILESELECTOR_CHECK(obj) EINA_FALSE;
|
||||
|
@ -2754,7 +2754,7 @@ _elm_fileselector_elm_interface_fileselector_mime_types_filter_append(Eo *obj, E
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_fileselector_custom_filter_append(Evas_Object *obj, Elm_Fileselector_Filter_Func func, void *data, const char *filter_name)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
|
||||
|
@ -2806,7 +2806,7 @@ _elm_fileselector_elm_interface_fileselector_custom_filter_append(Eo *obj, Elm_F
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_filters_clear(Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj);
|
||||
|
@ -2841,7 +2841,7 @@ _elm_fileselector_elm_interface_fileselector_filters_clear(Eo *obj, Elm_Filesele
|
|||
}
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_hidden_visible_set(Evas_Object *obj, Eina_Bool visible)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj);
|
||||
|
@ -2863,7 +2863,7 @@ _elm_fileselector_elm_interface_fileselector_hidden_visible_set(Eo *obj EINA_UNU
|
|||
}
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_fileselector_hidden_visible_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
|
||||
|
@ -2876,7 +2876,7 @@ _elm_fileselector_elm_interface_fileselector_hidden_visible_get(const Eo *obj EI
|
|||
return sd->hidden_visible;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_thumbnail_size_set(Evas_Object *obj,
|
||||
Evas_Coord w,
|
||||
Evas_Coord h)
|
||||
|
@ -2905,7 +2905,7 @@ _elm_fileselector_elm_interface_fileselector_thumbnail_size_set(Eo *obj EINA_UNU
|
|||
}
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_thumbnail_size_get(const Evas_Object *obj,
|
||||
Evas_Coord *w,
|
||||
Evas_Coord *h)
|
||||
|
@ -2921,7 +2921,7 @@ _elm_fileselector_elm_interface_fileselector_thumbnail_size_get(const Eo *obj EI
|
|||
if (h) *h = sd->thumbnail_size.h;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_sort_method_set(Evas_Object *obj, Elm_Fileselector_Sort sort)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj);
|
||||
|
@ -2971,7 +2971,7 @@ _elm_fileselector_elm_interface_fileselector_sort_method_set(Eo *obj EINA_UNUSED
|
|||
}
|
||||
}
|
||||
|
||||
EAPI Elm_Fileselector_Sort
|
||||
ELM_API Elm_Fileselector_Sort
|
||||
elm_fileselector_sort_method_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, ELM_FILESELECTOR_SORT_LAST);
|
||||
|
|
|
@ -262,7 +262,7 @@ _elm_fileselector_button_efl_ui_autorepeat_autorepeat_enabled_set(const Eo *obj
|
|||
efl_ui_autorepeat_enabled_set(efl_super(obj, MY_CLASS), EINA_FALSE);
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_fileselector_button_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
@ -284,7 +284,7 @@ _elm_fileselector_button_efl_object_constructor(Eo *obj, Elm_Fileselector_Button
|
|||
return obj;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_button_window_title_set(Eo *obj, const char *title)
|
||||
{
|
||||
ELM_FILESELECTOR_BUTTON_CHECK(obj);
|
||||
|
@ -293,7 +293,7 @@ elm_fileselector_button_window_title_set(Eo *obj, const char *title)
|
|||
if (sd->fsw) elm_win_title_set(sd->fsw, sd->window_title);
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
ELM_API const char *
|
||||
elm_fileselector_button_window_title_get(const Eo *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_BUTTON_CHECK(obj) NULL;
|
||||
|
@ -301,7 +301,7 @@ elm_fileselector_button_window_title_get(const Eo *obj)
|
|||
return sd->window_title;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_button_window_size_set(Eo *obj, Evas_Coord width, Evas_Coord height)
|
||||
{
|
||||
ELM_FILESELECTOR_BUTTON_CHECK(obj);
|
||||
|
@ -311,7 +311,7 @@ elm_fileselector_button_window_size_set(Eo *obj, Evas_Coord width, Evas_Coord he
|
|||
if (sd->fsw) evas_object_resize(sd->fsw, sd->w, sd->h);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_button_window_size_get(const Eo *obj, Evas_Coord *width, Evas_Coord *height)
|
||||
{
|
||||
if (width) *width = 0;
|
||||
|
@ -342,7 +342,7 @@ _elm_fileselector_button_path_set_internal(Evas_Object *obj, const char *path)
|
|||
if (sd->fs) elm_interface_fileselector_selected_model_set(sd->fs, model);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_fileselector_button_path_set(Evas_Object *obj, const char *path)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj);
|
||||
|
@ -385,7 +385,7 @@ _elm_fileselector_button_path_get_internal(const Evas_Object *obj)
|
|||
return sd->fsd.path;
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI const char *
|
||||
EINA_DEPRECATED ELM_API const char *
|
||||
elm_fileselector_button_path_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, NULL);
|
||||
|
@ -398,7 +398,7 @@ _elm_fileselector_button_efl_ui_view_model_get(const Eo *obj EINA_UNUSED, Elm_Fi
|
|||
return sd->fsd.model;
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_fileselector_button_expandable_set(Evas_Object *obj,
|
||||
Eina_Bool value)
|
||||
{
|
||||
|
@ -414,7 +414,7 @@ _elm_fileselector_button_elm_interface_fileselector_expandable_set(Eo *obj EINA_
|
|||
if (sd->fs) elm_fileselector_expandable_set(sd->fs, sd->fsd.expandable);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_fileselector_button_expandable_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
|
||||
|
@ -429,7 +429,7 @@ _elm_fileselector_button_elm_interface_fileselector_expandable_get(const Eo *obj
|
|||
return sd->fsd.expandable;
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_fileselector_button_folder_only_set(Evas_Object *obj,
|
||||
Eina_Bool value)
|
||||
{
|
||||
|
@ -445,7 +445,7 @@ _elm_fileselector_button_elm_interface_fileselector_folder_only_set(Eo *obj EINA
|
|||
if (sd->fs) elm_fileselector_folder_only_set(sd->fs, sd->fsd.folder_only);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_fileselector_button_folder_only_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
|
||||
|
@ -460,7 +460,7 @@ _elm_fileselector_button_elm_interface_fileselector_folder_only_get(const Eo *ob
|
|||
return sd->fsd.folder_only;
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_fileselector_button_is_save_set(Evas_Object *obj,
|
||||
Eina_Bool value)
|
||||
{
|
||||
|
@ -476,7 +476,7 @@ _elm_fileselector_button_elm_interface_fileselector_is_save_set(Eo *obj EINA_UNU
|
|||
if (sd->fs) elm_fileselector_is_save_set(sd->fs, sd->fsd.is_save);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_fileselector_button_is_save_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
|
||||
|
@ -687,7 +687,7 @@ _elm_fileselector_button_elm_interface_fileselector_hidden_visible_get(const Eo
|
|||
return sd->fsd.hidden_visible;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_button_inwin_mode_set(Eo *obj, Eina_Bool value)
|
||||
{
|
||||
ELM_FILESELECTOR_BUTTON_CHECK(obj);
|
||||
|
@ -695,7 +695,7 @@ elm_fileselector_button_inwin_mode_set(Eo *obj, Eina_Bool value)
|
|||
sd->inwin_mode = value;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_fileselector_button_inwin_mode_get(const Eo *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_BUTTON_CHECK(obj) EINA_FALSE;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*
|
||||
* @ingroup Elm_File_Selector_Button
|
||||
*/
|
||||
EAPI Evas_Object *elm_fileselector_button_add(Evas_Object *parent);
|
||||
ELM_API Evas_Object *elm_fileselector_button_add(Evas_Object *parent);
|
||||
|
||||
#include "elm_fileselector_button_eo.legacy.h"
|
||||
|
||||
|
@ -25,7 +25,7 @@ EAPI Evas_Object *elm_fileselector_button_add(Evas_Object *parent
|
|||
*
|
||||
* @ingroup Elm_Fileselector_Button
|
||||
*/
|
||||
EAPI void elm_fileselector_button_inwin_mode_set(Elm_Fileselector_Button *obj, Eina_Bool value);
|
||||
ELM_API void elm_fileselector_button_inwin_mode_set(Elm_Fileselector_Button *obj, Eina_Bool value);
|
||||
|
||||
/**
|
||||
* @brief Get whether a given file selector button widget's internal file
|
||||
|
@ -39,7 +39,7 @@ EAPI void elm_fileselector_button_inwin_mode_set(Elm_Fileselector_Button *obj, E
|
|||
*
|
||||
* @ingroup Elm_Fileselector_Button
|
||||
*/
|
||||
EAPI Eina_Bool elm_fileselector_button_inwin_mode_get(const Elm_Fileselector_Button *obj);
|
||||
ELM_API Eina_Bool elm_fileselector_button_inwin_mode_get(const Elm_Fileselector_Button *obj);
|
||||
|
||||
/**
|
||||
* @brief Set the size of a given file selector button widget's window, holding
|
||||
|
@ -56,7 +56,7 @@ EAPI Eina_Bool elm_fileselector_button_inwin_mode_get(const Elm_Fileselector_But
|
|||
*
|
||||
* @ingroup Elm_Fileselector_Button
|
||||
*/
|
||||
EAPI void elm_fileselector_button_window_size_set(Elm_Fileselector_Button *obj, Evas_Coord width, Evas_Coord height);
|
||||
ELM_API void elm_fileselector_button_window_size_set(Elm_Fileselector_Button *obj, Evas_Coord width, Evas_Coord height);
|
||||
|
||||
/**
|
||||
* @brief Get the size of a given file selector button widget's window, holding
|
||||
|
@ -72,7 +72,7 @@ EAPI void elm_fileselector_button_window_size_set(Elm_Fileselector_Button *obj,
|
|||
*
|
||||
* @ingroup Elm_Fileselector_Button
|
||||
*/
|
||||
EAPI void elm_fileselector_button_window_size_get(const Elm_Fileselector_Button *obj, Evas_Coord *width, Evas_Coord *height);
|
||||
ELM_API void elm_fileselector_button_window_size_get(const Elm_Fileselector_Button *obj, Evas_Coord *width, Evas_Coord *height);
|
||||
|
||||
/**
|
||||
* @brief Set the title for a given file selector button widget's window
|
||||
|
@ -90,7 +90,7 @@ EAPI void elm_fileselector_button_window_size_get(const Elm_Fileselector_Button
|
|||
*
|
||||
* @ingroup Elm_Fileselector_Button
|
||||
*/
|
||||
EAPI void elm_fileselector_button_window_title_set(Elm_Fileselector_Button *obj, const char *title);
|
||||
ELM_API void elm_fileselector_button_window_title_set(Elm_Fileselector_Button *obj, const char *title);
|
||||
|
||||
/**
|
||||
* @brief Get the title for a given file selector button widget's window
|
||||
|
@ -101,4 +101,4 @@ EAPI void elm_fileselector_button_window_title_set(Elm_Fileselector_Button *obj,
|
|||
*
|
||||
* @ingroup Elm_Fileselector_Button
|
||||
*/
|
||||
EAPI const char *elm_fileselector_button_window_title_get(const Elm_Fileselector_Button *obj);
|
||||
ELM_API const char *elm_fileselector_button_window_title_get(const Elm_Fileselector_Button *obj);
|
||||
|
|
|
@ -2,5 +2,5 @@ typedef Eina_Bool (*Elm_Fileselector_Filter_Func)(const char *path, /**< File pa
|
|||
Eina_Bool dir, /**< A flag to show if path is a directory or not. True if the path is a directory. */
|
||||
void *data /**< A user data that was given by elm_fileselector_custom_filter_append. */);
|
||||
|
||||
EAPI extern Eina_Error ELM_FILESELECTOR_ERROR_UNKNOWN;
|
||||
EAPI extern Eina_Error ELM_FILESELECTOR_ERROR_INVALID_MODEL;
|
||||
ELM_API extern Eina_Error ELM_FILESELECTOR_ERROR_UNKNOWN;
|
||||
ELM_API extern Eina_Error ELM_FILESELECTOR_ERROR_INVALID_MODEL;
|
||||
|
|
|
@ -281,7 +281,7 @@ _elm_fileselector_entry_efl_canvas_group_group_del(Eo *obj, Elm_Fileselector_Ent
|
|||
efl_canvas_group_del(efl_super(obj, MY_CLASS));
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_fileselector_entry_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
@ -300,7 +300,7 @@ _elm_fileselector_entry_efl_object_constructor(Eo *obj, Elm_Fileselector_Entry_D
|
|||
return obj;
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_fileselector_entry_selected_set(Evas_Object *obj, const char *path)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj);
|
||||
|
@ -325,7 +325,7 @@ _elm_fileselector_entry_elm_interface_fileselector_selected_model_set(Eo *obj EI
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI const char *
|
||||
EINA_DEPRECATED ELM_API const char *
|
||||
elm_fileselector_entry_selected_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, NULL);
|
||||
|
@ -345,7 +345,7 @@ _elm_fileselector_entry_elm_interface_fileselector_selected_model_get(const Eo *
|
|||
return efl_ui_view_model_get(sd->button);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_entry_window_title_set(Eo *obj, const char *title)
|
||||
{
|
||||
ELM_FILESELECTOR_ENTRY_CHECK(obj);
|
||||
|
@ -353,7 +353,7 @@ elm_fileselector_entry_window_title_set(Eo *obj, const char *title)
|
|||
elm_fileselector_button_window_title_set(sd->button, title);
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
ELM_API const char *
|
||||
elm_fileselector_entry_window_title_get(const Eo *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_ENTRY_CHECK(obj) NULL;
|
||||
|
@ -361,7 +361,7 @@ elm_fileselector_entry_window_title_get(const Eo *obj)
|
|||
return elm_fileselector_button_window_title_get(sd->button);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_entry_window_size_set(Eo *obj, Evas_Coord width, Evas_Coord height)
|
||||
{
|
||||
ELM_FILESELECTOR_ENTRY_CHECK(obj);
|
||||
|
@ -369,7 +369,7 @@ elm_fileselector_entry_window_size_set(Eo *obj, Evas_Coord width, Evas_Coord hei
|
|||
elm_fileselector_button_window_size_set(sd->button, width, height);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_entry_window_size_get(const Eo *obj, Evas_Coord *width, Evas_Coord *height)
|
||||
{
|
||||
if (width) *width = 0;
|
||||
|
@ -379,7 +379,7 @@ elm_fileselector_entry_window_size_get(const Eo *obj, Evas_Coord *width, Evas_Co
|
|||
elm_fileselector_button_window_size_get(sd->button, width, height);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_fileselector_entry_path_set(Evas_Object *obj,
|
||||
const char *path)
|
||||
{
|
||||
|
@ -413,7 +413,7 @@ _elm_fileselector_entry_efl_ui_view_model_set(Eo *obj EINA_UNUSED, Elm_Fileselec
|
|||
efl_ui_property_bind(sd->entry, "default", "path");
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI const char *
|
||||
EINA_DEPRECATED ELM_API const char *
|
||||
elm_fileselector_entry_path_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, NULL);
|
||||
|
@ -455,7 +455,7 @@ _elm_fileselector_entry_efl_ui_view_model_get(const Eo *obj, Elm_Fileselector_En
|
|||
return ret;
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_fileselector_entry_expandable_set(Evas_Object *obj,
|
||||
Eina_Bool value)
|
||||
{
|
||||
|
@ -469,7 +469,7 @@ _elm_fileselector_entry_elm_interface_fileselector_expandable_set(Eo *obj EINA_U
|
|||
elm_fileselector_expandable_set(sd->button, value);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_fileselector_entry_expandable_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
|
||||
|
@ -482,7 +482,7 @@ _elm_fileselector_entry_elm_interface_fileselector_expandable_get(const Eo *obj
|
|||
return elm_fileselector_expandable_get(sd->button);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_fileselector_entry_folder_only_set(Evas_Object *obj,
|
||||
Eina_Bool value)
|
||||
{
|
||||
|
@ -496,7 +496,7 @@ _elm_fileselector_entry_elm_interface_fileselector_folder_only_set(Eo *obj EINA_
|
|||
elm_fileselector_folder_only_set(sd->button, value);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_fileselector_entry_folder_only_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
|
||||
|
@ -509,7 +509,7 @@ _elm_fileselector_entry_elm_interface_fileselector_folder_only_get(const Eo *obj
|
|||
return elm_fileselector_folder_only_get(sd->button);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_fileselector_entry_is_save_set(Evas_Object *obj,
|
||||
Eina_Bool value)
|
||||
{
|
||||
|
@ -523,7 +523,7 @@ _elm_fileselector_entry_elm_interface_fileselector_is_save_set(Eo *obj EINA_UNUS
|
|||
elm_fileselector_is_save_set(sd->button, value);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_fileselector_entry_is_save_get(const Evas_Object *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
|
||||
|
@ -536,7 +536,7 @@ _elm_fileselector_entry_elm_interface_fileselector_is_save_get(const Eo *obj EIN
|
|||
return elm_fileselector_is_save_get(sd->button);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_fileselector_entry_inwin_mode_set(Eo *obj, Eina_Bool value)
|
||||
{
|
||||
ELM_FILESELECTOR_ENTRY_CHECK(obj);
|
||||
|
@ -544,7 +544,7 @@ elm_fileselector_entry_inwin_mode_set(Eo *obj, Eina_Bool value)
|
|||
elm_fileselector_button_inwin_mode_set(sd->button, value);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_fileselector_entry_inwin_mode_get(const Eo *obj)
|
||||
{
|
||||
ELM_FILESELECTOR_ENTRY_CHECK(obj) EINA_FALSE;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* @ingroup Elm_File_Selector_Entry
|
||||
*/
|
||||
EAPI Evas_Object *elm_fileselector_entry_add(Evas_Object *parent);
|
||||
ELM_API Evas_Object *elm_fileselector_entry_add(Evas_Object *parent);
|
||||
|
||||
#include "elm_fileselector_entry_eo.legacy.h"
|
||||
|
||||
|
@ -26,7 +26,7 @@ EAPI Evas_Object *elm_fileselector_entry_add(Evas_Object *parent)
|
|||
*
|
||||
* @ingroup Elm_Fileselector_Entry
|
||||
*/
|
||||
EAPI void elm_fileselector_entry_inwin_mode_set(Elm_Fileselector_Entry *obj, Eina_Bool value);
|
||||
ELM_API void elm_fileselector_entry_inwin_mode_set(Elm_Fileselector_Entry *obj, Eina_Bool value);
|
||||
|
||||
/**
|
||||
* @brief Get whether a given file selector entry widget's internal file
|
||||
|
@ -40,7 +40,7 @@ EAPI void elm_fileselector_entry_inwin_mode_set(Elm_Fileselector_Entry *obj, Ein
|
|||
*
|
||||
* @ingroup Elm_Fileselector_Entry
|
||||
*/
|
||||
EAPI Eina_Bool elm_fileselector_entry_inwin_mode_get(const Elm_Fileselector_Entry *obj);
|
||||
ELM_API Eina_Bool elm_fileselector_entry_inwin_mode_get(const Elm_Fileselector_Entry *obj);
|
||||
|
||||
/**
|
||||
* @brief Set the size of a given file selector entry widget's window, holding
|
||||
|
@ -57,7 +57,7 @@ EAPI Eina_Bool elm_fileselector_entry_inwin_mode_get(const Elm_Fileselector_Entr
|
|||
*
|
||||
* @ingroup Elm_Fileselector_Entry
|
||||
*/
|
||||
EAPI void elm_fileselector_entry_window_size_set(Elm_Fileselector_Entry *obj, Evas_Coord width, Evas_Coord height);
|
||||
ELM_API void elm_fileselector_entry_window_size_set(Elm_Fileselector_Entry *obj, Evas_Coord width, Evas_Coord height);
|
||||
|
||||
/**
|
||||
* @brief Get the size of a given file selector entry widget's window, holding
|
||||
|
@ -73,7 +73,7 @@ EAPI void elm_fileselector_entry_window_size_set(Elm_Fileselector_Entry *obj, Ev
|
|||
*
|
||||
* @ingroup Elm_Fileselector_Entry
|
||||
*/
|
||||
EAPI void elm_fileselector_entry_window_size_get(const Elm_Fileselector_Entry *obj, Evas_Coord *width, Evas_Coord *height);
|
||||
ELM_API void elm_fileselector_entry_window_size_get(const Elm_Fileselector_Entry *obj, Evas_Coord *width, Evas_Coord *height);
|
||||
|
||||
/**
|
||||
* @brief Set the title for a given file selector entry widget's window
|
||||
|
@ -91,7 +91,7 @@ EAPI void elm_fileselector_entry_window_size_get(const Elm_Fileselector_Entry *o
|
|||
*
|
||||
* @ingroup Elm_Fileselector_Entry
|
||||
*/
|
||||
EAPI void elm_fileselector_entry_window_title_set(Elm_Fileselector_Entry *obj, const char *title);
|
||||
ELM_API void elm_fileselector_entry_window_title_set(Elm_Fileselector_Entry *obj, const char *title);
|
||||
|
||||
/**
|
||||
* @brief Get the title set for a given file selector entry widget's window.
|
||||
|
@ -102,4 +102,4 @@ EAPI void elm_fileselector_entry_window_title_set(Elm_Fileselector_Entry *obj, c
|
|||
*
|
||||
* @ingroup Elm_Fileselector_Entry
|
||||
*/
|
||||
EAPI const char *elm_fileselector_entry_window_title_get(const Elm_Fileselector_Entry *obj);
|
||||
ELM_API const char *elm_fileselector_entry_window_title_get(const Elm_Fileselector_Entry *obj);
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
*
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI Evas_Object *elm_fileselector_add(Evas_Object *parent);
|
||||
ELM_API Evas_Object *elm_fileselector_add(Evas_Object *parent);
|
||||
|
||||
/**
|
||||
* Enable/disable the file name entry box where the user can type
|
||||
|
@ -29,7 +29,7 @@ EAPI Evas_Object *elm_fileselector_add(Evas_Object *parent);
|
|||
*
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI void elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save);
|
||||
ELM_API void elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save);
|
||||
|
||||
/**
|
||||
* Get whether the given file selector is in "saving dialog" mode
|
||||
|
@ -42,7 +42,7 @@ EAPI void elm_fileselector_is_save_set(Evas_Object *obj, Eina_B
|
|||
*
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI Eina_Bool elm_fileselector_is_save_get(const Evas_Object *obj);
|
||||
ELM_API Eina_Bool elm_fileselector_is_save_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* Enable/disable folder-only view for a given file selector widget
|
||||
|
@ -59,7 +59,7 @@ EAPI Eina_Bool elm_fileselector_is_save_get(const Evas_Object *obj);
|
|||
*
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI void elm_fileselector_folder_only_set(Evas_Object *obj, Eina_Bool only);
|
||||
ELM_API void elm_fileselector_folder_only_set(Evas_Object *obj, Eina_Bool only);
|
||||
|
||||
/**
|
||||
* Get whether folder-only view is set for a given file selector
|
||||
|
@ -74,7 +74,7 @@ EAPI void elm_fileselector_folder_only_set(Evas_Object *obj, Ei
|
|||
*
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI Eina_Bool elm_fileselector_folder_only_get(const Evas_Object *obj);
|
||||
ELM_API Eina_Bool elm_fileselector_folder_only_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* Enable/disable a tree view in the given file selector widget,
|
||||
|
@ -94,7 +94,7 @@ EAPI Eina_Bool elm_fileselector_folder_only_get(const Evas_Object *o
|
|||
*
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI void elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool expand);
|
||||
ELM_API void elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool expand);
|
||||
|
||||
/**
|
||||
* Get whether tree view is enabled for the given file selector
|
||||
|
@ -108,7 +108,7 @@ EAPI void elm_fileselector_expandable_set(Evas_Object *obj, Ein
|
|||
*
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI Eina_Bool elm_fileselector_expandable_get(const Evas_Object *obj);
|
||||
ELM_API Eina_Bool elm_fileselector_expandable_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* Set, programmatically, the @b directory that a given file
|
||||
|
@ -125,7 +125,7 @@ EAPI Eina_Bool elm_fileselector_expandable_get(const Evas_Object *ob
|
|||
*
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI void elm_fileselector_path_set(Evas_Object *obj, const char *path);
|
||||
ELM_API void elm_fileselector_path_set(Evas_Object *obj, const char *path);
|
||||
|
||||
/**
|
||||
* Get the parent directory's path that a given file selector
|
||||
|
@ -139,7 +139,7 @@ EAPI void elm_fileselector_path_set(Evas_Object *obj, const cha
|
|||
*
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI const char *elm_fileselector_path_get(const Evas_Object *obj);
|
||||
ELM_API const char *elm_fileselector_path_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* Set the mode in which a given file selector widget will display
|
||||
|
@ -165,7 +165,7 @@ EAPI const char *elm_fileselector_path_get(const Evas_Object *obj);
|
|||
*
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI void elm_fileselector_mode_set(Evas_Object *obj, Elm_Fileselector_Mode mode);
|
||||
ELM_API void elm_fileselector_mode_set(Evas_Object *obj, Elm_Fileselector_Mode mode);
|
||||
|
||||
/**
|
||||
* Get the mode in which a given file selector widget is displaying
|
||||
|
@ -178,7 +178,7 @@ EAPI void elm_fileselector_mode_set(Evas_Object *obj, Elm_Files
|
|||
*
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI Elm_Fileselector_Mode elm_fileselector_mode_get(const Evas_Object *obj);
|
||||
ELM_API Elm_Fileselector_Mode elm_fileselector_mode_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* Enable or disable multi-selection in the file selector widget.
|
||||
|
@ -197,7 +197,7 @@ EAPI Elm_Fileselector_Mode elm_fileselector_mode_get(const Evas_Object *obj);
|
|||
* @since 1.8
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI void elm_fileselector_multi_select_set(Evas_Object *obj, Eina_Bool multi);
|
||||
ELM_API void elm_fileselector_multi_select_set(Evas_Object *obj, Eina_Bool multi);
|
||||
|
||||
/**
|
||||
* Get if multi-selection in the file selector is enabled or disabled.
|
||||
|
@ -211,7 +211,7 @@ EAPI void elm_fileselector_multi_select_set(Evas_Object *obj, E
|
|||
* @since 1.8
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI Eina_Bool elm_fileselector_multi_select_get(const Evas_Object *obj);
|
||||
ELM_API Eina_Bool elm_fileselector_multi_select_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* Set, programmatically, the currently selected file/directory in
|
||||
|
@ -227,7 +227,7 @@ EAPI Eina_Bool elm_fileselector_multi_select_get(const Evas_Object *
|
|||
*
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI Eina_Bool elm_fileselector_selected_set(Evas_Object *obj, const char *path);
|
||||
ELM_API Eina_Bool elm_fileselector_selected_set(Evas_Object *obj, const char *path);
|
||||
|
||||
/**
|
||||
* Get the currently selected item's (full) path, in the given file
|
||||
|
@ -244,10 +244,10 @@ EAPI Eina_Bool elm_fileselector_selected_set(Evas_Object *obj, const
|
|||
*
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI const char *elm_fileselector_selected_get(const Evas_Object *obj);
|
||||
ELM_API const char *elm_fileselector_selected_get(const Evas_Object *obj);
|
||||
|
||||
EAPI void elm_fileselector_current_name_set(Evas_Object *obj, const char *name);
|
||||
EAPI const char *elm_fileselector_current_name_get(const Evas_Object *obj);
|
||||
ELM_API void elm_fileselector_current_name_set(Evas_Object *obj, const char *name);
|
||||
ELM_API const char *elm_fileselector_current_name_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* Get a list of selected paths in the file selector.
|
||||
|
@ -270,7 +270,7 @@ EAPI const char *elm_fileselector_current_name_get(const Evas_Object *
|
|||
* @since 1.8
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI const Eina_List *elm_fileselector_selected_paths_get(const Evas_Object *obj);
|
||||
ELM_API const Eina_List *elm_fileselector_selected_paths_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* Append mime types filter into filter list
|
||||
|
@ -290,7 +290,7 @@ EAPI const Eina_List *elm_fileselector_selected_paths_get(const Evas_Object
|
|||
* @since 1.8
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI Eina_Bool elm_fileselector_mime_types_filter_append(Evas_Object *obj, const char *mime_types, const char *filter_name);
|
||||
ELM_API Eina_Bool elm_fileselector_mime_types_filter_append(Evas_Object *obj, const char *mime_types, const char *filter_name);
|
||||
|
||||
/**
|
||||
* Append custom filter into filter list
|
||||
|
@ -306,7 +306,7 @@ EAPI Eina_Bool elm_fileselector_mime_types_filter_append(Evas_Object
|
|||
* @since 1.9
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI Eina_Bool elm_fileselector_custom_filter_append(Evas_Object *obj, Elm_Fileselector_Filter_Func func, void *data, const char *filter_name);
|
||||
ELM_API Eina_Bool elm_fileselector_custom_filter_append(Evas_Object *obj, Elm_Fileselector_Filter_Func func, void *data, const char *filter_name);
|
||||
|
||||
/**
|
||||
* Clear all filters registered
|
||||
|
@ -321,7 +321,7 @@ EAPI Eina_Bool elm_fileselector_custom_filter_append(Evas_Object *ob
|
|||
* @since 1.8
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI void elm_fileselector_filters_clear(Evas_Object *obj);
|
||||
ELM_API void elm_fileselector_filters_clear(Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* Enable or disable visibility of hidden files/directories
|
||||
|
@ -336,7 +336,7 @@ EAPI void elm_fileselector_filters_clear(Evas_Object *obj);
|
|||
* @since 1.8
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI void elm_fileselector_hidden_visible_set(Evas_Object *obj, Eina_Bool visible);
|
||||
ELM_API void elm_fileselector_hidden_visible_set(Evas_Object *obj, Eina_Bool visible);
|
||||
|
||||
/**
|
||||
* Get if hidden files/directories in the file selector widget are visible or not.
|
||||
|
@ -350,7 +350,7 @@ EAPI void elm_fileselector_hidden_visible_set(Evas_Object *obj,
|
|||
* @since 1.8
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI Eina_Bool elm_fileselector_hidden_visible_get(const Evas_Object *obj);
|
||||
ELM_API Eina_Bool elm_fileselector_hidden_visible_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* Set the size for the thumbnail of the file selector widget's view.
|
||||
|
@ -366,7 +366,7 @@ EAPI Eina_Bool elm_fileselector_hidden_visible_get(const Evas_Object
|
|||
* @since 1.9
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI void elm_fileselector_thumbnail_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h);
|
||||
ELM_API void elm_fileselector_thumbnail_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h);
|
||||
|
||||
/**
|
||||
* Get the size for the thumbnail of a given file selector widget
|
||||
|
@ -383,7 +383,7 @@ EAPI void elm_fileselector_thumbnail_size_set(Evas_Object *obj,
|
|||
* @since 1.9
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI void elm_fileselector_thumbnail_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
|
||||
ELM_API void elm_fileselector_thumbnail_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
|
||||
|
||||
/**
|
||||
* Get the sort method of the file selector widget.
|
||||
|
@ -396,7 +396,7 @@ EAPI void elm_fileselector_thumbnail_size_get(const Evas_Object
|
|||
* @since 1.9
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI Elm_Fileselector_Sort elm_fileselector_sort_method_get(const Evas_Object *obj);
|
||||
ELM_API Elm_Fileselector_Sort elm_fileselector_sort_method_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* Set the sort method of the file selector widget.
|
||||
|
@ -409,6 +409,6 @@ EAPI Elm_Fileselector_Sort elm_fileselector_sort_method_get(const Evas_Object *o
|
|||
* @since 1.9
|
||||
* @ingroup Elm_Fileselector
|
||||
*/
|
||||
EAPI void elm_fileselector_sort_method_set(Evas_Object *obj, Elm_Fileselector_Sort sort);
|
||||
ELM_API void elm_fileselector_sort_method_set(Evas_Object *obj, Elm_Fileselector_Sort sort);
|
||||
|
||||
#include "elm_fileselector_eo.legacy.h"
|
||||
|
|
|
@ -699,7 +699,7 @@ _elm_hoversel_efl_ui_autorepeat_autorepeat_enabled_set(const Eo *obj EINA_UNUSED
|
|||
efl_ui_autorepeat_enabled_set(efl_super(obj, MY_CLASS), EINA_FALSE);
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_hoversel_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*
|
||||
* @ingroup Elm_Hoversel
|
||||
*/
|
||||
EAPI Evas_Object *elm_hoversel_add(Evas_Object *parent);
|
||||
ELM_API Evas_Object *elm_hoversel_add(Evas_Object *parent);
|
||||
|
||||
#include "elm_hoversel_item_eo.legacy.h"
|
||||
#include "elm_hoversel_eo.legacy.h"
|
||||
|
|
|
@ -1624,7 +1624,7 @@ _elm_multibuttonentry_efl_ui_widget_on_access_update(Eo *obj, Elm_Multibuttonent
|
|||
_access_obj_process(obj, _elm_multibuttonentry_smart_focus_next_enable);
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_multibuttonentry_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
@ -1838,13 +1838,13 @@ _elm_multibuttonentry_item_elm_widget_item_disable(Eo *eo_it, Elm_Multibuttonent
|
|||
elm_layout_signal_emit(VIEW(it), emission, "elm");
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void *
|
||||
EINA_DEPRECATED ELM_API void *
|
||||
elm_multibuttonentry_item_data_get(const Elm_Object_Item *it)
|
||||
{
|
||||
return (void *)WIDGET_ITEM_DATA_GET(it);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_multibuttonentry_item_data_set(Elm_Object_Item *it,
|
||||
void *data)
|
||||
{
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
*
|
||||
* @ingroup Multibuttonentry
|
||||
*/
|
||||
EAPI Evas_Object *elm_multibuttonentry_add(Evas_Object *parent);
|
||||
ELM_API Evas_Object *elm_multibuttonentry_add(Evas_Object *parent);
|
||||
|
||||
/**
|
||||
* @brief Set a function to format the string that will be used to display the
|
||||
|
@ -27,4 +27,4 @@ EAPI Evas_Object *elm_multibuttonentry_add(Evas_Object *parent);
|
|||
*
|
||||
* @ingroup Multibuttonentry
|
||||
*/
|
||||
EAPI void elm_multibuttonentry_format_function_set(Eo *obj, Elm_Multibuttonentry_Format_Cb format_function, const void *data);
|
||||
ELM_API void elm_multibuttonentry_format_function_set(Eo *obj, Elm_Multibuttonentry_Format_Cb format_function, const void *data);
|
||||
|
|
|
@ -1601,7 +1601,7 @@ _item_push_helper(Elm_Naviframe_Item_Data *item)
|
|||
efl_event_callback_legacy_call(obj, ELM_NAVIFRAME_EVENT_ITEM_ACTIVATED, EO_OBJ(item));
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_naviframe_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
@ -1913,26 +1913,26 @@ _elm_naviframe_item_elm_widget_item_style_set(Eo *eo_item EINA_UNUSED,
|
|||
_item_title_enabled_update(nit, EINA_FALSE);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_naviframe_item_style_set(Elm_Object_Item *obj, const char *style)
|
||||
{
|
||||
elm_wdg_item_style_set(obj, style);
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
ELM_API const char *
|
||||
elm_naviframe_item_style_get(const Elm_Object_Item *obj)
|
||||
{
|
||||
return elm_wdg_item_style_get(obj);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_naviframe_item_title_visible_set(Elm_Object_Item *it,
|
||||
Eina_Bool visible)
|
||||
{
|
||||
elm_naviframe_item_title_enabled_set(it, visible, EINA_FALSE);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_naviframe_item_title_visible_get(const Elm_Object_Item *it)
|
||||
{
|
||||
return elm_naviframe_item_title_enabled_get(it);
|
||||
|
|
|
@ -19,9 +19,9 @@ typedef Eina_Bool (*Elm_Naviframe_Item_Pop_Cb)(void *data, Elm_Object_Item *it);
|
|||
*
|
||||
* @ingroup Elm_Naviframe_Group
|
||||
*/
|
||||
EAPI Evas_Object *elm_naviframe_add(Evas_Object *parent);
|
||||
ELM_API Evas_Object *elm_naviframe_add(Evas_Object *parent);
|
||||
|
||||
EAPI void elm_naviframe_item_title_enabled_set(Elm_Object_Item *it, Eina_Bool enabled, Eina_Bool transition);
|
||||
ELM_API void elm_naviframe_item_title_enabled_set(Elm_Object_Item *it, Eina_Bool enabled, Eina_Bool transition);
|
||||
|
||||
/**
|
||||
* @brief Push a new item to the top of the naviframe stack (and show it).
|
||||
|
@ -51,7 +51,7 @@ EAPI void elm_naviframe_item_title_enabled_set(Elm_Object_Item *it,
|
|||
*
|
||||
* @ingroup Elm_Naviframe_Group
|
||||
*/
|
||||
EAPI Elm_Object_Item *elm_naviframe_item_push(Evas_Object *obj, const char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const char *item_style);
|
||||
ELM_API Elm_Object_Item *elm_naviframe_item_push(Evas_Object *obj, const char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const char *item_style);
|
||||
|
||||
/**
|
||||
* @brief Simple version of item_push.
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*
|
||||
* @ingroup Elm_Naviframe_Item_Group
|
||||
*/
|
||||
EAPI void elm_naviframe_item_style_set(Elm_Object_Item *obj, const char *style);
|
||||
ELM_API void elm_naviframe_item_style_set(Elm_Object_Item *obj, const char *style);
|
||||
|
||||
/**
|
||||
* @brief Get an item style.
|
||||
|
@ -17,7 +17,7 @@ EAPI void elm_naviframe_item_style_set(Elm_Object_Item *obj, const char *style);
|
|||
*
|
||||
* @ingroup Elm_Naviframe_Item_Group
|
||||
*/
|
||||
EAPI const char *elm_naviframe_item_style_get(const Elm_Object_Item *obj);
|
||||
ELM_API const char *elm_naviframe_item_style_get(const Elm_Object_Item *obj);
|
||||
|
||||
#include "elm_naviframe_item_eo.legacy.h"
|
||||
#include "elm_naviframe_eo.legacy.h"
|
||||
|
|
|
@ -642,7 +642,7 @@ _elm_player_efl_canvas_group_group_del(Eo *obj, Elm_Player_Data *sd EINA_UNUSED)
|
|||
efl_canvas_group_del(efl_super(obj, MY_CLASS));
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_player_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
|
|
@ -1527,7 +1527,7 @@ _elm_popup_efl_ui_widget_on_access_update(Eo *obj, Elm_Popup_Data *_pd EINA_UNUS
|
|||
_access_obj_process(obj, is_access);
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_popup_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
*
|
||||
* @ingroup Elm_Popup_Group
|
||||
*/
|
||||
EAPI Evas_Object *elm_popup_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
ELM_API Evas_Object *elm_popup_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
|
||||
|
||||
#include "elm_popup_eo.legacy.h"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include <Elementary.h>
|
||||
#include "elm_priv.h"
|
||||
EINA_DEPRECATED EAPI Evas_Object *
|
||||
EINA_DEPRECATED ELM_API Evas_Object *
|
||||
elm_scrolled_entry_add(Evas_Object *parent)
|
||||
{
|
||||
Evas_Object *obj;
|
||||
|
@ -12,186 +12,186 @@ elm_scrolled_entry_add(Evas_Object *parent)
|
|||
elm_entry_scrollable_set(obj, EINA_TRUE);
|
||||
return obj;
|
||||
}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_icon_set(Evas_Object *obj, Evas_Object *icon)
|
||||
{elm_object_part_content_set(obj, "icon", icon);}
|
||||
EINA_DEPRECATED EAPI Evas_Object *
|
||||
EINA_DEPRECATED ELM_API Evas_Object *
|
||||
elm_scrolled_entry_icon_get(const Evas_Object *obj)
|
||||
{return elm_object_part_content_get(obj, "icon");}
|
||||
EINA_DEPRECATED EAPI Evas_Object *
|
||||
EINA_DEPRECATED ELM_API Evas_Object *
|
||||
elm_scrolled_entry_icon_unset(Evas_Object *obj)
|
||||
{return elm_object_part_content_unset(obj, "icon");}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting)
|
||||
{elm_entry_icon_visible_set(obj, setting);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_end_set(Evas_Object *obj, Evas_Object *end)
|
||||
{elm_object_part_content_set(obj, "end", end);}
|
||||
EINA_DEPRECATED EAPI Evas_Object *
|
||||
EINA_DEPRECATED ELM_API Evas_Object *
|
||||
elm_scrolled_entry_end_get(const Evas_Object *obj)
|
||||
{return elm_object_part_content_get(obj, "end");}
|
||||
EINA_DEPRECATED EAPI Evas_Object *
|
||||
EINA_DEPRECATED ELM_API Evas_Object *
|
||||
elm_scrolled_entry_end_unset(Evas_Object *obj)
|
||||
{return elm_object_part_content_unset(obj, "end");}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting)
|
||||
{elm_entry_end_visible_set(obj, setting);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line)
|
||||
{elm_entry_single_line_set(obj, single_line);}
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_scrolled_entry_single_line_get(const Evas_Object *obj)
|
||||
{return elm_entry_single_line_get(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password)
|
||||
{elm_entry_password_set(obj, password);}
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_scrolled_entry_password_get(const Evas_Object *obj)
|
||||
{return elm_entry_password_get(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry)
|
||||
{elm_object_text_set(obj, entry);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_entry_append(Evas_Object *obj, const char *entry)
|
||||
{elm_entry_entry_append(obj, entry);}
|
||||
EINA_DEPRECATED EAPI const char *
|
||||
EINA_DEPRECATED ELM_API const char *
|
||||
elm_scrolled_entry_entry_get(const Evas_Object *obj)
|
||||
{return elm_object_text_get(obj);}
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_scrolled_entry_is_empty(const Evas_Object *obj)
|
||||
{return elm_entry_is_empty(obj);}
|
||||
EINA_DEPRECATED EAPI const char *
|
||||
EINA_DEPRECATED ELM_API const char *
|
||||
elm_scrolled_entry_selection_get(const Evas_Object *obj)
|
||||
{return elm_entry_selection_get(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry)
|
||||
{elm_entry_entry_insert(obj, entry);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap)
|
||||
{elm_entry_line_wrap_set(obj, wrap);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable)
|
||||
{elm_entry_editable_set(obj, editable);}
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_scrolled_entry_editable_get(const Evas_Object *obj)
|
||||
{return elm_entry_editable_get(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_select_none(Evas_Object *obj)
|
||||
{elm_entry_select_none(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_select_all(Evas_Object *obj)
|
||||
{return elm_entry_select_all(obj);}
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_scrolled_entry_cursor_next(Evas_Object *obj)
|
||||
{return elm_entry_cursor_next(obj);}
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_scrolled_entry_cursor_prev(Evas_Object *obj)
|
||||
{return elm_entry_cursor_prev(obj);}
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_scrolled_entry_cursor_up(Evas_Object *obj)
|
||||
{return elm_entry_cursor_up(obj);}
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_scrolled_entry_cursor_down(Evas_Object *obj)
|
||||
{return elm_entry_cursor_down(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_cursor_begin_set(Evas_Object *obj)
|
||||
{elm_entry_cursor_begin_set(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_cursor_end_set(Evas_Object *obj)
|
||||
{elm_entry_cursor_end_set(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj)
|
||||
{elm_entry_cursor_line_begin_set(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj)
|
||||
{elm_entry_cursor_line_end_set(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj)
|
||||
{elm_entry_cursor_selection_begin(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_cursor_selection_end(Evas_Object *obj)
|
||||
{return elm_entry_cursor_selection_end(obj);}
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj)
|
||||
{return elm_entry_cursor_is_format_get(obj);}
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj)
|
||||
{return elm_entry_cursor_is_visible_format_get(obj);}
|
||||
EINA_DEPRECATED EAPI const char *
|
||||
EINA_DEPRECATED ELM_API const char *
|
||||
elm_scrolled_entry_cursor_content_get(const Evas_Object *obj)
|
||||
{return elm_entry_cursor_content_get(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_cursor_pos_set(Evas_Object *obj, int pos)
|
||||
{elm_entry_cursor_pos_set(obj, pos);}
|
||||
EINA_DEPRECATED EAPI int
|
||||
EINA_DEPRECATED ELM_API int
|
||||
elm_scrolled_entry_cursor_pos_get(const Evas_Object *obj)
|
||||
{return elm_entry_cursor_pos_get(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_selection_cut(Evas_Object *obj)
|
||||
{elm_entry_selection_cut(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_selection_copy(Evas_Object *obj)
|
||||
{elm_entry_selection_copy(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_selection_paste(Evas_Object *obj)
|
||||
{elm_entry_selection_paste(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_context_menu_clear(Evas_Object *obj)
|
||||
{elm_entry_context_menu_clear(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_context_menu_item_add(Evas_Object *obj, const char *label, const char *icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, const void *data)
|
||||
{elm_entry_context_menu_item_add(obj, label, icon_file, icon_type, func, data);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled)
|
||||
{elm_entry_context_menu_disabled_set(obj, disabled);}
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj)
|
||||
{return elm_entry_context_menu_disabled_get(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v)
|
||||
{elm_scroller_policy_set(obj, h, v);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce)
|
||||
{elm_scroller_bounce_set(obj, h_bounce, v_bounce);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce)
|
||||
{elm_scroller_bounce_get(obj, h_bounce, v_bounce);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_item_provider_append(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data)
|
||||
{elm_entry_item_provider_append(obj, func, data);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_item_provider_prepend(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data)
|
||||
{elm_entry_item_provider_prepend(obj, func, data);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_item_provider_remove(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data)
|
||||
{elm_entry_item_provider_remove(obj, func, data);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_text_filter_append(Evas_Object *obj, void (*func) (void *data, Evas_Object *entry, char **text), void *data)
|
||||
{elm_entry_markup_filter_append(obj, func, data);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_text_filter_prepend(Evas_Object *obj, void (*func) (void *data, Evas_Object *entry, char **text), void *data)
|
||||
{elm_entry_markup_filter_prepend(obj, func, data);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_text_filter_remove(Evas_Object *obj, void (*func) (void *data, Evas_Object *entry, char **text), void *data)
|
||||
{elm_entry_markup_filter_remove(obj, func, data);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format)
|
||||
{elm_entry_file_set(obj, file, format);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format)
|
||||
{elm_entry_file_get(obj, file, format);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_file_save(Evas_Object *obj)
|
||||
{elm_entry_file_save(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave)
|
||||
{elm_entry_autosave_set(obj, autosave);}
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_scrolled_entry_autosave_get(const Evas_Object *obj)
|
||||
{return elm_entry_autosave_get(obj);}
|
||||
EINA_DEPRECATED EAPI void
|
||||
EINA_DEPRECATED ELM_API void
|
||||
elm_scrolled_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly)
|
||||
{Elm_Cnp_Mode cnp_mode = ELM_CNP_MODE_MARKUP; if (textonly) cnp_mode = ELM_CNP_MODE_NO_IMAGE; elm_entry_cnp_mode_set(obj, cnp_mode);}
|
||||
EINA_DEPRECATED EAPI Eina_Bool
|
||||
EINA_DEPRECATED ELM_API Eina_Bool
|
||||
elm_scrolled_entry_cnp_textonly_get(Evas_Object *obj)
|
||||
{return elm_entry_cnp_mode_get(obj) != ELM_CNP_MODE_MARKUP;}
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
#ifndef _EFL_ELM_API_H
|
||||
#define _EFL_ELM_API_H
|
||||
|
||||
#ifdef ELM_API
|
||||
#error ELM_API should not be already defined
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# ifndef ELM_STATIC
|
||||
# ifdef ELM_BUILD
|
||||
# define ELM_API __declspec(dllexport)
|
||||
# else
|
||||
# define ELM_API __declspec(dllimport)
|
||||
# endif
|
||||
# else
|
||||
# define ELM_API
|
||||
# endif
|
||||
# define ELM_API_WEAK
|
||||
#else
|
||||
# ifdef __GNUC__
|
||||
# if __GNUC__ >= 4
|
||||
# define ELM_API __attribute__ ((visibility("default")))
|
||||
# define ELM_API_WEAK __attribute__ ((weak))
|
||||
# else
|
||||
# define ELM_API
|
||||
# define ELM_API_WEAK
|
||||
# endif
|
||||
# else
|
||||
# define ELM_API
|
||||
# define ELM_API_WEAK
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
@ -17,132 +17,117 @@
|
|||
|
||||
#include <Eina.hh>
|
||||
|
||||
#ifdef EAPI
|
||||
# undef EAPI
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
# define EAPI __declspec(dllimport)
|
||||
#else
|
||||
# ifdef __GNUC__
|
||||
# if __GNUC__ >= 4
|
||||
# define EAPI __attribute__ ((visibility("default")))
|
||||
# else
|
||||
# define EAPI
|
||||
# endif
|
||||
# else
|
||||
# define EAPI
|
||||
# endif
|
||||
#endif /* ! _WIN32 */
|
||||
#include "elementary_api.h"
|
||||
|
||||
EAPI void register_elm_atspi_app_object(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_efl_access(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_efl_access_action(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_efl_access_component(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_elm_interface_atspi_text_editable(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_elm_interface_atspi_image(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_efl_access_selection(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_elm_interface_atspi_text(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_elm_interface_atspi_value(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_elm_interface_atspi_widget_action(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_efl_access_window(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_elm_interface_fileselector(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_elm_interface_scrollable(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_elm_pan(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_elm_atspi_app_object(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_efl_access(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_efl_access_action(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_efl_access_component(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_elm_interface_atspi_text_editable(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_elm_interface_atspi_image(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_efl_access_selection(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_elm_interface_atspi_text(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_elm_interface_atspi_value(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_elm_interface_atspi_widget_action(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_efl_access_window(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_elm_interface_fileselector(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_elm_interface_scrollable(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_elm_pan(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
|
||||
namespace elm {
|
||||
|
||||
EAPI void register_access(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_actionslider(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_bg(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_box(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_bubble(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_button(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_calendar(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_check(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_clock(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_colorselector(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_conformant(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_container(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_combobox(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_ctxpopup(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_datetime(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_dayselector(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_diskselector(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_entry(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_fileselector(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_fileselector_button(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_fileselector_entry(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_flip(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_flipselector(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_frame(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_gengrid(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_gengrid_pan(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_genlist(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_genlist_pan(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_gesture_layer(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_glview(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_grid(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_hover(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_hoversel(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_icon(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_image(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_index(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_inwin(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_label(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_layout(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_list(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_map(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_map_pan(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_mapbuf(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_menu(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_multibuttonentry(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_naviframe(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_notify(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_panel(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_panes(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_photo(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_photocam(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_photocam_pan(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_player(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_plug(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_popup(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_prefs(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_progressbar(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_radio(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_route(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_scroller(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_segment_control(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_separator(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_slider(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_slideshow(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_spinner(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_systray(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_table(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_thumb(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_toolbar(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_video(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_web(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_widget(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_win(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_win_standard(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_widget_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_color_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_dayselector_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_hoversel_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_segment_control_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_slideshow_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_flipselector_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_menu_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_ctxpopup_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_index_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_multibuttonentry_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_naviframe_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_genlist_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_gengrid_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_list_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_toolbar_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_diskselector_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
EAPI void register_popup_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_access(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_actionslider(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_bg(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_box(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_bubble(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_button(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_calendar(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_check(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_clock(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_colorselector(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_conformant(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_container(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_combobox(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_ctxpopup(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_datetime(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_dayselector(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_diskselector(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_entry(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_fileselector(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_fileselector_button(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_fileselector_entry(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_flip(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_flipselector(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_frame(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_gengrid(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_gengrid_pan(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_genlist(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_genlist_pan(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_gesture_layer(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_glview(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_grid(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_hover(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_hoversel(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_icon(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_image(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_index(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_inwin(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_label(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_layout(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_list(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_map(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_map_pan(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_mapbuf(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_menu(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_multibuttonentry(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_naviframe(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_notify(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_panel(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_panes(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_photo(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_photocam(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_photocam_pan(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_player(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_plug(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_popup(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_prefs(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_progressbar(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_radio(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_route(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_scroller(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_segment_control(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_separator(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_slider(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_slideshow(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_spinner(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_systray(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_table(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_thumb(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_toolbar(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_video(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_web(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_widget(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_win(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_win_standard(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_widget_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_color_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_dayselector_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_hoversel_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_segment_control_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_slideshow_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_flipselector_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_menu_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_ctxpopup_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_index_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_multibuttonentry_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_naviframe_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_genlist_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_gengrid_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_list_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_toolbar_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_diskselector_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
ELM_API void register_popup_item(v8::Handle<v8::Object> global, v8::Isolate* isolate);
|
||||
|
||||
}
|
||||
|
||||
|
@ -160,7 +145,7 @@ void init(v8::Handle<v8::Object> exports)
|
|||
|
||||
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN);
|
||||
#endif
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
elm::register_access(exports, v8::Isolate::GetCurrent());
|
||||
|
@ -275,7 +260,7 @@ void init(v8::Handle<v8::Object> exports)
|
|||
std::cout << "Exception" << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#ifdef HAVE_NODEJS
|
||||
}
|
||||
NODE_MODULE(elm, init)
|
||||
|
|
|
@ -559,7 +559,7 @@ _access_highlight_next_get(Evas_Object *obj, Elm_Focus_Direction dir)
|
|||
}
|
||||
|
||||
//-------------------------------------------------------------------------//
|
||||
EAPI void
|
||||
ELM_API void
|
||||
_elm_access_highlight_set(Evas_Object* obj)
|
||||
{
|
||||
Elm_Access_Info *ac;
|
||||
|
@ -576,7 +576,7 @@ _elm_access_highlight_set(Evas_Object* obj)
|
|||
_access_highlight_read(ac, obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
_elm_access_clear(Elm_Access_Info *ac)
|
||||
{
|
||||
Elm_Access_Item *ai;
|
||||
|
@ -593,7 +593,7 @@ _elm_access_clear(Elm_Access_Info *ac)
|
|||
}
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
_elm_access_text_set(Elm_Access_Info *ac, int type, const char *text)
|
||||
{
|
||||
Elm_Access_Item *ai = _access_add_set(ac, type);
|
||||
|
@ -602,7 +602,7 @@ _elm_access_text_set(Elm_Access_Info *ac, int type, const char *text)
|
|||
ai->data = eina_stringshare_add(text);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
_elm_access_callback_set(Elm_Access_Info *ac, int type, Elm_Access_Info_Cb func, const void *data)
|
||||
{
|
||||
Elm_Access_Item *ai = _access_add_set(ac, type);
|
||||
|
@ -611,7 +611,7 @@ _elm_access_callback_set(Elm_Access_Info *ac, int type, Elm_Access_Info_Cb func,
|
|||
ai->data = data;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
_elm_access_on_highlight_hook_set(Elm_Access_Info *ac,
|
||||
Elm_Access_On_Highlight_Cb func,
|
||||
void *data)
|
||||
|
@ -621,7 +621,7 @@ _elm_access_on_highlight_hook_set(Elm_Access_Info *ac,
|
|||
ac->on_highlight_data = data;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
_elm_access_activate_callback_set(Elm_Access_Info *ac,
|
||||
Elm_Access_Activate_Cb func,
|
||||
void *data)
|
||||
|
@ -631,7 +631,7 @@ _elm_access_activate_callback_set(Elm_Access_Info *ac,
|
|||
ac->activate_data = data;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
_elm_access_highlight_object_activate(Evas_Object *obj, Efl_Ui_Activate act)
|
||||
{
|
||||
Evas_Object *highlight;
|
||||
|
@ -648,7 +648,7 @@ _elm_access_highlight_object_activate(Evas_Object *obj, Efl_Ui_Activate act)
|
|||
return;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
_elm_access_highlight_cycle(Evas_Object *obj, Elm_Focus_Direction dir)
|
||||
{
|
||||
int type;
|
||||
|
@ -712,7 +712,7 @@ _elm_access_highlight_cycle(Evas_Object *obj, Elm_Focus_Direction dir)
|
|||
_elm_access_auto_highlight_set(EINA_FALSE);
|
||||
}
|
||||
|
||||
EAPI char *
|
||||
ELM_API char *
|
||||
_elm_access_text_get(const Elm_Access_Info *ac, int type, const Evas_Object *obj)
|
||||
{
|
||||
Elm_Access_Item *ai;
|
||||
|
@ -731,7 +731,7 @@ _elm_access_text_get(const Elm_Access_Info *ac, int type, const Evas_Object *obj
|
|||
return NULL;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
_elm_access_read(Elm_Access_Info *ac, int type, const Evas_Object *obj)
|
||||
{
|
||||
char *txt = _elm_access_text_get(ac, type, obj);
|
||||
|
@ -761,7 +761,7 @@ _elm_access_read(Elm_Access_Info *ac, int type, const Evas_Object *obj)
|
|||
free(txt);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
_elm_access_say(const char *txt)
|
||||
{
|
||||
if (!_elm_config->access_mode) return;
|
||||
|
@ -781,13 +781,13 @@ _elm_access_say(const char *txt)
|
|||
}
|
||||
}
|
||||
|
||||
EAPI Elm_Access_Info *
|
||||
ELM_API Elm_Access_Info *
|
||||
_elm_access_info_get(const Evas_Object *obj)
|
||||
{
|
||||
return evas_object_data_get(obj, "_elm_access");
|
||||
}
|
||||
|
||||
EAPI Elm_Access_Info *
|
||||
ELM_API Elm_Access_Info *
|
||||
_elm_access_object_get(const Evas_Object *obj)
|
||||
{
|
||||
return _elm_access_info_get(obj);
|
||||
|
@ -814,7 +814,7 @@ _elm_access_widget_target_get(Evas_Object *obj)
|
|||
return o;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
_elm_access_object_highlight(Evas_Object *obj)
|
||||
{
|
||||
Evas_Object *o, *widget;
|
||||
|
@ -890,7 +890,7 @@ _elm_access_object_highlight(Evas_Object *obj)
|
|||
evas_object_hide(o);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
_elm_access_object_unhighlight(Evas_Object *obj)
|
||||
{
|
||||
Evas_Object *o, *ptarget;
|
||||
|
@ -1005,7 +1005,7 @@ _access_object_unregister(Evas_Object *obj)
|
|||
}
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
_elm_access_edje_object_part_object_register(Evas_Object* obj,
|
||||
const Evas_Object *eobj,
|
||||
const char* part)
|
||||
|
@ -1028,7 +1028,7 @@ _elm_access_edje_object_part_object_register(Evas_Object* obj,
|
|||
}
|
||||
|
||||
//FIXME: unused obj should be removed from here and each widget.
|
||||
EAPI void
|
||||
ELM_API void
|
||||
_elm_access_edje_object_part_object_unregister(Evas_Object* obj EINA_UNUSED,
|
||||
const Evas_Object *eobj,
|
||||
const char* part)
|
||||
|
@ -1043,7 +1043,7 @@ _elm_access_edje_object_part_object_unregister(Evas_Object* obj EINA_UNUSED,
|
|||
_access_object_unregister(po);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
_elm_access_object_highlight_disable(Evas *e)
|
||||
{
|
||||
Evas_Object *o, *ptarget;
|
||||
|
@ -1131,7 +1131,7 @@ _access_hover_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *ev
|
|||
evas_object_data_set(data, "_access_obj_del_job", ao_del_job);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
_elm_access_object_register(Evas_Object *obj, Evas_Object *hoverobj)
|
||||
{
|
||||
Elm_Access_Info *ac;
|
||||
|
@ -1152,7 +1152,7 @@ _elm_access_object_register(Evas_Object *obj, Evas_Object *hoverobj)
|
|||
ac->hoverobj = hoverobj;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
_elm_access_object_unregister(Evas_Object *obj, Evas_Object *hoverobj)
|
||||
{
|
||||
Elm_Access_Info *ac;
|
||||
|
@ -1184,7 +1184,7 @@ _elm_access_object_unregister(Evas_Object *obj, Evas_Object *hoverobj)
|
|||
free(a);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
_elm_access_widget_item_register(Elm_Widget_Item_Data *item)
|
||||
{
|
||||
Evas_Object *ao, *ho;
|
||||
|
@ -1221,7 +1221,7 @@ _elm_access_widget_item_register(Elm_Widget_Item_Data *item)
|
|||
ac->widget_item = item;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
_elm_access_widget_item_unregister(Elm_Widget_Item_Data *item)
|
||||
{
|
||||
Evas_Object *ao;
|
||||
|
@ -1237,7 +1237,7 @@ _elm_access_widget_item_unregister(Elm_Widget_Item_Data *item)
|
|||
evas_object_del(ao);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
_elm_access_2nd_click_timeout(Evas_Object *obj)
|
||||
{
|
||||
Ecore_Timer *t;
|
||||
|
@ -1275,44 +1275,44 @@ _elm_access_efl_object_constructor(Eo *obj, void *_pd EINA_UNUSED)
|
|||
return obj;
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_access_object_register(Evas_Object *obj, Evas_Object *parent)
|
||||
{
|
||||
return _access_object_register(obj, parent);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_access_object_unregister(Evas_Object *obj)
|
||||
{
|
||||
_access_object_unregister(obj);
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_access_object_get(const Evas_Object *obj)
|
||||
{
|
||||
return evas_object_data_get(obj, "_part_access_obj");
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_access_info_set(Evas_Object *obj, int type, const char *text)
|
||||
{
|
||||
_elm_access_text_set(_elm_access_info_get(obj), type, text);
|
||||
}
|
||||
|
||||
EAPI char *
|
||||
ELM_API char *
|
||||
elm_access_info_get(const Evas_Object *obj, int type)
|
||||
{
|
||||
return _elm_access_text_get(_elm_access_info_get(obj), type, obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_access_info_cb_set(Evas_Object *obj, int type,
|
||||
Elm_Access_Info_Cb func, const void *data)
|
||||
{
|
||||
_elm_access_callback_set(_elm_access_info_get(obj), type, func, data);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_access_activate_cb_set(Evas_Object *obj,
|
||||
Elm_Access_Activate_Cb func, void *data)
|
||||
{
|
||||
|
@ -1325,7 +1325,7 @@ elm_access_activate_cb_set(Evas_Object *obj,
|
|||
ac->activate_data = data;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_access_say(const char *text)
|
||||
{
|
||||
if (!text) return;
|
||||
|
@ -1333,13 +1333,13 @@ elm_access_say(const char *text)
|
|||
_elm_access_say(text);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_access_highlight_set(Evas_Object* obj)
|
||||
{
|
||||
_elm_access_highlight_set(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
ELM_API Eina_Bool
|
||||
elm_access_action(Evas_Object *obj, const Elm_Access_Action_Type type, Elm_Access_Action_Info *action_info)
|
||||
{
|
||||
Evas *evas;
|
||||
|
@ -1410,7 +1410,7 @@ elm_access_action(Evas_Object *obj, const Elm_Access_Action_Type type, Elm_Acces
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_access_action_cb_set(Evas_Object *obj, const Elm_Access_Action_Type type, const Elm_Access_Action_Cb cb, const void *data)
|
||||
{
|
||||
Action_Info *a;
|
||||
|
@ -1426,14 +1426,14 @@ elm_access_action_cb_set(Evas_Object *obj, const Elm_Access_Action_Type type, co
|
|||
a->fn[type].cb = cb;
|
||||
a->fn[type].user_data = (void *)data;
|
||||
}
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_access_external_info_set(Evas_Object *obj, const char *text)
|
||||
{
|
||||
_elm_access_text_set
|
||||
(_elm_access_info_get(obj), ELM_ACCESS_CONTEXT_INFO, text);
|
||||
}
|
||||
|
||||
EAPI char *
|
||||
ELM_API char *
|
||||
elm_access_external_info_get(const Evas_Object *obj)
|
||||
{
|
||||
Elm_Access_Info *ac;
|
||||
|
@ -1442,7 +1442,7 @@ elm_access_external_info_get(const Evas_Object *obj)
|
|||
return _elm_access_text_get(ac, ELM_ACCESS_CONTEXT_INFO, obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_access_highlight_next_set(Evas_Object *obj, Elm_Highlight_Direction dir, Evas_Object *next)
|
||||
{
|
||||
EINA_SAFETY_ON_FALSE_RETURN(obj);
|
||||
|
|
|
@ -117,7 +117,7 @@ typedef void (*Elm_Access_Activate_Cb)(void *data, Evas_Object *part_obj, Elm_Ob
|
|||
*
|
||||
* @ingroup Access
|
||||
*/
|
||||
EAPI Evas_Object *elm_access_object_register(Evas_Object *obj, Evas_Object *parent);
|
||||
ELM_API Evas_Object *elm_access_object_register(Evas_Object *obj, Evas_Object *parent);
|
||||
|
||||
/**
|
||||
* @brief Unregister accessible object.
|
||||
|
@ -127,7 +127,7 @@ EAPI Evas_Object *elm_access_object_register(Evas_Object *obj, Evas_Object *pare
|
|||
*
|
||||
* @ingroup Access
|
||||
*/
|
||||
EAPI void elm_access_object_unregister(Evas_Object *obj);
|
||||
ELM_API void elm_access_object_unregister(Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief Get an accessible object of the evas object.
|
||||
|
@ -138,7 +138,7 @@ EAPI void elm_access_object_unregister(Evas_Object *obj);
|
|||
*
|
||||
* @ingroup Access
|
||||
*/
|
||||
EAPI Evas_Object *elm_access_object_get(const Evas_Object *obj);
|
||||
ELM_API Evas_Object *elm_access_object_get(const Evas_Object *obj);
|
||||
|
||||
/**
|
||||
* @brief Set text to give information for specific type.
|
||||
|
@ -151,7 +151,7 @@ EAPI Evas_Object *elm_access_object_get(const Evas_Object *obj);
|
|||
* @see elm_access_info_cb_set
|
||||
* @ingroup Access
|
||||
*/
|
||||
EAPI void elm_access_info_set(Evas_Object *obj, int type, const char *text);
|
||||
ELM_API void elm_access_info_set(Evas_Object *obj, int type, const char *text);
|
||||
|
||||
/**
|
||||
* @brief Set text to give information for specific type.
|
||||
|
@ -163,7 +163,7 @@ EAPI void elm_access_info_set(Evas_Object *obj, int type, const char *text);
|
|||
* @see elm_access_info_cb_set
|
||||
* @ingroup Access
|
||||
*/
|
||||
EAPI char *elm_access_info_get(const Evas_Object *obj, int type);
|
||||
ELM_API char *elm_access_info_get(const Evas_Object *obj, int type);
|
||||
|
||||
/**
|
||||
* @brief Set content callback to give information for specific type.
|
||||
|
@ -184,7 +184,7 @@ EAPI char *elm_access_info_get(const Evas_Object *obj, int type);
|
|||
*
|
||||
* @ingroup Access
|
||||
*/
|
||||
EAPI void elm_access_info_cb_set(Evas_Object *obj, int type, Elm_Access_Info_Cb func, const void *data);
|
||||
ELM_API void elm_access_info_cb_set(Evas_Object *obj, int type, Elm_Access_Info_Cb func, const void *data);
|
||||
|
||||
/**
|
||||
* @brief Set activate callback to activate highlight object.
|
||||
|
@ -196,7 +196,7 @@ EAPI void elm_access_info_cb_set(Evas_Object *obj, int type, Elm_Access_Info_Cb
|
|||
*
|
||||
* @ingroup Access
|
||||
*/
|
||||
EAPI void elm_access_activate_cb_set(Evas_Object *obj, Elm_Access_Activate_Cb func, void *data);
|
||||
ELM_API void elm_access_activate_cb_set(Evas_Object *obj, Elm_Access_Activate_Cb func, void *data);
|
||||
|
||||
/**
|
||||
* @brief Read out text information directly.
|
||||
|
@ -208,7 +208,7 @@ EAPI void elm_access_activate_cb_set(Evas_Object *obj, Elm_Access_Activate_Cb fu
|
|||
*
|
||||
* @ingroup Access
|
||||
*/
|
||||
EAPI void elm_access_say(const char *text);
|
||||
ELM_API void elm_access_say(const char *text);
|
||||
|
||||
/**
|
||||
* @brief Give the highlight to the object directly.
|
||||
|
@ -221,7 +221,7 @@ EAPI void elm_access_say(const char *text);
|
|||
* @see elm_access_object_get
|
||||
* @ingroup Access
|
||||
*/
|
||||
EAPI void elm_access_highlight_set(Evas_Object* obj);
|
||||
ELM_API void elm_access_highlight_set(Evas_Object* obj);
|
||||
|
||||
/**
|
||||
* @brief Do the accessibility action base on given object.
|
||||
|
@ -239,7 +239,7 @@ EAPI void elm_access_highlight_set(Evas_Object* obj);
|
|||
*
|
||||
* @ingroup Access
|
||||
*/
|
||||
EAPI Eina_Bool elm_access_action(Evas_Object *obj, const Elm_Access_Action_Type type, Elm_Access_Action_Info *action_info);
|
||||
ELM_API Eina_Bool elm_access_action(Evas_Object *obj, const Elm_Access_Action_Type type, Elm_Access_Action_Info *action_info);
|
||||
|
||||
/**
|
||||
* @brief Set a callback function to a given accessibility action type
|
||||
|
@ -252,7 +252,7 @@ EAPI Eina_Bool elm_access_action(Evas_Object *obj, const Elm_Access_Action_Type
|
|||
*
|
||||
* @ingroup Access
|
||||
*/
|
||||
EAPI void elm_access_action_cb_set(Evas_Object *obj, const Elm_Access_Action_Type type, const Elm_Access_Action_Cb cb, const void *data);
|
||||
ELM_API void elm_access_action_cb_set(Evas_Object *obj, const Elm_Access_Action_Type type, const Elm_Access_Action_Cb cb, const void *data);
|
||||
|
||||
/**
|
||||
* @brief Set the next access object for highlight.
|
||||
|
@ -269,5 +269,5 @@ EAPI void elm_access_action_cb_set(Evas_Object *obj, const Elm_Access_Action_Typ
|
|||
*
|
||||
* @ingroup Access
|
||||
*/
|
||||
EAPI void
|
||||
ELM_API void
|
||||
elm_access_highlight_next_set(Evas_Object *obj, Elm_Highlight_Direction dir, Evas_Object *next);
|
||||
|
|
|
@ -19,6 +19,6 @@ typedef Eo Elm_Access;
|
|||
*/
|
||||
#define ELM_ACCESS_CLASS elm_access_class_get()
|
||||
|
||||
EWAPI const Efl_Class *elm_access_class_get(void) EINA_CONST;
|
||||
ELM_API ELM_API_WEAK const Efl_Class *elm_access_class_get(void) EINA_CONST;
|
||||
|
||||
#endif
|
||||
|
|
|
@ -514,7 +514,7 @@ _elm_actionslider_efl_canvas_group_group_add(Eo *obj, Elm_Actionslider_Data *pri
|
|||
elm_layout_sizing_eval(obj);
|
||||
}
|
||||
|
||||
EAPI Evas_Object *
|
||||
ELM_API Evas_Object *
|
||||
elm_actionslider_add(Evas_Object *parent)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
|
||||
|
|
|
@ -1,33 +1,33 @@
|
|||
EWAPI const Efl_Event_Description _ELM_ACTIONSLIDER_EVENT_POS_CHANGED =
|
||||
ELM_API ELM_API_WEAK const Efl_Event_Description _ELM_ACTIONSLIDER_EVENT_POS_CHANGED =
|
||||
EFL_EVENT_DESCRIPTION("pos_changed");
|
||||
|
||||
void _elm_actionslider_indicator_pos_set(Eo *obj, Elm_Actionslider_Data *pd, Elm_Actionslider_Pos pos);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(elm_obj_actionslider_indicator_pos_set, EFL_FUNC_CALL(pos), Elm_Actionslider_Pos pos);
|
||||
ELM_API ELM_API_WEAK EFL_VOID_FUNC_BODYV(elm_obj_actionslider_indicator_pos_set, EFL_FUNC_CALL(pos), Elm_Actionslider_Pos pos);
|
||||
|
||||
Elm_Actionslider_Pos _elm_actionslider_indicator_pos_get(const Eo *obj, Elm_Actionslider_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(elm_obj_actionslider_indicator_pos_get, Elm_Actionslider_Pos, 0);
|
||||
ELM_API ELM_API_WEAK EFL_FUNC_BODY_CONST(elm_obj_actionslider_indicator_pos_get, Elm_Actionslider_Pos, 0);
|
||||
|
||||
void _elm_actionslider_magnet_pos_set(Eo *obj, Elm_Actionslider_Data *pd, Elm_Actionslider_Pos pos);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(elm_obj_actionslider_magnet_pos_set, EFL_FUNC_CALL(pos), Elm_Actionslider_Pos pos);
|
||||
ELM_API ELM_API_WEAK EFL_VOID_FUNC_BODYV(elm_obj_actionslider_magnet_pos_set, EFL_FUNC_CALL(pos), Elm_Actionslider_Pos pos);
|
||||
|
||||
Elm_Actionslider_Pos _elm_actionslider_magnet_pos_get(const Eo *obj, Elm_Actionslider_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(elm_obj_actionslider_magnet_pos_get, Elm_Actionslider_Pos, 0);
|
||||
ELM_API ELM_API_WEAK EFL_FUNC_BODY_CONST(elm_obj_actionslider_magnet_pos_get, Elm_Actionslider_Pos, 0);
|
||||
|
||||
void _elm_actionslider_enabled_pos_set(Eo *obj, Elm_Actionslider_Data *pd, Elm_Actionslider_Pos pos);
|
||||
|
||||
EOAPI EFL_VOID_FUNC_BODYV(elm_obj_actionslider_enabled_pos_set, EFL_FUNC_CALL(pos), Elm_Actionslider_Pos pos);
|
||||
ELM_API ELM_API_WEAK EFL_VOID_FUNC_BODYV(elm_obj_actionslider_enabled_pos_set, EFL_FUNC_CALL(pos), Elm_Actionslider_Pos pos);
|
||||
|
||||
Elm_Actionslider_Pos _elm_actionslider_enabled_pos_get(const Eo *obj, Elm_Actionslider_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(elm_obj_actionslider_enabled_pos_get, Elm_Actionslider_Pos, 0);
|
||||
ELM_API ELM_API_WEAK EFL_FUNC_BODY_CONST(elm_obj_actionslider_enabled_pos_get, Elm_Actionslider_Pos, 0);
|
||||
|
||||
const char *_elm_actionslider_selected_label_get(const Eo *obj, Elm_Actionslider_Data *pd);
|
||||
|
||||
EOAPI EFL_FUNC_BODY_CONST(elm_obj_actionslider_selected_label_get, const char *, NULL);
|
||||
ELM_API ELM_API_WEAK EFL_FUNC_BODY_CONST(elm_obj_actionslider_selected_label_get, const char *, NULL);
|
||||
|
||||
Efl_Object *_elm_actionslider_efl_object_constructor(Eo *obj, Elm_Actionslider_Data *pd);
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue