mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibGUI: Register layouts with inheritance
This commit is contained in:
parent
6dc2749795
commit
416988cc7f
Notes:
sideshowbarker
2024-07-18 01:36:16 +09:00
Author: https://github.com/thislooksfun
Commit: 416988cc7f
Pull-request: https://github.com/SerenityOS/serenity/pull/10642
2 changed files with 16 additions and 2 deletions
|
@ -10,8 +10,8 @@
|
|||
#include <LibGfx/Orientation.h>
|
||||
#include <stdio.h>
|
||||
|
||||
REGISTER_CORE_OBJECT(GUI, HorizontalBoxLayout)
|
||||
REGISTER_CORE_OBJECT(GUI, VerticalBoxLayout)
|
||||
REGISTER_LAYOUT(GUI, HorizontalBoxLayout)
|
||||
REGISTER_LAYOUT(GUI, VerticalBoxLayout)
|
||||
|
||||
namespace GUI {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue