nodeguy/src/cpp/core/FlexLayout/flexitem.cpp
2019-07-24 23:47:02 +02:00

18 lines
265 B
C++

#include "flexitem.h"
FlexItem::FlexItem()
{
this->node = YGNodeNew();
// YGConfigSetUseWebDefaults(this->node->getConfig(),true);
}
YGNodeRef FlexItem::getFlexNode() const
{
return this->node;
}
FlexItem::~FlexItem()
{
YGNodeFree(this->node);
}