move structure definition of Color to header file

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-12-17 12:20:14 -05:00
parent f78cbaf9e2
commit c8e19fa467
2 changed files with 7 additions and 7 deletions

View File

@ -1,13 +1,6 @@
#include "private.h"
#include "colors.h"
typedef struct _Color Color;
struct _Color
{
unsigned char r, g, b, a;
};
static const Color colors[2][2][12] =
{
{ // normal

View File

@ -1,6 +1,13 @@
#ifndef _COLORS_H_
# 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_standard_get(int set, int col, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a);