Re: [AD] rgb_to_color

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


On November 2, 2004 03:31 am, Evert Glebbeek wrote:
> > I've noticed that there is no function for converting an RGB pointer
> > into a color so you have to implement your own if you need it.  Just
> > suggesting it should be added to the library as either a macro or inline
> > function.
>
> Wouldn't this just be a one-line wrapper around makecol? Not that I'm
> opposed to the idea, but is it really that important to have a seperate
> function for it?
>
> Evert
>

many parts of allegro's api are simple macro wrappers. ;)

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx
http://strangesoft.net




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