#include <stdlib.h>
#include <limits.h>
#include "errors.h"
#include "Graph.h"
#include "Binary.h"
#include <stdio.h>
Go to the source code of this file.
|
| struct Colors * | Colors_construct (unsigned int colorType, struct Binary *binary, struct Graph *graph, int *error) |
| |
| struct Colors * | Colors_destruct (struct Colors *this) |
| |
| void | Colors_initialize (struct Colors *this, int *error) |
| |
| unsigned int | Colors_writeColor (struct Colors *this, unsigned char redValue, unsigned char greenValue, unsigned char blueValue, int *error) |
| |
| void | Colors_readColor (const struct Colors *this, unsigned int color, unsigned char *redValue, unsigned char *greenValue, unsigned char *blueValue, int *error) |
| |
◆ CHANNEL_CLUSTER_LENGTH
| #define CHANNEL_CLUSTER_LENGTH 3 |
◆ CHANNEL_SOURCES_LENGTH
| #define CHANNEL_SOURCES_LENGTH 3 |
◆ COLOR_CLUSTER_LENGTH
| #define COLOR_CLUSTER_LENGTH 2 |
◆ Colors_construct()
| struct Colors * Colors_construct |
( |
unsigned int |
colorType, |
|
|
struct Binary * |
binary, |
|
|
struct Graph * |
graph, |
|
|
int * |
error |
|
) |
| |
◆ Colors_destruct()
◆ Colors_initialize()
| void Colors_initialize |
( |
struct Colors * |
this, |
|
|
int * |
error |
|
) |
| |
◆ Colors_readColor()
| void Colors_readColor |
( |
const struct Colors * |
this, |
|
|
unsigned int |
color, |
|
|
unsigned char * |
redValue, |
|
|
unsigned char * |
greenValue, |
|
|
unsigned char * |
blueValue, |
|
|
int * |
error |
|
) |
| |
◆ Colors_writeColor()
| unsigned int Colors_writeColor |
( |
struct Colors * |
this, |
|
|
unsigned char |
redValue, |
|
|
unsigned char |
greenValue, |
|
|
unsigned char |
blueValue, |
|
|
int * |
error |
|
) |
| |