Re: colors

From: Lavrenty (crush@vtc.ru)
Date: 12/29/99


Wednesday, December 29, 1999, Manafort wrote:

M> Ok colors are working perfectly now. Is there a way to get more than the
M> basic 8 dark colors? i know in the mud i put in a color patch so now i can
M> put &0-&9 and have dark and light of each color. anyway to do this in the
M> code?

These are colors from my screen.h :

 /* Background Colors */

#define C_BG_RED  "\x1B[41m"
#define C_BG_GRN  "\x1B[42m"
#define C_BG_YEL  "\x1B[43m"
#define C_BG_BLU  "\x1B[44m"
#define C_BG_MAG  "\x1B[45m"
#define C_BG_CYN  "\x1B[46m"
#define C_BG_WHT  "\x1B[47m"

 /* Font */

#define C_UNDERLINE "\x1B[4m"
#define C_BOLD      "\x1B[1m"
#define C_BLINK     "\x1B[5m"
#define C_REVERSE   "\x1B[7m"

   /* Normal Colours       */

#define C_RED          "\x1B[22m"
#define C_GREEN        "\x1B[20m"
#define C_YELLOW       "\x1B[24m"
#define C_BLUE         "\x1B[19m"
#define C_MAGENTA      "\x1B[23m"
#define C_CYAN         "\x1B[21m"
#define C_WHITE        "\x1B[25m"


/* Light Colours         */

#define C_D_GREY       "\x1B[10m"
#define C_B_RED        "\x1B[31m"
#define C_B_GREEN      "\x1B[32m"
#define C_B_YELLOW     "\x1B[33m"
#define C_B_BLUE       "\x1B[34m"
#define C_B_MAGENTA    "\x1B[35m"
#define C_B_CYAN       "\x1B[36m"
#define C_B_WHITE      "\x1B[37m"






--
Best regards,
 Lavrenty                            mailto:crush@vtc.ru

Ìäàà.. õîðîøèå áûëè êîãäà òî îðèäæèíû. *sigh*


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST