* edje: move all structures outside of Edje_Part_Description.

SVN revision: 50283
This commit is contained in:
Cedric BAIL 2010-07-16 14:24:57 +00:00
parent 04ffefa9e5
commit 93ea3f4e52
1 changed files with 50 additions and 42 deletions

View File

@ -233,6 +233,9 @@ typedef struct _Edje_Part_Image_Id Edje_Part_Image_Id;
typedef struct _Edje_Part_Description Edje_Part_Description;
typedef struct _Edje_Part_Description_Common Edje_Part_Description_Common;
typedef struct _Edje_Part_Description_Spec_Image Edje_Part_Description_Spec_Image;
typedef struct _Edje_Part_Description_Spec_Text Edje_Part_Description_Spec_Text;
typedef struct _Edje_Part_Description_Spec_Box Edje_Part_Description_Spec_Box;
typedef struct _Edje_Part_Description_Spec_Table Edje_Part_Description_Spec_Table;
typedef struct _Edje_Patterns Edje_Patterns;
typedef struct _Old_Edje_File Old_Edje_File;
@ -705,14 +708,8 @@ struct _Edje_Part_Description_Spec_Image
} fill;
};
struct _Edje_Part_Description
struct _Edje_Part_Description_Spec_Text
{
Edje_Part_Description_Common common;
Edje_Part_Description_Spec_Image image;
char *color_class; /* how to modify the color */
struct {
char *text; /* if "" or NULL, then leave text unchanged */
char *text_class; /* how to apply/modify the font */
char *style; /* the text style if a textblock */
@ -732,9 +729,10 @@ struct _Edje_Part_Description
unsigned char min_y; /* if text size should be part min size */
unsigned char max_x; /* if text size should be part max size */
unsigned char max_y; /* if text size should be part max size */
} text;
};
struct {
struct _Edje_Part_Description_Spec_Box
{
char *layout, *alt_layout;
Edje_Alignment align;
struct {
@ -743,21 +741,31 @@ struct _Edje_Part_Description
struct {
Eina_Bool h, v;
} min;
} box;
};
struct {
struct _Edje_Part_Description_Spec_Table
{
unsigned char homogeneous;
Edje_Alignment align;
struct {
int x, y;
} padding;
} table;
};
struct _Edje_Part_Description
{
Edje_Part_Description_Common common;
Edje_Part_Description_Spec_Image image;
Edje_Part_Description_Spec_Text text;
Edje_Part_Description_Spec_Box box;
Edje_Part_Description_Spec_Table table;
char *color_class; /* how to modify the color */
Edje_Color color, color2, color3; /* color for rect or text, shadow etc. */
Eina_List *external_params; /* parameters for external objects */
};
/*----------*/