2014-07-18 05:38:25 -07:00
|
|
|
#ifndef _EFL_H
|
|
|
|
#define _EFL_H
|
|
|
|
|
2014-09-12 11:56:09 -07:00
|
|
|
#if defined ( __cplusplus )
|
2015-04-28 06:11:20 -07:00
|
|
|
extern "C" {
|
2014-09-12 11:56:09 -07:00
|
|
|
#endif
|
|
|
|
|
2014-07-18 05:38:25 -07:00
|
|
|
#include <Eo.h>
|
|
|
|
|
2014-08-26 03:04:47 -07:00
|
|
|
#ifdef EAPI
|
|
|
|
# undef EAPI
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
# ifdef EFL_EFL_BUILD
|
|
|
|
# ifdef DLL_EXPORT
|
|
|
|
# define EAPI __declspec(dllexport)
|
|
|
|
# else
|
|
|
|
# define EAPI
|
|
|
|
# endif /* ! DLL_EXPORT */
|
|
|
|
# else
|
|
|
|
# define EAPI __declspec(dllimport)
|
|
|
|
# endif /* ! EFL_EFL_BUILD */
|
|
|
|
#else
|
|
|
|
# ifdef __GNUC__
|
|
|
|
# if __GNUC__ >= 4
|
|
|
|
# define EAPI __attribute__ ((visibility("default")))
|
|
|
|
# else
|
|
|
|
# define EAPI
|
|
|
|
# endif
|
|
|
|
# else
|
|
|
|
# define EAPI
|
|
|
|
# endif
|
|
|
|
#endif /* ! _WIN32 */
|
|
|
|
|
2016-02-29 04:30:31 -08:00
|
|
|
#define EFL_VERSION_1_18 1
|
2015-11-17 18:13:00 -08:00
|
|
|
|
2016-02-09 07:28:25 -08:00
|
|
|
/**
|
|
|
|
* @ingroup Efl
|
|
|
|
* @since 1.18
|
|
|
|
*
|
|
|
|
* This type is a alias to struct tm.
|
|
|
|
* It is intended to be a standard way to reference it in .eo files.
|
|
|
|
*/
|
|
|
|
typedef struct tm Efl_Time;
|
|
|
|
|
2016-02-09 12:16:50 -08:00
|
|
|
#ifdef EFL_BETA_API_SUPPORT
|
|
|
|
|
2016-02-10 14:01:52 -08:00
|
|
|
#include "interfaces/efl_types.eot.h"
|
2016-02-09 12:16:50 -08:00
|
|
|
|
2015-04-05 06:19:59 -07:00
|
|
|
#include <Efl_Model_Common.h>
|
2015-11-17 18:13:00 -08:00
|
|
|
|
2016-03-31 18:45:07 -07:00
|
|
|
#include "interfaces/efl_vpath_file.eo.h"
|
|
|
|
#include "interfaces/efl_vpath.eo.h"
|
|
|
|
#include "interfaces/efl_vpath_core.eo.h"
|
|
|
|
#include "interfaces/efl_vpath_manager.eo.h"
|
|
|
|
#include "interfaces/efl_vpath_file_core.eo.h"
|
|
|
|
|
2016-02-03 01:23:45 -08:00
|
|
|
/* Data types */
|
|
|
|
#include "interfaces/efl_gfx_types.eot.h"
|
|
|
|
typedef Efl_Gfx_Path_Command_Type Efl_Gfx_Path_Command;
|
|
|
|
|
2014-07-18 05:38:25 -07:00
|
|
|
/* Interfaces */
|
2014-08-07 04:51:36 -07:00
|
|
|
#include "interfaces/efl_control.eo.h"
|
2014-07-21 03:47:23 -07:00
|
|
|
#include "interfaces/efl_file.eo.h"
|
2014-07-23 09:03:40 -07:00
|
|
|
#include "interfaces/efl_image.eo.h"
|
2016-03-02 01:12:29 -08:00
|
|
|
#include "interfaces/efl_image_animated.eo.h"
|
2016-03-02 03:46:11 -08:00
|
|
|
#include "interfaces/efl_image_load.eo.h"
|
2014-08-06 03:55:36 -07:00
|
|
|
#include "interfaces/efl_player.eo.h"
|
2014-07-24 09:42:09 -07:00
|
|
|
#include "interfaces/efl_text.eo.h"
|
2014-07-21 03:47:23 -07:00
|
|
|
#include "interfaces/efl_text_properties.eo.h"
|
2016-04-05 18:46:04 -07:00
|
|
|
#include "interfaces/efl_orientation.eo.h"
|
2016-04-07 01:32:40 -07:00
|
|
|
#include "interfaces/efl_flipable.eo.h"
|
2016-04-07 00:50:03 -07:00
|
|
|
#include "interfaces/efl_ui_progress.eo.h"
|
2014-07-18 05:38:25 -07:00
|
|
|
|
2016-04-07 01:32:40 -07:00
|
|
|
#define EFL_ORIENT_0 EFL_ORIENT_UP
|
|
|
|
#define EFL_ORIENT_90 EFL_ORIENT_RIGHT
|
|
|
|
#define EFL_ORIENT_180 EFL_ORIENT_DOWN
|
|
|
|
#define EFL_ORIENT_270 EFL_ORIENT_LEFT
|
|
|
|
|
2016-01-28 16:12:39 -08:00
|
|
|
/* Core interface */
|
2016-03-10 13:03:02 -08:00
|
|
|
#include "interfaces/efl_animator.eo.h"
|
2016-01-28 16:12:39 -08:00
|
|
|
|
2015-04-03 07:30:45 -07:00
|
|
|
EAPI extern const Eo_Event_Description _EFL_GFX_CHANGED;
|
2015-04-03 07:33:38 -07:00
|
|
|
EAPI extern const Eo_Event_Description _EFL_GFX_PATH_CHANGED;
|
2015-04-03 07:30:45 -07:00
|
|
|
|
|
|
|
#define EFL_GFX_CHANGED (&(_EFL_GFX_CHANGED))
|
2015-04-03 07:33:38 -07:00
|
|
|
#define EFL_GFX_PATH_CHANGED (&(_EFL_GFX_PATH_CHANGED))
|
2015-04-03 07:30:45 -07:00
|
|
|
|
2015-04-03 07:23:17 -07:00
|
|
|
#include "interfaces/efl_gfx_base.eo.h"
|
2016-03-02 03:46:11 -08:00
|
|
|
#include "interfaces/efl_gfx_buffer.eo.h"
|
2015-04-03 07:23:22 -07:00
|
|
|
#include "interfaces/efl_gfx_stack.eo.h"
|
2015-04-03 07:23:24 -07:00
|
|
|
#include "interfaces/efl_gfx_fill.eo.h"
|
2015-04-03 07:23:26 -07:00
|
|
|
#include "interfaces/efl_gfx_view.eo.h"
|
2015-04-03 07:23:16 -07:00
|
|
|
#include "interfaces/efl_gfx_shape.eo.h"
|
2015-04-03 07:30:35 -07:00
|
|
|
#include "interfaces/efl_gfx_gradient_base.eo.h"
|
2015-04-03 07:23:16 -07:00
|
|
|
#include "interfaces/efl_gfx_gradient_linear.eo.h"
|
|
|
|
#include "interfaces/efl_gfx_gradient_radial.eo.h"
|
2015-06-17 00:26:30 -07:00
|
|
|
#include "interfaces/efl_gfx_filter.eo.h"
|
2015-04-03 07:14:54 -07:00
|
|
|
|
2016-01-07 11:16:33 -08:00
|
|
|
#define EFL_GFX_COLOR_SET(value) (value << 8)
|
|
|
|
#define EFL_GFX_COLOR16_SET(value) (value)
|
|
|
|
|
|
|
|
static inline void efl_gfx_color_type_set(Efl_Gfx_Color *color,
|
|
|
|
unsigned char r, unsigned char g,
|
|
|
|
unsigned char b, unsigned char a);
|
|
|
|
|
|
|
|
static inline void efl_gfx_color16_type_set(Efl_Gfx_Color *color,
|
|
|
|
unsigned short r, unsigned short g,
|
|
|
|
unsigned short b, unsigned short a);
|
|
|
|
|
|
|
|
#include "interfaces/efl_gfx.x"
|
|
|
|
|
2015-11-18 23:10:41 -08:00
|
|
|
#else
|
|
|
|
|
|
|
|
#ifndef EFL_NOLEGACY_API_SUPPORT
|
2016-02-03 01:23:45 -08:00
|
|
|
#include "interfaces/efl_gfx_types.eot.h"
|
2015-11-18 23:10:41 -08:00
|
|
|
#include "interfaces/efl_gfx_fill.eo.legacy.h"
|
2015-12-02 01:46:29 -08:00
|
|
|
#include "interfaces/efl_gfx_base.eo.legacy.h"
|
2016-03-10 20:59:14 -08:00
|
|
|
#include "interfaces/efl_image.eo.legacy.h"
|
2016-03-02 03:46:11 -08:00
|
|
|
#include "interfaces/efl_image_animated.eo.legacy.h"
|
2015-11-18 23:10:41 -08:00
|
|
|
#endif
|
|
|
|
|
2016-02-03 01:23:45 -08:00
|
|
|
typedef Efl_Gfx_Path_Command_Type Efl_Gfx_Path_Command;
|
|
|
|
|
2015-02-07 04:46:12 -08:00
|
|
|
#endif
|
|
|
|
|
2016-04-06 22:40:10 -07:00
|
|
|
/* work-around bug in gcc --as-needed link optimization */
|
|
|
|
EAPI void __efl_internal_init(void);
|
|
|
|
|
2014-09-12 11:56:09 -07:00
|
|
|
#if defined ( __cplusplus )
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2015-04-28 06:11:20 -07:00
|
|
|
#undef EAPI
|
|
|
|
#define EAPI
|
|
|
|
|
2014-07-18 05:38:25 -07:00
|
|
|
#endif
|