RE: [AD] do_menu work better?

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


Oops... sorry, this patch is bullshi... :-)

Newly I read that the function `do_menu' it returns the
index that produces the exit :o), for what the patch is
not good for anything...

Anyway, I saw that the function `_do_menu' it is external
but he/she is not defined in any place, for that reason
the patch that I send now places `MENU_INFO' and `_do_menu'
in `aintern.h'. Now yes, you will say if he likes or not...

--
David A. Capello <davidcapello@xxxxxxxxxx>
http://come.to/davidcapello/

----- Original Message ----- 
From: David A. Capello <davidcapello@xxxxxxxxxx>
To: <conductors@xxxxxxxxxx>
Sent: Thursday, February 15, 2001 10:49 PM
Subject: do_menu work better?


> This patch is for situations where a function "proc" of a menu,
> D_REDRAW returns (either because he/she got dirty the screen or
> for other things), and this way the function `do_menu' that
> value returns D_REDRAW that returned the process.
> 
> --
> David A. Capello <davidcapello@xxxxxxxxxx>
> http://come.to/davidcapello/


Attachment: menu_patch.zip
Description: Zip compressed data



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