Re: [AD] some small patches

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


On Sat, Nov 02, 2002 at 10:12:33PM +0100, Eric Botcazou wrote:
> No, I think you're right, there is currently no way to "preempt" the menu 
> code. But I wonder if an API similar to that of dialogs would not be better:
> 
>    MENU_PLAYER *player = init_menu(menu);
> 
>    while (update_menu(player)) {
>       /* do whatever you want here */
>    }
> 
>    return shutdown_menu(player);
> 
> What do you, and the other developers, think about that ?

Would it not be possible to plug this into update_dialog instead ?

-- 
Vincent Penquerc'h



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