2012-12-05 13:15:42 -08:00
|
|
|
#ifndef _ECORE_EVAS_WAYLAND_PRIVATE_H_
|
2016-12-02 11:00:04 -08:00
|
|
|
# define _ECORE_EVAS_WAYLAND_PRIVATE_H_
|
2012-12-05 13:15:42 -08:00
|
|
|
|
2016-12-02 11:00:04 -08:00
|
|
|
# ifdef HAVE_CONFIG_H
|
|
|
|
# include "config.h"
|
|
|
|
# endif
|
2012-12-05 13:15:42 -08:00
|
|
|
|
2016-12-02 11:00:04 -08:00
|
|
|
# define ECORE_EVAS_INTERNAL
|
2016-05-10 21:29:23 -07:00
|
|
|
|
2016-12-02 11:00:04 -08:00
|
|
|
# ifndef ELEMENTARY_H
|
2012-12-05 13:15:42 -08:00
|
|
|
//#define LOGFNS 1
|
2016-12-02 11:00:04 -08:00
|
|
|
# ifdef LOGFNS
|
|
|
|
# include <stdio.h>
|
|
|
|
# define LOGFN(fl, ln, fn) \
|
2012-12-05 13:15:42 -08:00
|
|
|
printf("-ECORE_EVAS-WL: %25s: %5i - %s\n", fl, ln, fn);
|
2016-12-02 11:00:04 -08:00
|
|
|
# else
|
|
|
|
# define LOGFN(fl, ln, fn)
|
|
|
|
# endif
|
|
|
|
|
|
|
|
# include <Eina.h>
|
|
|
|
# include <Ecore.h>
|
|
|
|
# include <Ecore_Input.h>
|
|
|
|
# include <Ecore_Input_Evas.h>
|
|
|
|
# include <Ecore_Wl2.h>
|
|
|
|
|
|
|
|
# include <Ecore_Evas.h>
|
|
|
|
# endif
|
|
|
|
|
|
|
|
# include "ecore_wl2_private.h"
|
|
|
|
# include "ecore_private.h"
|
|
|
|
# include "ecore_evas_private.h"
|
|
|
|
# include "ecore_evas_wayland.h"
|
2012-12-05 13:15:42 -08:00
|
|
|
|
|
|
|
typedef struct _Ecore_Evas_Engine_Wl_Data Ecore_Evas_Engine_Wl_Data;
|
|
|
|
|
2013-02-05 04:48:25 -08:00
|
|
|
struct _Ecore_Evas_Engine_Wl_Data
|
|
|
|
{
|
2015-09-28 10:42:38 -07:00
|
|
|
Ecore_Wl2_Display *display;
|
2016-05-05 07:45:59 -07:00
|
|
|
Eina_List *regen_objs;
|
2015-09-28 10:42:38 -07:00
|
|
|
Ecore_Wl2_Window *parent, *win;
|
2016-05-05 07:45:59 -07:00
|
|
|
Ecore_Event_Handler *sync_handler;
|
2013-05-08 15:18:55 -07:00
|
|
|
int fx, fy, fw, fh;
|
2016-04-07 11:14:14 -07:00
|
|
|
Eina_Rectangle content;
|
2015-10-16 12:51:06 -07:00
|
|
|
struct wl_callback *anim_callback;
|
2016-03-24 10:44:21 -07:00
|
|
|
int x_rel;
|
|
|
|
int y_rel;
|
|
|
|
uint32_t timestamp;
|
2016-10-03 08:34:10 -07:00
|
|
|
Eina_List *devices_list;
|
2016-03-24 10:44:21 -07:00
|
|
|
Eina_Bool dragging : 1;
|
2015-12-11 08:26:24 -08:00
|
|
|
Eina_Bool sync_done : 1;
|
|
|
|
Eina_Bool defer_show : 1;
|
2016-05-05 07:45:59 -07:00
|
|
|
Eina_Bool reset_pending : 1;
|
2012-12-05 13:15:42 -08:00
|
|
|
};
|
|
|
|
|
2016-11-02 11:13:07 -07:00
|
|
|
Ecore_Evas *_ecore_evas_wl_common_new_internal(const char *disp_name, unsigned int parent, int x, int y, int w, int h, Eina_Bool frame, const char *engine_name);
|
|
|
|
|
2012-12-05 13:15:42 -08:00
|
|
|
#endif /* _ECORE_EVAS_WAYLAND_PRIVATE_H_ */
|