RE: [AD] user data

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


Title: RE: [AD] user data

> Maybe for BITMAPS, but DIALOG already has dp,dp2 and dp3. 
> These are quite
> sufficient I find.
>
> if I need more data then one of these pointers points to an
> extra structure.

This would be valid only if one knew Allegro would *never* use
one of these for its own purposes, which is not true. You don't
want a widget to use your data field to store something. And you
don't want to find out that a newer version of Allegro does this
with a field it didn't use before. Thus the need for a field that
is specifically reserved to the user.

--
Vincent Penquerc'h



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