File: color.h

package info (click to toggle)
xmille 2.0-13
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, lenny, squeeze, stretch, wheezy
  • size: 1,128 kB
  • ctags: 1,040
  • sloc: ansic: 4,392; makefile: 745
file content (21 lines) | stat: -rw-r--r-- 299 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * color.h
 *
 * definitions for standard colors
 */

# define BLACK_COLOR	0
# define WHITE_COLOR	1
# define RED_COLOR	2
# define GREEN_COLOR	3
# define GREY_COLOR	4
# define BLUE_COLOR	5
# define NUM_COLOR	6


struct color {
	char	*name;
	int	pixel;
};

extern struct color	colorMap[NUM_COLOR];