Re: [AD] some small patches |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Eric Botcazou wrote:
No, I think you're right, there is currently no way to "preempt" the menucode. But I wonder if an API similar to that of dialogs would not be better:
[snip]Couldn't the menu code override the current dialog pointer so that update_dialog() updates the menu (too)? This way, there is only one place to modify if you need to run things in parallel to the GUI.
However, I do beleive do_menu() would need your approach as well.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |