Mail Archives: djgpp/1997/05/29/12:21:56
Thomas Knudsen wrote:
> When using GRX20 in 256 color mode to display a pseudo-colored bitmap
> image, I start by loading a pallette like this:
> for(i=0; i<256; i++) GrSetColor(i, r[i], g[i], b[i]);
> then I display the image on the screen. However, if I later try to change
> the pallette (to enable some interactive contrast stretching), nothing
> happens.
Isn't there a GrRefreshColors() subroutine available for that purpose ?
I don't have the source code here but it should be the answer...
/Régis
- Raw text -