Re: [AD] About colors

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2010-06-14, Trent Gamblin <trent@xxxxxxxxxx> wrote:
> About changing the al_map_* and al_unmap_* function names again...
> 
> I think after giving it some thought that using al_color_from_*
> and to_* makes more sense. In the color addon there are functions
> like al_color_name, where al_get_color_name obviously doesn't fit
> but al_color_from_name does.
> 
> So does from/to sound alright to everyone?

I'm not in favour of changing it.  al_color_from_rgb seems too long for
such a common function, and we *are* trying to avoid trivial changes
now.  I don't see anything particularly wrong as it is.

Peter




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/