LibGUI: Register layouts with inheritance

This commit is contained in:
thislooksfun 2021-10-25 20:23:26 -05:00 committed by Andreas Kling
commit 416988cc7f
Notes: sideshowbarker 2024-07-18 01:36:16 +09:00
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 {