mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
03e0ddce52
This patch adds two new API's: - WidgetType& GUI::Window::set_main_widget<WidgetType>(); This creates a new main widget for a window, assigns it, and returns it to you as a WidgetType&. - LayoutType& GUI::Widget::set_layout<LayoutType>(); Same basic idea, creates a new layout, assigns it, and returns it to you as a LayoutType&. |
||
---|---|---|
.. | ||
Calculator.cpp | ||
Calculator.h | ||
CalculatorWidget.cpp | ||
CalculatorWidget.h | ||
Keypad.cpp | ||
Keypad.h | ||
main.cpp | ||
Makefile |