edje: convert Edje_Text_Class, Edje_Size_Class data type to public
authorJee-Yong Um <jc9.um@samsung.com>
Tue, 12 Jan 2016 22:01:27 +0000 (14:01 -0800)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 12 Jan 2016 22:02:19 +0000 (14:02 -0800)
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>
src/lib/edje/Edje_Common.h
src/lib/edje/edje_private.h

index 30594cc..06211c6 100644 (file)
@@ -42,6 +42,38 @@ struct _Edje_Color_Class
 };
 
 /**
+ * @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
  *
  * @brief Functions that deal with signals.
index 68c3f35..29e0c4d 100644 (file)
@@ -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;