MCPcopy Create free account
hub / github.com/MyGUI/mygui / notifyFrameEntered

Method notifyFrameEntered

UnitTests/UnitTest_TreeControl/TreeControl.cpp:187–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185 }
186
187 void TreeControl::notifyFrameEntered(float nTime)
188 {
189 if (!mbInvalidated)
190 return;
191
192 mnExpandedNodes = mpRoot->prepareChildren();
193 if (mbRootVisible)
194 mnExpandedNodes++;
195
196 updateScroll();
197 updateItems();
198
199 validate();
200
201 mbInvalidated = false;
202 Gui::getInstance().eventFrameStart -= newDelegate(this, &TreeControl::notifyFrameEntered);
203 }
204
205 void TreeControl::updateScroll()
206 {

Callers

nothing calls this directly

Calls 2

newDelegateFunction · 0.85
prepareChildrenMethod · 0.80

Tested by

no test coverage detected