smntc
an in-memory multimodal graph database
Loading...
Searching...
No Matches
Colors.h
Go to the documentation of this file.
1#ifndef __COLORS_HEADER__
2#define __COLORS_HEADER__
3
4struct Colors;
5
6struct Colors *Colors_construct(unsigned int colorType, struct Binary *binary, struct Graph *graph, int *error);
7
8struct Colors *Colors_destruct(struct Colors *this);
9
10void Colors_initialize(struct Colors *this, int *error);
11
12unsigned int Colors_writeColor(struct Colors *this, unsigned char redValue, unsigned char greenValue, unsigned char blueValue, int *error);
13
14void Colors_readColor(const struct Colors *this, unsigned int color, unsigned char *redValue, unsigned char *greenValue, unsigned char *blueValue, int *error);
15
16#endif
void Colors_initialize(struct Colors *this, int *error)
Definition Colors.c:56
unsigned int Colors_writeColor(struct Colors *this, unsigned char redValue, unsigned char greenValue, unsigned char blueValue, int *error)
Definition Colors.c:146
struct Colors * Colors_construct(unsigned int colorType, struct Binary *binary, struct Graph *graph, int *error)
Definition Colors.c:21
void Colors_readColor(const struct Colors *this, unsigned int color, unsigned char *redValue, unsigned char *greenValue, unsigned char *blueValue, int *error)
Definition Colors.c:318
struct Colors * Colors_destruct(struct Colors *this)
Definition Colors.c:45
unsigned int colorType
Definition Colors.c:17
struct Graph * graph
Definition Colors.c:15
struct Binary * binary
Definition Colors.c:14
Definition Graph.c:20