| delorie.com/archives/browse.cgi | search |
| Xref: | news2.mv.net comp.os.msdos.djgpp:4530 |
| From: | ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: mode 13h -- setting/modifying pallettes? |
| Date: | 3 Jun 1996 16:23:56 GMT |
| Organization: | The National Capital FreeNet |
| Lines: | 18 |
| Sender: | ao950 AT freenet5 DOT carleton DOT ca (Paul Derbyshire) |
| Message-ID: | <4ov3is$s6m@freenet-news.carleton.ca> |
| References: | <4otpbl$boi AT maggie DOT ionsys DOT com> |
| Reply-To: | ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) |
| NNTP-Posting-Host: | freenet5.carleton.ca |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
#include <graphics.h>
Then
GrSetColor (color_index,red,green,blue);
red, green, blue, and color_index are unsigned char (I think) from 0 to 255.
and compile with -lgr.
--
.*. "Clouds are not spheres, mountains are not cones, coastlines are not
-() < circles, and bark is not smooth, nor does lightning travel in a
`*' straight line." ,------------------------------------------------
-- B. Mandelbrot | Paul Derbyshire (PGD) ao950 AT freenet DOT carleton DOT ca
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |