Add missing config bindings

This commit is contained in:
Nick Gerleman
2022-12-24 08:17:17 -08:00
parent cb4e9492ea
commit de9db1bc03
5 changed files with 36 additions and 6 deletions

View File

@@ -32,9 +32,13 @@ public: // Prevent accidental copy
public: // Setters
void setExperimentalFeatureEnabled(int feature, bool enabled);
void setPointScaleFactor(float pixelsInPoint);
void setUseLegacyStretchBehaviour(bool useLegacyStretchBehaviour);
void setUseWebDefaults(bool useWebDefaults);
public: // Getters
bool isExperimentalFeatureEnabled(int feature) const;
bool useLegacyStretchBehaviour();
bool useWebDefaults();
private:
YGConfigRef m_config;