Xref: news2.mv.net comp.os.msdos.djgpp:8610 From: mohan AT stealth DOT net (Mohan Khurana) Newsgroups: comp.os.msdos.djgpp Subject: JLIB: Colors? Date: Sat, 14 Sep 1996 19:49:54 GMT Organization: Stealth Communications, NYC. Lines: 11 Message-ID: <51ensa$b94@news.stealth.net> NNTP-Posting-Host: mohan.nyc.stealth.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp How do the colors work in JLib? The color system in JLib is rather weird. From the examples I have seen, it looks like a pallete file is needed just to say, assign the color blue to UBYTE c1. Also, when I print c1, I get something like 55 or something. How do assign various colors so that I can say draw a line or something. I don't understand why I can't just use hex codes with it, like 0xFFFFFF. Thanks for any help and/or code examples.