Re: [AD] length-restricted text routines

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


On 2008-09-16, Ron Novy <ron.novy@xxxxxxxxxx> wrote:
> Peter Wang <novalazy@xxxxxxxxxx> Wrote:
> >Not sure about this one any more.  In the usual case you'd have to type
> >ALLEGRO_FONT_ALIGN_LEFT or something similar, which is rather annoying.
> 
> What about just ALLEGRO_LEFT, ALLEGRO_RIGHT... Something generic like that could be useful elsewhere too...

IMHO reusing constants makes APIs hard to understand.

Peter





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