evas: move Evas_VG_Node structure declaration into a shared header to use it directly from Evas_VG.

This commit is contained in:
Cedric BAIL 2015-04-03 16:14:48 +02:00
parent 2e6cc1a173
commit 8097b8ab47
2 changed files with 14 additions and 11 deletions

View File

@ -7,17 +7,6 @@
#define MY_CLASS EVAS_VG_NODE_CLASS
typedef struct _Evas_VG_Node_Data Evas_VG_Node_Data;
struct _Evas_VG_Node_Data
{
Eina_Matrix3 *m;
Evas_VG_Node *mask;
double x, y;
int r, g, b, a;
Eina_Bool visibility;
};
// FIXME:
// - share private structure with evas_object_vg
// - mark parent canvas evas_object dirty after any change on the object

View File

@ -1,6 +1,20 @@
#ifndef EVAS_VG_PRIVATE_H_
# define EVAS_VG_PRIVATE_H_
typedef struct _Evas_VG_Node_Data Evas_VG_Node_Data;
struct _Evas_VG_Node_Data
{
Eina_Matrix3 *m;
Evas_VG_Node *mask;
void (*render_pre)(void);
void (*render)(void);
double x, y;
int r, g, b, a;
Eina_Bool visibility;
};
typedef struct _Evas_VG_Container_Data Evas_VG_Container_Data;
struct _Evas_VG_Container_Data
{