forked from enlightenment/efl
parent
410fb16d6c
commit
590d5745a9
|
@ -84,11 +84,13 @@ typedef struct _Ecore_Evas_Cursor Ecore_Evas_Cursor;
|
|||
|
||||
typedef Eina_Bool (*Ecore_Evas_Selection_Internal_Delivery)(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer buffer, const char *type, Eina_Rw_Slice *slice);
|
||||
typedef void (*Ecore_Evas_Selection_Internal_Cancel)(Ecore_Evas *ee, unsigned int seat, Ecore_Evas_Selection_Buffer buffer);
|
||||
typedef struct {
|
||||
typedef struct
|
||||
{
|
||||
Ecore_Evas_Selection_Internal_Delivery delivery;
|
||||
Ecore_Evas_Selection_Internal_Cancel cancel;
|
||||
Eina_Array *available_types;
|
||||
} Ecore_Evas_Selection_Callbacks;
|
||||
|
||||
/* Engines interfaces */
|
||||
struct _Ecore_Evas_Engine_Func
|
||||
{
|
||||
|
@ -203,23 +205,27 @@ struct _Ecore_Evas_Engine
|
|||
Eina_List *ifaces;
|
||||
Ecore_Timer *idle_flush_timer;
|
||||
#ifdef BUILD_ECORE_EVAS_EWS
|
||||
struct {
|
||||
struct
|
||||
{
|
||||
Evas_Object *image;
|
||||
} ews;
|
||||
#endif
|
||||
};
|
||||
|
||||
struct _Ecore_Evas_Cursor {
|
||||
struct _Ecore_Evas_Cursor
|
||||
{
|
||||
Evas_Object *object;
|
||||
int layer;
|
||||
struct {
|
||||
struct
|
||||
{
|
||||
int x, y;
|
||||
} hot;
|
||||
int pos_x;
|
||||
int pos_y;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
typedef struct
|
||||
{
|
||||
unsigned int seat;
|
||||
Eina_Content *selection_buffer[ECORE_EVAS_SELECTION_BUFFER_LAST];
|
||||
} Ecore_Evas_Selection_Seat_Buffers;
|
||||
|
@ -248,38 +254,46 @@ struct _Ecore_Evas
|
|||
|
||||
Eina_Hash *selection_buffers;
|
||||
|
||||
struct {
|
||||
struct
|
||||
{
|
||||
int x, y, w, h;
|
||||
} req;
|
||||
|
||||
struct {
|
||||
struct
|
||||
{
|
||||
int l, r, t, b;
|
||||
int changed : 1;
|
||||
} shadow;
|
||||
|
||||
struct {
|
||||
struct
|
||||
{
|
||||
int w, h;
|
||||
} expecting_resize;
|
||||
|
||||
struct {
|
||||
struct
|
||||
{
|
||||
int w, h;
|
||||
} framespace;
|
||||
|
||||
struct {
|
||||
struct
|
||||
{
|
||||
Eina_Hash *cursors;
|
||||
char *title;
|
||||
char *name;
|
||||
char *clas;
|
||||
struct {
|
||||
struct
|
||||
{
|
||||
char *name;
|
||||
char **available_list;
|
||||
int count;
|
||||
} profile;
|
||||
struct {
|
||||
struct
|
||||
{
|
||||
int w, h;
|
||||
} min, max, base, step;
|
||||
Ecore_Evas_Cursor cursor_cache;
|
||||
struct {
|
||||
struct
|
||||
{
|
||||
Eina_Bool supported; // indicate that the underlying window system supports window manager rotation protocol
|
||||
Eina_Bool app_set; // indicate that the ee supports window manager rotation protocol
|
||||
Eina_Bool win_resize; // indicate that the ee will be resized by the WM
|
||||
|
@ -288,13 +302,15 @@ struct _Ecore_Evas
|
|||
int preferred_rot; // preferred rotation hint
|
||||
int *available_rots; // array of avaialable rotation values
|
||||
unsigned int count; // number of elements of available_rots
|
||||
struct {
|
||||
struct
|
||||
{
|
||||
Eina_Bool set;
|
||||
Eina_Bool wait_for_done;
|
||||
Ecore_Timer *timer;
|
||||
} manual_mode;
|
||||
} wm_rot;
|
||||
struct {
|
||||
struct
|
||||
{
|
||||
Eina_List *supported_list;
|
||||
Eina_List *hints;
|
||||
int id;
|
||||
|
@ -322,7 +338,8 @@ struct _Ecore_Evas
|
|||
Eina_Bool focused : 1;
|
||||
} prop;
|
||||
|
||||
struct {
|
||||
struct
|
||||
{
|
||||
void (*fn_resize) (Ecore_Evas *ee);
|
||||
void (*fn_move) (Ecore_Evas *ee);
|
||||
void (*fn_show) (Ecore_Evas *ee);
|
||||
|
@ -360,14 +377,16 @@ struct _Ecore_Evas
|
|||
Ecore_Animator *anim;
|
||||
unsigned int animator_count;
|
||||
|
||||
struct {
|
||||
struct
|
||||
{
|
||||
Eina_Inlist *active;
|
||||
Eina_Inlist *deleted;
|
||||
Eina_Inlist *suspended;
|
||||
Eina_Inlist *run_list;
|
||||
} ee_anim;
|
||||
|
||||
struct {
|
||||
struct
|
||||
{
|
||||
unsigned char avoid_damage;
|
||||
unsigned char resize_shape : 1;
|
||||
unsigned char shaped : 1;
|
||||
|
@ -382,7 +401,8 @@ struct _Ecore_Evas
|
|||
} delayed;
|
||||
|
||||
Eina_Hash *active_drags;
|
||||
struct {
|
||||
struct
|
||||
{
|
||||
Ecore_Evas *rep;
|
||||
void *data;
|
||||
Ecore_Evas_Drag_Finished_Cb free;
|
||||
|
|
Loading…
Reference in New Issue