[GRASS-dev] [GRASS GIS] #2514: G_OPT_C_BG and G_OPT_C_FG differ in support of color_none

GRASS GIS trac at osgeo.org
Tue Dec 23 08:52:55 PST 2014


#2514: G_OPT_C_BG and G_OPT_C_FG differ in support of color_none
-------------------------------------+--------------------------------------
 Reporter:  annakrat                 |       Owner:  grass-dev@…              
     Type:  defect                   |      Status:  new                      
 Priority:  normal                   |   Milestone:  7.0.0                    
Component:  Default                  |     Version:  svn-trunk                
 Keywords:  color, standard options  |    Platform:  All                      
      Cpu:  Unspecified              |  
-------------------------------------+--------------------------------------
 In the attempt to standardize options for fg and bg colors, we ignored the
 gisprompt where some commands have `old,color,color` and some
 `old,color_none,color`. So this for example results in d.vect gui dialog
 not supporting transparent feature color, because G_OPT_C_FG doesn't use
 `color_none`.

 Beside the gisprompt, also the description must be different. Should we
 have 4 versions of color standard options? Something like G_OPT_C_BG,
 G_OPT_C_FG, G_OPT_CN_BG, G_OPT_CN_FG?

 I suppose all modules using standard color option should be checked.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2514>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list