forked from enlightenment/efl
edje: convert Edje_Text_Class, Edje_Size_Class data type to public
Summary: APIs iterating works through active text classes and size classes were added, but Edje_Text_Class and Edje_Size_Class data type are still concealed. This patch uncovers those data types so as to allow developers to use them. Reviewers: jpeg, cedric Differential Revision: https://phab.enlightenment.org/D3557 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
d50784a086
commit
bafa65f9b4
|
@ -41,6 +41,38 @@ struct _Edje_Color_Class
|
|||
Eina_Stringshare *desc;
|
||||
};
|
||||
|
||||
/**
|
||||
* @typedef Edje_Text_Class
|
||||
* Type for edje text class
|
||||
*
|
||||
* @since 1.17
|
||||
*/
|
||||
typedef struct _Edje_Text_Class Edje_Text_Class;
|
||||
|
||||
struct _Edje_Text_Class
|
||||
{
|
||||
const char *name;
|
||||
const char *font;
|
||||
Evas_Font_Size size;
|
||||
};
|
||||
|
||||
/**
|
||||
* @typedef Edje_Size_Class
|
||||
* Type for edje size class
|
||||
*
|
||||
* @since 1.17
|
||||
*/
|
||||
typedef struct _Edje_Size_Class Edje_Size_Class;
|
||||
|
||||
struct _Edje_Size_Class
|
||||
{
|
||||
Eina_Stringshare *name;
|
||||
Evas_Coord minw;
|
||||
Evas_Coord minh;
|
||||
Evas_Coord maxw;
|
||||
Evas_Coord maxh;
|
||||
};
|
||||
|
||||
/**
|
||||
* @defgroup Edje_Object_Communication_Interface_Signal Edje Communication Interface: Signal
|
||||
*
|
||||
|
|
|
@ -384,8 +384,6 @@ typedef struct _Edje_Calc_Params_Map Edje_Calc_Params_Map;
|
|||
typedef struct _Edje_Calc_Params_Physics Edje_Calc_Params_Physics;
|
||||
typedef struct _Edje_Pending_Program Edje_Pending_Program;
|
||||
typedef struct _Edje_Text_Style Edje_Text_Style;
|
||||
typedef struct _Edje_Text_Class Edje_Text_Class;
|
||||
typedef struct _Edje_Size_Class Edje_Size_Class;
|
||||
typedef struct _Edje_Var Edje_Var;
|
||||
typedef struct _Edje_Var_Int Edje_Var_Int;
|
||||
typedef struct _Edje_Var_Float Edje_Var_Float;
|
||||
|
@ -1982,22 +1980,6 @@ struct _Edje_Text_Style
|
|||
} members[32];
|
||||
};
|
||||
|
||||
struct _Edje_Text_Class
|
||||
{
|
||||
const char *name;
|
||||
const char *font;
|
||||
Evas_Font_Size size;
|
||||
};
|
||||
|
||||
struct _Edje_Size_Class
|
||||
{
|
||||
Eina_Stringshare *name;
|
||||
Evas_Coord minw;
|
||||
Evas_Coord minh;
|
||||
Evas_Coord maxw;
|
||||
Evas_Coord maxh;
|
||||
};
|
||||
|
||||
struct _Edje_Var_Int
|
||||
{
|
||||
int v;
|
||||
|
|
Loading…
Reference in New Issue