[dali_2.3.20] Merge branch 'devel/master'
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / third-party / yoga / YGConfig.h
1 /**
2  * Copyright (c) 2014-present, Facebook, Inc.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  */
7
8 #pragma once
9 #include "Yoga-internal.h"
10 #include "Yoga.h"
11
12 struct YGConfig {
13   std::array<bool, YGExperimentalFeatureCount> experimentalFeatures;
14   bool useWebDefaults;
15   bool useLegacyStretchBehaviour;
16   bool shouldDiffLayoutWithoutLegacyStretchBehaviour;
17   float pointScaleFactor;
18   YGLogger logger;
19   YGCloneNodeFunc cloneNodeCallback;
20   void* context;
21
22   YGConfig(YGLogger logger);
23 };