cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=09f304a33c6ec75a617d0b5a424e42e15eb33add

commit 09f304a33c6ec75a617d0b5a424e42e15eb33add
Author: Cedric BAIL <[email protected]>
Date:   Tue Mar 31 03:32:35 2015 +0200

    edje: make Edje_Color_Class a public structure.
---
 src/lib/edje/Edje_Common.h  | 15 +++++++++++++++
 src/lib/edje/edje_private.h | 10 ----------
 2 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/src/lib/edje/Edje_Common.h b/src/lib/edje/Edje_Common.h
index a95df33..3b1b8dd 100644
--- a/src/lib/edje/Edje_Common.h
+++ b/src/lib/edje/Edje_Common.h
@@ -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
diff --git a/src/lib/edje/edje_private.h b/src/lib/edje/edje_private.h
index 03d1709..0128c3f 100644
--- a/src/lib/edje/edje_private.h
+++ b/src/lib/edje/edje_private.h
@@ -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;

-- 


Reply via email to