Lines Matching defs:color
171 typedef short color; /* colors of characters */
172 typedef int pcolor; /* what color promotes to */
173 #define COLORLESS (-1) /* impossible color */
174 #define WHITE 0 /* default color, parent of all others */
180 * by a byt of the chr, to map the chr to a color efficiently. Because
185 * to "fill blocks" which are entirely WHITE in color.
190 color ccolor[BYTTAB];
202 /* internal per-color structure for the color machinery */
204 uchr nchrs; /* number of chars of this color */
205 color sub; /* open subcolor (if any); free chain ptr */
207 struct arc *arcs; /* color chain */
212 union tree *block; /* block of solid color, if any */
215 /* the color map itself */
222 color free; /* beginning of free chain (if non-0) */
230 /* optimization magic to do fast chr->color mapping */
282 color co;
288 struct arc *colorchain; /* color's arc chain */
322 struct colormap *cm; /* the color map */
323 color bos[2]; /* colors, if any, assigned to BOS and BOL */
324 color eos[2]; /* colors, if any, assigned to EOS and EOL */
335 color co; /* COLORLESS is list terminator */
346 color bos[2]; /* colors, if any, assigned to BOS and BOL */
347 color eos[2]; /* colors, if any, assigned to EOS and EOL */