aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_color_class.h
blob: 419781e2fcd073a7bb95d4f71f4035ad9bbe85d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
 */

#ifdef E_TYPEDEFS

typedef struct _E_Color_Class E_Color_Class;

#else
#ifndef E_COLOR_CLASSES_H
#define E_COLOR_CLASSES_H

struct _E_Color_Class
{
   char		 *name;
   int		  r, g, b, a;
   int		  r2, g2, b2, a2;
   int		  r3, g3, b3, a3;
};

EAPI int e_color_class_init(void);
EAPI int e_color_class_shutdown(void);
EAPI void e_color_class_set(const char *color_class,
                            int r, int g, int b, int a,
                            int r2, int b2, int g2, int a2,
                            int r3, int g3, int b3, int a3);
EAPI E_Color_Class *e_color_class_find(const char *name);
EAPI void e_color_class_del(const char *name);

EAPI Evas_List *e_color_class_list(void);

#endif
#endif