Re: [AD] `c' in MSG_END

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


David A. Capello <davidcapello@xxxxxxxxxx> wrote:
> This patch is so that when sending a message MSG_END, the
> parameter `c' it is the index of the object that I produce
> the exit. This is useful for if the doubts an object wants
> to have different answers depending on the object that I
> produce the exit (for e.g.: press "ok" sprite_proc creates
> a bitmap, press "cancel" sprite_proc it doesn't create
> anything...).

Can't you use the return value of `do_dialog', etc?



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