1 /*-------------------------------------------------------------------------*/
2 /* colordefs.h 								   */
3 /* Copyright (c) 2002  Tim Edwards, Johns Hopkins University       	   */
4 /*-------------------------------------------------------------------------*/
5 
6 /*-------------------------------------------------------------------------*/
7 /* Add colors here as needed. 						   */
8 /* Reflect all changes in the resource manager, xcircuit.c		   */
9 /* And ApplicationDataPtr in xcircuit.h					   */
10 /*-------------------------------------------------------------------------*/
11 
12 #define NUMBER_OF_COLORS	18
13 
14 #define BACKGROUND		0
15 #define FOREGROUND		1
16 #define SELECTCOLOR		2
17 #define FILTERCOLOR		3
18 #define GRIDCOLOR		4
19 #define SNAPCOLOR		5
20 #define AXESCOLOR		6
21 #define OFFBUTTONCOLOR		7
22 #define AUXCOLOR		8
23 #define BARCOLOR		9
24 #define PARAMCOLOR		10
25 
26 /* The rest of the colors are layout colors, not GUI colors */
27 
28 #define BBOXCOLOR		11
29 #define LOCALPINCOLOR		12
30 #define GLOBALPINCOLOR		13
31 #define INFOLABELCOLOR		14
32 #define RATSNESTCOLOR		15
33 #define CLIPMASKCOLOR		16
34 #define FIXEDBBOXCOLOR		17
35 
36 #define DEFAULTCOLOR	-1		/* Inherits color of parent */
37 #define DOFORALL	-2		/* All elements inherit same color */
38 #define DOSUBSTRING	-3		/* Only selected substring drawn */
39 					/* in the SELECTCOLOR		*/
40 #define BADCOLOR	-1		/* When returned from query_named_color */
41 #define ERRORCOLOR	-2		/* When returned from query_named_color */
42 
43 /*-------------------------------------------------------------------------*/
44