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

Method setupBackgroundTexture

core/ui/UIAbstractCheckButton.cpp:159–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159void AbstractCheckButton::setupBackgroundTexture()
160{
161
162 this->updateChildrenDisplayedRGBA();
163
164 updateContentSizeWithTextureSize(_backGroundBoxRenderer->getContentSize());
165 _backGroundBoxRendererAdaptDirty = true;
166}
167
168void AbstractCheckButton::loadTextureBackGround(SpriteFrame* spriteFrame)
169{

Callers 1

loadTextureBackGroundMethod · 0.95

Calls 2

getContentSizeMethod · 0.45

Tested by

no test coverage detected