-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcolor_map.h
More file actions
28 lines (22 loc) · 1.01 KB
/
Copy pathcolor_map.h
File metadata and controls
28 lines (22 loc) · 1.01 KB
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
#ifndef _COLOR_MAP_H_
#define _COLOR_MAP_H_
typedef struct _color_map_s color_map_t;
struct _color_map_s
{
short global_color; /*
the internal color number
we have mapped the
private_color to.
*/
short private_color; /*
the color that the guest
application is expecting
to use.
*/
float red; // RGB values of the color
float green;
float blue;
color_map_t *next; // next entry in the map
color_map_t *prev; // prev entry in the map
};
#endif