Re: [AD] Button callback function (was: Grabber - options dialog box)

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


> > > Obviously, modifying the way the d_button_proc() works by adding a 
> > > callback function could (would?) break backward compatibilty.
> > 
> > Yes, because dp3 is then taken away from the user.
> 
> Ahem.
> I remember suggesting more than once the addition of a void *user_data
> field in DIALOG (among others) ....
> Maybe now would be a good time to mention again this trivial change ? ;)

I think it wouldn't hurt to extend the DIALOG structure for new functionality.
AFAICS, it doesn't break anything...

-- 
Evert Glebbeek, Physics student
Faculty of Science, University of Amsterdam
Institute for Theoretical Physics, room W3.132
e-mail: eglebbk@xxxxxxxxxx   tst. 7314 
www: http://www.science.uva.nl/~eglebbk/ 



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