[GRASS5] Suggested color function names
glynn at gclements.plus.com
Mon Apr 24 11:56:03 EDT 2006
> > Also, add:
> > typedef RGBA_Color RGB_Color;
> > and use RGB_Color for functions which ignore the alpha component.
> A good idea, but in include/ we already have
> devlib.h:int RGB_color(unsigned char, unsigned char, unsigned char);
> devlib.h:int Set_RGB_color(unsigned char,unsigned char,unsigned char);
> (afaict devlib.h is not used by anything. unneeded copy from GRASS 5??)
> graphics.h:#define RGB_COLOR 6
> graphics.h:#define RGB_COLORS 52
> I think it is confusing to have both RGB_Color and RGB_COLOR around.
Don't worry about graphics.h; it's only used internally within the
display architecture (lib/raster and display/drivers/lib).
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev