This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-Qt/doric/widget/flex/FlexLayoutConfig.cpp

10 lines
264 B
C++
Raw Normal View History

2021-03-01 16:24:40 +08:00
#include "FlexLayoutConfig.h"
FlexLayoutConfig::FlexLayoutConfig(QObject *parent) : QObject(parent) {
config = YGConfigNew();
}
FlexLayoutConfig::~FlexLayoutConfig() { YGConfigFree(config); }
YGConfigRef FlexLayoutConfig::getConfig() const { return config; }