MCPcopy Create free account
hub / github.com/axmolengine/axmol / _checkVisibility

Function _checkVisibility

core/ui/UITextFieldEx.cpp:54–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54static bool _checkVisibility(Node* theNode)
55{
56 // AX_ASSERT(theNode != NULL);
57 bool visible = false;
58 for (Node* ptr = theNode; (ptr != nullptr && (visible = ptr->isVisible())); ptr = ptr->getParent())
59 ;
60 return visible;
61}
62
63static bool _containsTouchPoint(ax::Node* target, ax::Touch* touch)
64{

Callers 2

enableIMEMethod · 0.85

Calls 2

isVisibleMethod · 0.45
getParentMethod · 0.45

Tested by

no test coverage detected