Re: [AD] some small patches |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> 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.
It seems to me that the dialog code and the menu code are too different to
directly allow this trick. However, your idea is interesting: we could
redirect update_dialog() to update_menu() when the menu attached to a
d_menu_proc() is activated.
--
Eric Botcazou