Feature hidden nodes #302

Closed
roxlu wants to merge 8 commits from feature-hidden-nodes into master
254 changed files with 22311 additions and 26360 deletions
Showing only changes of commit a3fc773d75 - Show all commits

View File

@@ -297,6 +297,10 @@ void CSSNodeShow(const CSSNodeRef node) {
node->isVisible = true;;
}
WIN_EXPORT bool CSSNodeIsVisible(const CSSNodeRef node) {
return node->isVisible;
}
inline float CSSNodeStyleGetFlexGrow(CSSNodeRef node) {
if (!CSSValueIsUndefined(node->style.flexGrow)) {
return node->style.flexGrow;

View File

@@ -159,6 +159,7 @@ WIN_EXPORT bool CSSNodeIsDirty(const CSSNodeRef node);
WIN_EXPORT void CSSNodeHide(const CSSNodeRef node);
WIN_EXPORT void CSSNodeShow(const CSSNodeRef node);
WIN_EXPORT bool CSSNodeIsVisible(const CSSNodeRef node);
WIN_EXPORT void CSSNodePrint(const CSSNodeRef node, const CSSPrintOptions options);