X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,ae26ea62f5e044f9 X-Google-Attributes: gidf996b,public From: iecheruo@newstand.syr.edu (Ifeanyi Echeruo) Subject: Re: colored ansi Date: 1997/04/04 Message-ID: <5i3cm7$j7t@newstand.syr.edu>#1/1 X-Deja-AN: 230699901 References: Organization: Syracuse University, Syracuse, NY (USA) Reply-To: iecheruo@mailbox.syr.edu Newsgroups: alt.ascii-art Sarah Walkowiak (sarahw@wpi.edu) wrote: : I'm trying to display colored ansi characters in Turbo C++. Is this : possible? Yup you can. It all depends on the format in which the ascii is stored. for example theres a format in which a bunch of rectangles are are stored {row, col, width, height, foreground color, background color} at the top of the file any following characters that fall in any of the rectangles are then colored accordingly. Conversly if the color codes are spread all over the ascii so that the current drawing color is the color last bumped into when reading the file, you'll have to be able to detect the code identifing color (I think its usually 27th ansi character). I'll be willing to give more details if you'll be willing to give more information