move structure definition of Color to header file
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
f78cbaf9e2
commit
c8e19fa467
|
@ -1,13 +1,6 @@
|
||||||
#include "private.h"
|
#include "private.h"
|
||||||
#include "colors.h"
|
#include "colors.h"
|
||||||
|
|
||||||
typedef struct _Color Color;
|
|
||||||
|
|
||||||
struct _Color
|
|
||||||
{
|
|
||||||
unsigned char r, g, b, a;
|
|
||||||
};
|
|
||||||
|
|
||||||
static const Color colors[2][2][12] =
|
static const Color colors[2][2][12] =
|
||||||
{
|
{
|
||||||
{ // normal
|
{ // normal
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
#ifndef _COLORS_H_
|
#ifndef _COLORS_H_
|
||||||
# define _COLORS_H_ 1
|
# define _COLORS_H_ 1
|
||||||
|
|
||||||
|
typedef struct _Color Color;
|
||||||
|
|
||||||
|
struct _Color
|
||||||
|
{
|
||||||
|
unsigned char r, g, b, a;
|
||||||
|
};
|
||||||
|
|
||||||
void _colors_init(Evas_Object *obj, Evas_Object *bg);
|
void _colors_init(Evas_Object *obj, Evas_Object *bg);
|
||||||
void _colors_standard_get(int set, int col, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a);
|
void _colors_standard_get(int set, int col, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue