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-04-11 22:08:35 -07:00
|
|
|
/* Add here all the required ifdef for any @protected method */
|
|
|
|
#ifdef EFL_EFL_BUILD
|
2016-04-19 01:43:28 -07:00
|
|
|
# define EFL_PACK_LAYOUT_PROTECTED
|
2016-06-01 22:36:55 -07:00
|
|
|
# define EFL_EVENT_PROTECTED
|
2016-06-08 00:09:38 -07:00
|
|
|
# define EFL_GFX_SIZE_HINT_PROTECTED
|
2016-04-11 22:08:35 -07:00
|
|
|
#endif
|
|
|
|
|
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"
|
2016-05-18 11:20:09 -07:00
|
|
|
#include "interfaces/efl_part.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"
|
2016-06-16 04:44:45 -07:00
|
|
|
#include "interfaces/efl_text_types.eot.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-29 16:49:12 -07:00
|
|
|
#include "interfaces/efl_ui_spin.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-05-31 23:47:31 -07:00
|
|
|
#include "interfaces/efl_screen.eo.h"
|
|
|
|
|
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
|
|
|
|
2016-05-10 04:25:44 -07:00
|
|
|
#include "interfaces/efl_gfx.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"
|
2016-05-10 07:06:04 -07:00
|
|
|
#include "interfaces/efl_gfx_gradient.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"
|
2016-06-02 01:18:17 -07:00
|
|
|
#include "interfaces/efl_gfx_size_hint.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"
|
|
|
|
|
2016-06-15 18:52:18 -07:00
|
|
|
#include "interfaces/efl_canvas.eo.h"
|
|
|
|
|
2016-04-11 22:08:35 -07:00
|
|
|
/* Packing & containers */
|
2016-04-19 22:55:26 -07:00
|
|
|
#include "interfaces/efl_container.eo.h"
|
2016-04-11 22:08:35 -07:00
|
|
|
#include "interfaces/efl_pack.eo.h"
|
2016-04-19 01:43:28 -07:00
|
|
|
#include "interfaces/efl_pack_layout.eo.h"
|
2016-04-11 22:08:35 -07:00
|
|
|
#include "interfaces/efl_pack_linear.eo.h"
|
|
|
|
#include "interfaces/efl_pack_grid.eo.h"
|
|
|
|
|
2016-04-28 01:08:14 -07:00
|
|
|
/* Input events */
|
2016-04-28 22:24:14 -07:00
|
|
|
#include "interfaces/efl_event_types.eot.h"
|
2016-04-28 01:08:14 -07:00
|
|
|
#include "interfaces/efl_input_device.eo.h"
|
2016-05-29 23:34:31 -07:00
|
|
|
#include "interfaces/efl_input_state.eo.h"
|
2016-05-30 04:53:07 -07:00
|
|
|
#include "interfaces/efl_input_interface.eo.h"
|
Efl: Add storage class Efl.Pointer.Event
This object is the data carried over in an event data pointer.
The private data should be accessible by Ecore and Evas, but
not externally. This means we should be able to easily extend
the feature set, adding more and more information, without
breaking API / ABI.
Also, this should allow applications to create fake input
events easily without exposing our internal structures, or
functions with more and more parameters (such as feed multi).
This is only a storage class, shouldn't contain any logic.
In the future, some logic may be added for gestures support
for instance, or input smoothing / resampling (eg. if input
frequency is 90Hz and screen refresh rate is 60Hz).
The aim is to replace:
- Evas_Event_Mouse_Xxx
- Evas_Event_Multi_Xxx
- Ecore_Event_Mouse_Xxx
We might want to also support Axis, Gestures, etc... with the
same model or even same storage class.
2016-04-28 01:31:46 -07:00
|
|
|
#include "interfaces/efl_event.eo.h"
|
2016-04-28 01:08:14 -07:00
|
|
|
|
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"
|
2016-04-28 22:24:14 -07:00
|
|
|
#include "interfaces/efl_event_types.eot.h"
|
2015-11-18 23:10:41 -08:00
|
|
|
#include "interfaces/efl_gfx_fill.eo.legacy.h"
|
2016-05-10 04:25:44 -07:00
|
|
|
#include "interfaces/efl_gfx.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"
|
2016-04-28 01:08:14 -07:00
|
|
|
#include "interfaces/efl_input_device.eo.legacy.h"
|
2016-06-16 04:44:45 -07:00
|
|
|
#include "interfaces/efl_text_types.eot.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
|