Re: [AD] Button callback function (was: Grabber - options dialog box) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Allegro Developers list <conductors@xxxxxxxxxx>
- Subject: Re: [AD] Button callback function (was: Grabber - options dialog box)
- From: Evert Glebbeek <eglebbk@xxxxxxxxxx>
- Date: Wed, 22 May 2002 13:24:54 +0200
> > > 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/