I've been working on this in order to unify menus with tooltips/popups. But due to the lack of time I'm unable to finish it properly. If you have time and like the idea feel free to continue my work.
I didn't touch the menu module. All changes are located in the new_menu module and some examples in the examples/new_menu
Changes
Adds Menu struct that allows you to create a menu where you can specify the handle that describes the menu's behavior
Some basic handles (click/hover/context[right click])
I've been working on this in order to unify menus with tooltips/popups. But due to the lack of time I'm unable to finish it properly. If you have time and like the idea feel free to continue my work.
I didn't touch the
menu
module. All changes are located in thenew_menu
module and some examples in theexamples/new_menu
Changes
Menu
struct that allows you to create a menu where you can specify the handle that describes the menu's behavior