forked from enlightenment/efl
move the gradient2 main structure in a specific header as it is also used in the linear and radial files
SVN revision: 42639
This commit is contained in:
parent
e50c003031
commit
ac44ab5449
|
@ -1,23 +1,6 @@
|
|||
#include "evas_common.h"
|
||||
#include "evas_private.h"
|
||||
|
||||
typedef struct _Evas_Object_Gradient2 Evas_Object_Gradient2;
|
||||
|
||||
struct _Evas_Object_Gradient2
|
||||
{
|
||||
DATA32 magic;
|
||||
|
||||
struct {
|
||||
struct {
|
||||
Evas_Common_Transform transform;
|
||||
int spread;
|
||||
} fill;
|
||||
unsigned char gradient_opaque : 1;
|
||||
} cur, prev;
|
||||
|
||||
unsigned char gradient_changed : 1;
|
||||
};
|
||||
|
||||
#include "evas_object_gradient2.h"
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
#ifndef EVAS_GRADIENT2_H_
|
||||
#define EVAS_GRADIENT2_H_
|
||||
|
||||
|
||||
typedef struct _Evas_Object_Gradient2 Evas_Object_Gradient2;
|
||||
|
||||
struct _Evas_Object_Gradient2
|
||||
{
|
||||
DATA32 magic;
|
||||
|
||||
struct {
|
||||
struct {
|
||||
Evas_Common_Transform transform;
|
||||
int spread;
|
||||
} fill;
|
||||
unsigned char gradient_opaque : 1;
|
||||
} cur, prev;
|
||||
|
||||
unsigned char gradient_changed : 1;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
|
@ -1,5 +1,6 @@
|
|||
#include "evas_common.h"
|
||||
#include "evas_private.h"
|
||||
#include "evas_object_gradient2.h"
|
||||
|
||||
/* private magic number for linear gradient objects */
|
||||
static const char lg_type[] = "linear_gradient";
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "evas_common.h"
|
||||
#include "evas_private.h"
|
||||
#include "evas_object_gradient2.h"
|
||||
|
||||
/* private magic number for radial gradient objects */
|
||||
static const char rg_type[] = "radial_gradient";
|
||||
|
|
Loading…
Reference in New Issue