ecore-evas: Fix formatting

NB: No functional changes
This commit is contained in:
Christopher Michael 2020-04-28 12:09:12 -04:00
parent 410fb16d6c
commit 590d5745a9
1 changed files with 177 additions and 157 deletions

View File

@ -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 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 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_Delivery delivery;
Ecore_Evas_Selection_Internal_Cancel cancel; Ecore_Evas_Selection_Internal_Cancel cancel;
Eina_Array *available_types; Eina_Array *available_types;
} Ecore_Evas_Selection_Callbacks; } Ecore_Evas_Selection_Callbacks;
/* Engines interfaces */ /* Engines interfaces */
struct _Ecore_Evas_Engine_Func struct _Ecore_Evas_Engine_Func
{ {
@ -203,23 +205,27 @@ struct _Ecore_Evas_Engine
Eina_List *ifaces; Eina_List *ifaces;
Ecore_Timer *idle_flush_timer; Ecore_Timer *idle_flush_timer;
#ifdef BUILD_ECORE_EVAS_EWS #ifdef BUILD_ECORE_EVAS_EWS
struct { struct
{
Evas_Object *image; Evas_Object *image;
} ews; } ews;
#endif #endif
}; };
struct _Ecore_Evas_Cursor { struct _Ecore_Evas_Cursor
{
Evas_Object *object; Evas_Object *object;
int layer; int layer;
struct { struct
{
int x, y; int x, y;
} hot; } hot;
int pos_x; int pos_x;
int pos_y; int pos_y;
}; };
typedef struct { typedef struct
{
unsigned int seat; unsigned int seat;
Eina_Content *selection_buffer[ECORE_EVAS_SELECTION_BUFFER_LAST]; Eina_Content *selection_buffer[ECORE_EVAS_SELECTION_BUFFER_LAST];
} Ecore_Evas_Selection_Seat_Buffers; } Ecore_Evas_Selection_Seat_Buffers;
@ -248,38 +254,46 @@ struct _Ecore_Evas
Eina_Hash *selection_buffers; Eina_Hash *selection_buffers;
struct { struct
{
int x, y, w, h; int x, y, w, h;
} req; } req;
struct { struct
{
int l, r, t, b; int l, r, t, b;
int changed : 1; int changed : 1;
} shadow; } shadow;
struct { struct
{
int w, h; int w, h;
} expecting_resize; } expecting_resize;
struct { struct
{
int w, h; int w, h;
} framespace; } framespace;
struct { struct
{
Eina_Hash *cursors; Eina_Hash *cursors;
char *title; char *title;
char *name; char *name;
char *clas; char *clas;
struct { struct
{
char *name; char *name;
char **available_list; char **available_list;
int count; int count;
} profile; } profile;
struct { struct
{
int w, h; int w, h;
} min, max, base, step; } min, max, base, step;
Ecore_Evas_Cursor cursor_cache; Ecore_Evas_Cursor cursor_cache;
struct { struct
{
Eina_Bool supported; // indicate that the underlying window system supports window manager rotation protocol 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 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 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 preferred_rot; // preferred rotation hint
int *available_rots; // array of avaialable rotation values int *available_rots; // array of avaialable rotation values
unsigned int count; // number of elements of available_rots unsigned int count; // number of elements of available_rots
struct { struct
{
Eina_Bool set; Eina_Bool set;
Eina_Bool wait_for_done; Eina_Bool wait_for_done;
Ecore_Timer *timer; Ecore_Timer *timer;
} manual_mode; } manual_mode;
} wm_rot; } wm_rot;
struct { struct
{
Eina_List *supported_list; Eina_List *supported_list;
Eina_List *hints; Eina_List *hints;
int id; int id;
@ -322,7 +338,8 @@ struct _Ecore_Evas
Eina_Bool focused : 1; Eina_Bool focused : 1;
} prop; } prop;
struct { struct
{
void (*fn_resize) (Ecore_Evas *ee); void (*fn_resize) (Ecore_Evas *ee);
void (*fn_move) (Ecore_Evas *ee); void (*fn_move) (Ecore_Evas *ee);
void (*fn_show) (Ecore_Evas *ee); void (*fn_show) (Ecore_Evas *ee);
@ -360,14 +377,16 @@ struct _Ecore_Evas
Ecore_Animator *anim; Ecore_Animator *anim;
unsigned int animator_count; unsigned int animator_count;
struct { struct
{
Eina_Inlist *active; Eina_Inlist *active;
Eina_Inlist *deleted; Eina_Inlist *deleted;
Eina_Inlist *suspended; Eina_Inlist *suspended;
Eina_Inlist *run_list; Eina_Inlist *run_list;
} ee_anim; } ee_anim;
struct { struct
{
unsigned char avoid_damage; unsigned char avoid_damage;
unsigned char resize_shape : 1; unsigned char resize_shape : 1;
unsigned char shaped : 1; unsigned char shaped : 1;
@ -382,7 +401,8 @@ struct _Ecore_Evas
} delayed; } delayed;
Eina_Hash *active_drags; Eina_Hash *active_drags;
struct { struct
{
Ecore_Evas *rep; Ecore_Evas *rep;
void *data; void *data;
Ecore_Evas_Drag_Finished_Cb free; Ecore_Evas_Drag_Finished_Cb free;