>>>>> Glynn Clements <[EMAIL PROTECTED]> writes: >>> RGBA_Color was recently added (as was RGB support for modules' CLI >>> options)
[...] >> Could the attached (untested) patch be of any help? > First, you would need: > -typedef struct > +typedef struct RGBA_Color > { > unsigned char r, g, b, a; /* red, green, blue, and alpha */ > } RGBA_Color ; Indeed, thanks. > Normally, we use structure tags rather than typedefs. The RGBA_Color > structure and the STD_OPT enum are the only exceptions I see in > gis.h. > But, replacing color_rgb with RGBA_Color should be straightforward. That's what I believe I did with that patch. _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev