Cosmetic: add name to structs: Evas_Coord_Rectangle.

Non-intrusive change to name structs of Evas_Coord x, y, w, h.

TODO: intrusive changes to use this struct, will need to fix ".c"


SVN revision: 34414
This commit is contained in:
Gustavo Sverzut Barbieri 2008-04-30 23:58:43 +00:00
parent dbf35460a6
commit 29549249c4
2 changed files with 10 additions and 3 deletions

View File

@ -86,6 +86,7 @@ typedef enum _Evas_Colorspace
typedef struct _Evas_List Evas_List; /**< A generic linked list node handle */
typedef struct _Evas_Rectangle Evas_Rectangle; /**< A generic rectangle handle */
typedef struct _Evas_Coord_Rectangle Evas_Coord_Rectangle; /**< A generic rectangle handle */
typedef struct _Evas_Smart_Class Evas_Smart_Class; /**< A smart object base class */
typedef struct _Evas_Hash Evas_Hash; /**< A Hash table handle */
@ -119,6 +120,14 @@ struct _Evas_Rectangle /** A rectangle */
int h; /**< height of rectangle */
};
struct _Evas_Coord_Rectangle /** A rectangle in Evas_Coord */
{
Evas_Coord x; /**< top-left x co-ordinate of rectangle */
Evas_Coord y; /**< top-left y co-ordinate of rectangle */
Evas_Coord w; /**< width of rectangle */
Evas_Coord h; /**< height of rectangle */
};
typedef enum _Evas_Aspect_Control
{
EVAS_ASPECT_CONTROL_NONE = 0,

View File

@ -412,9 +412,7 @@ struct _Evas_Object
unsigned char dirty : 1;
} clip;
} cache;
struct {
Evas_Coord x, y, w, h;
} geometry;
Evas_Coord_Rectangle geometry;
struct {
unsigned char r, g, b, a;
} color;