mirror of
https://github.com/BanjoRecomp/BanjoRecomp
synced 2026-06-12 04:57:11 -04:00
Initial boot
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#include "ui_container.h"
|
||||
|
||||
#include <cassert>
|
||||
|
||||
namespace recompui {
|
||||
|
||||
Container::Container(Element *parent, FlexDirection direction, JustifyContent justify_content) : Element(parent) {
|
||||
set_display(Display::Flex);
|
||||
set_flex(1.0f, 1.0f);
|
||||
set_flex_direction(direction);
|
||||
set_justify_content(justify_content);
|
||||
}
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user