Defines | Variables

color.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define CLR_BLACK   0
#define CLR_RED   1
#define CLR_GREEN   2
#define CLR_BROWN   3
#define CLR_BLUE   4
#define CLR_MAGENTA   5
#define CLR_CYAN   6
#define CLR_GRAY   7
#define NO_COLOR   8
#define CLR_ORANGE   9
#define CLR_BRIGHT_GREEN   10
#define CLR_YELLOW   11
#define CLR_BRIGHT_BLUE   12
#define CLR_BRIGHT_MAGENTA   13
#define CLR_BRIGHT_CYAN   14
#define CLR_WHITE   15
#define CLR_MAX   16
#define BRIGHT   8
#define HI_OBJ   CLR_MAGENTA
#define HI_METAL   CLR_CYAN
#define HI_COPPER   CLR_YELLOW
#define HI_SILVER   CLR_GRAY
#define HI_GOLD   CLR_YELLOW
#define HI_LEATHER   CLR_BROWN
#define HI_CLOTH   CLR_BROWN
#define HI_ORGANIC   CLR_BROWN
#define HI_WOOD   CLR_BROWN
#define HI_PAPER   CLR_WHITE
#define HI_GLASS   CLR_BRIGHT_CYAN
#define HI_MINERAL   CLR_GRAY
#define DRAGON_SILVER   CLR_BRIGHT_CYAN
#define HI_ZAP   CLR_BRIGHT_BLUE

Variables

int ttycolors [CLR_MAX]

Define Documentation

#define BRIGHT   8
#define CLR_BLACK   0

Referenced by get_compopt_value().

#define CLR_BLUE   4

Referenced by get_compopt_value().

#define CLR_BRIGHT_BLUE   12

Referenced by get_compopt_value(), and mapglyph().

#define CLR_BRIGHT_CYAN   14

Referenced by get_compopt_value().

#define CLR_BRIGHT_GREEN   10

Referenced by get_compopt_value().

#define CLR_BRIGHT_MAGENTA   13

Referenced by get_compopt_value().

#define CLR_BROWN   3

Referenced by get_compopt_value(), and mapglyph().

#define CLR_CYAN   6

Referenced by get_compopt_value().

#define CLR_GRAY   7

Referenced by get_compopt_value(), and mapglyph().

#define CLR_GREEN   2

Referenced by get_compopt_value(), and mapglyph().

#define CLR_MAGENTA   5

Referenced by get_compopt_value(), and mapglyph().

#define CLR_MAX   16

Referenced by parseoptions(), and rndcolor().

#define CLR_ORANGE   9

Referenced by get_compopt_value().

#define CLR_RED   1

Referenced by get_compopt_value(), and mapglyph().

#define CLR_WHITE   15

Referenced by get_compopt_value(), and mapglyph().

#define CLR_YELLOW   11

Referenced by get_compopt_value(), and mapglyph().

#define DRAGON_SILVER   CLR_BRIGHT_CYAN
#define HI_CLOTH   CLR_BROWN
#define HI_COPPER   CLR_YELLOW
#define HI_GLASS   CLR_BRIGHT_CYAN
#define HI_GOLD   CLR_YELLOW
#define HI_LEATHER   CLR_BROWN
#define HI_METAL   CLR_CYAN
#define HI_MINERAL   CLR_GRAY
#define HI_OBJ   CLR_MAGENTA
#define HI_ORGANIC   CLR_BROWN
#define HI_PAPER   CLR_WHITE
#define HI_SILVER   CLR_GRAY
#define HI_WOOD   CLR_BROWN
#define HI_ZAP   CLR_BRIGHT_BLUE
#define NO_COLOR   8

Variable Documentation

int ttycolors[CLR_MAX]