Modified the UGetCursor() routine to return a valid response if the
[xcircuit.git] / colordefs.h
blob8d20653b88a06e44d09fbc64beaedd360c8baa73
1 /*-------------------------------------------------------------------------*/
2 /* colordefs.h */
3 /* Copyright (c) 2002 Tim Edwards, Johns Hopkins University */
4 /*-------------------------------------------------------------------------*/
6 /*-------------------------------------------------------------------------*/
7 /* Add colors here as needed. */
8 /* Reflect all changes in the resource manager, xcircuit.c */
9 /* And ApplicationDataPtr in xcircuit.h */
10 /*-------------------------------------------------------------------------*/
12 #define NUMBER_OF_COLORS 18
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
26 /* The rest of the colors are layout colors, not GUI colors */
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
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 */
43 /*-------------------------------------------------------------------------*/