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

Method beforeDraw

extensions/GUI/src/GUI/ScrollView/ScrollView.cpp:570–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568}
569
570void ScrollView::beforeDraw()
571{
572
573 //ScrollView don't support drawing in 3D space
574 //_beforeDrawCommand.init(_globalZOrder);
575 //_beforeDrawCommand.func = AX_CALLBACK_0(ScrollView::onBeforeDraw, this);
576 Director::getInstance()->getRenderer()->addCallbackCommand(AX_CALLBACK_0(ScrollView::onBeforeDraw, this),
577 _globalZOrder);
578 }
579
580/**
581 * clip this view so that outside of the visible bounds can be hidden.

Callers 1

visitMethod · 0.95

Calls 3

getInstanceFunction · 0.85
addCallbackCommandMethod · 0.80
getRendererMethod · 0.80

Tested by

no test coverage detected