[GRASS-dev] [GRASS GIS] #969: move color structs to colors.h?

GRASS GIS trac at osgeo.org
Mon Nov 24 15:48:07 PST 2014

#969: move color structs to colors.h?
 Reporter:  hamish                                  |       Owner:  grass-dev@…              
     Type:  task                                    |      Status:  new                      
 Priority:  blocker                                 |   Milestone:  7.0.0                    
Component:  Display                                 |     Version:  svn-trunk                
 Keywords:  needinfo, RGBA_Color, G_str_to_color()  |    Platform:  All                      
      Cpu:  All                                     |  

Comment(by martinl):

 Replying to [comment:5 mmetz]:
 > > Should we also change `G_str_to_color()`? This would be a blocker too.
 > IMHO no, because there is no bug reported for `G_str_to_color()`, using
 `unsigned char` instead of `int` means that a range check can no longer be
 done, and changing `G_str_to_color()` implies changing

 it sounds like something for G8 and not G7 (we are in beta stage)...

Ticket URL: <http://trac.osgeo.org/grass/ticket/969#comment:9>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list