summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJee-Yong Um <jc9.um@samsung.com>2016-01-12 14:01:27 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-01-12 14:02:19 -0800
commitbafa65f9b4c1011d6c08c34207f5222e9c0d6892 (patch)
tree0f1306d89570a9871d7d374a77c7b5bca2bb6018
parentd50784a086d9e4b6357963bf542ccd872b5a953b (diff)
downloadefl-bafa65f9b4c1011d6c08c34207f5222e9c0d6892.tar.gz
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>
-rw-r--r--src/lib/edje/Edje_Common.h32
-rw-r--r--src/lib/edje/edje_private.h18
2 files changed, 32 insertions, 18 deletions
diff --git a/src/lib/edje/Edje_Common.h b/src/lib/edje/Edje_Common.h
index 30594cc814..06211c632a 100644
--- a/src/lib/edje/Edje_Common.h
+++ b/src/lib/edje/Edje_Common.h
@@ -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.
diff --git a/src/lib/edje/edje_private.h b/src/lib/edje/edje_private.h
index 68c3f35ed6..29e0c4d820 100644
--- a/src/lib/edje/edje_private.h
+++ b/src/lib/edje/edje_private.h
@@ -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;