edje: make Edje_Color_Class a public structure.
authorCedric BAIL <cedric@osg.samsung.com>
Tue, 31 Mar 2015 01:32:35 +0000 (03:32 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 31 Mar 2015 02:26:06 +0000 (04:26 +0200)
src/lib/edje/Edje_Common.h
src/lib/edje/edje_private.h

index a95df33..3b1b8dd 100644 (file)
@@ -16,6 +16,21 @@ typedef struct _Edje_Version
 
 EAPI extern Edje_Version *edje_version;
 
+/**
+ * @typedef Edje_Color_Class
+ * Type for edje color class
+ */
+typedef struct _Edje_Color_Class Edje_Color_Class;
+
+struct _Edje_Color_Class
+{
+   const char       *name;
+   Eina_Stringshare *desc;
+
+   unsigned char  r, g, b, a;
+   unsigned char  r2, g2, b2, a2;
+   unsigned char  r3, g3, b3, a3;
+};
 
 /**
  * @defgroup Edje_Object_Communication_Interface_Signal Edje Communication Interface: Signal
index 03d1709..0128c3f 100644 (file)
@@ -351,7 +351,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_Color_Class Edje_Color_Class;
 typedef struct _Edje_Text_Class Edje_Text_Class;
 typedef struct _Edje_Var Edje_Var;
 typedef struct _Edje_Var_Int Edje_Var_Int;
@@ -1863,15 +1862,6 @@ struct _Edje_Text_Style
    } members[32];
 };
 
-struct _Edje_Color_Class
-{
-   const char    *name;
-   unsigned char  r, g, b, a;
-   unsigned char  r2, g2, b2, a2;
-   unsigned char  r3, g3, b3, a3;
-   Eina_Stringshare *desc;
-};
-
 struct _Edje_Text_Class
 {
    const char     *name;