mirror of
https://github.com/RGBCube/serenity
synced 2025-10-29 04:12:33 +00:00
This allows us to construct menus in a more natural way:
auto& file_menu = menubar->add_menu("File");
file_menu.add_action(...);
Instead of the old way:
auto file_menu = GUI::Menu::construct();
file_menu->add_action(...);
menubar->add_menu(file_menu);
|
||
|---|---|---|
| .. | ||
| main.cpp | ||
| Makefile | ||
| VBForm.cpp | ||
| VBForm.h | ||
| VBPropertiesWindow.cpp | ||
| VBPropertiesWindow.h | ||
| VBProperty.cpp | ||
| VBProperty.h | ||
| VBWidget.cpp | ||
| VBWidget.h | ||
| VBWidgetPropertyModel.cpp | ||
| VBWidgetPropertyModel.h | ||
| VBWidgetRegistry.cpp | ||
| VBWidgetRegistry.h | ||
| VBWidgetType.h | ||