Menu System Improvement
Wednesday, November 13, 2019
Currently, menus are created by providing the following:
Instead, make the Menu inherit Scroll_Area (which will need to be created out of QScrollArea and Widget_Wrapper). This makes the Menu class the actual widget it claims to be, rather than like a container with the previous style. So when new menus are created, they are just created out of Menu class objects.
Window::open_menu() likely needs a rewrite. As I continued to find more things for it to do, I added the new code in places I thought they'd work out. It feels ad-hoc, and might be the cause of unknown problems occurring with the current system.