Added CSSNodeIsVisible()
This commit is contained in:
@@ -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;
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user