aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-03-31 03:32:35 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-03-31 04:26:06 +0200
commit09f304a33c6ec75a617d0b5a424e42e15eb33add (patch)
treea6fb48bf65cd29137426398b97874d869a720ead
parentEvas 3D: Fix shadow map shader (diff)
downloadefl-09f304a33c6ec75a617d0b5a424e42e15eb33add.tar.gz
edje: make Edje_Color_Class a public structure.
-rw-r--r--src/lib/edje/Edje_Common.h15
-rw-r--r--src/lib/edje/edje_private.h10
2 files changed, 15 insertions, 10 deletions
diff --git a/src/lib/edje/Edje_Common.h b/src/lib/edje/Edje_Common.h
index a95df339d9..3b1b8dd315 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 03d1709645..0128c3fc75 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;