Re: Standard Color Defines

From: Patrick Dughi (dughi@imaxx.net)
Date: 02/18/00


> I was wondering what the color for bright yellow was in standard defined by
> screen.h
>
> i.e. KYEL = dim yellow
>
> what would = bright yellow
>
> Im trying to modify the colors of do_gen_comm's gossip/congrat etc.
>
> If there is no define for bright how would I add it to screen.h
> I remember ive done this before but it was a long time ago.

        I know this sounds silly, but couldn't you just look at one of the
multitude of color patches that exist on the ftp site?

ftp://ftp.circlemud.org/pub/CircleMUD/contrib/code/colorupdate.txt:

#define KBRED  "\033[41m"
#define KBGRN  "\033[42m"
#define KBYEL  "\033[43m"
#define KBBLU  "\033[44m"
#define KBMAG  "\033[45m"
#define KBCYN  "\033[46m"
#define KBWHT  "\033[47m"
#define KBBLK  "\033[40m"

        It also has a few others in there, like the code for clear,
underline, blink, the actual dark/bright switch, etc.

                                        PjD


     +------------------------------------------------------------+
     | 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 : 04/10/01 PDT