[GRASS5] Re: 5.3 vs 5.7 disparity

Glynn Clements glynn.clements at virgin.net
Sat Jan 31 09:00:39 EST 2004


Hamish wrote:

> > Several (most?) of the forks in libes/gis/, XDRIVER etc. could be
> > merged from 5.7 into 5.3. But this requires that someone else than
> > me checks it. 
> > E.g: If 5.3 users prefer the black X-monitor over the white X-monitor 
> >      in 5.7, we cannot merge.
> 
> 
> I don't mean to argue your point but I thought DEFAULT_FG_COLOR and 
> DEFAULT_BG_COLOR were introduced to both 5.3 & 5.7 to deal with this 
> specific case..?
> 
> 
> e.g.
> grass/src/display/d.leg.thin/main.c
> Revision 1.21, Tue Oct 21 13:01:24 2003 UTC  by markus
> Branch: MAIN
> Changes since 1.20: +3 -3 lines
> Diff to previous 1.20
> 
> use of DEFAULT_FG_COLOR/DEFAULT_BG_COLOR for G5.7 compliance

1. Neither XDRIVER nor d.erase use these macros. d.erase could be
changed easily enough, but doing it for XDRIVER would be more work (we
would need to add code to parse a string to an R/G/B triple).

2. Such an option should probably be a run-time setting rather than a
compile-time one.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list