Re: [AD] length-restricted text routines |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2008-09-15, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> But seeing as 'count' parameters make sense for textout* but
> not for textprintf*, I suggest we:
>
> - keep textout, which always take a count parameter. -1 would mean
> the whole string;
>
> - keep textprintf, without the count parameter;
I made that change (maybe I should have waited longer for comments).
> - add a flag to both functions to select right or centre alignment
> and delete the _right and _justify functions.
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.
Peter