forked from enlightenment/efl
evas: move Evas_VG_Node structure declaration into a shared header to use it directly from Evas_VG.
This commit is contained in:
parent
2e6cc1a173
commit
8097b8ab47
|
@ -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
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue