File: colors.h

package info (click to toggle)
grass 6.0.2-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 40,044 kB
  • ctags: 31,303
  • sloc: ansic: 321,125; tcl: 25,676; sh: 11,176; cpp: 10,098; makefile: 5,025; fortran: 1,846; yacc: 493; lex: 462; perl: 133; sed: 1
file content (33 lines) | stat: -rw-r--r-- 601 bytes parent folder | download | duplicates (2)
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
#ifndef GRASS_COLORS_H
#define GRASS_COLORS_H

#define FIXED		0
#define FLOAT		1

#define RED		1
#define ORANGE		2
#define YELLOW		3
#define GREEN		4
#define BLUE		5
#define INDIGO		6
#define VIOLET		7
#define WHITE		8
#define BLACK		9
#define GRAY		10
#define BROWN		11
#define MAGENTA		12
#define AQUA		13
#define GREY            GRAY

/* increase when adding more colors */
#define MAX_COLOR_NUM 13

#define D_COLOR_LIST "red,orange,yellow,green,blue,indigo,violet,white,black,gray,brown,magenta,aqua,grey"

#define MAXCOLORS 13

/* max length of color string */
#define MAX_COLOR_LEN 32

#endif