1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:07:34 +00:00

LibGUI: Register layouts with inheritance

This commit is contained in:
thislooksfun 2021-10-25 20:23:26 -05:00 committed by Andreas Kling
parent 6dc2749795
commit 416988cc7f
2 changed files with 16 additions and 2 deletions

View file

@ -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 {