Re: [AD] Removing the default close button support

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


> int set_close_button_callback(void (*proc)(void), int
enable_confirmation);
> ...
> >         If enable_confirmation is set to TRUE, a dialog box will appear
so as
> > to let the user confirm his action
>
> That's interesting.  In that case, maybe the user should be allowed to
> customise the message?

And why not simply
int set_close_button_callback(int (*proc*(void));
where if the proc returns TRUE it will keep closing or if it returns FALSE
it will stop closing?



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