quakeforge/ruamoko/qwaq/color.h
Bill Currie df2ed4b086 [qwaq] Move from tools to ruamoko
This fixes the dependency issues between qwaq and ruamoko. qwaq is
actually older than ruamoko. That little language feature test has come
a long way.

However, I'm considering moving to non-recursive make, but...
2020-03-01 00:55:15 +09:00

21 lines
405 B
C

#ifndef __qwaq_color_h
#define __qwaq_color_h
#ifndef COLOR_PAIR
// double protection in case this header is included in a C file
#define COLOR_PAIR(cp) ((cp) << 8)
// taken from ncurses.h
#define COLOR_BLACK 0
#define COLOR_RED 1
#define COLOR_GREEN 2
#define COLOR_YELLOW 3
#define COLOR_BLUE 4
#define COLOR_MAGENTA 5
#define COLOR_CYAN 6
#define COLOR_WHITE 7
#endif
#endif//__qwaq_color_h