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

Method setupPressedTexture

core/ui/UIButton.cpp:353–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351}
352
353void Button::setupPressedTexture(bool textureLoaded)
354{
355 _pressedTextureSize = _buttonClickedRenderer->getContentSize();
356
357 this->updateChildrenDisplayedRGBA();
358
359 _pressedTextureLoaded = textureLoaded;
360 _pressedTextureAdaptDirty = true;
361}
362
363void Button::loadTexturePressed(SpriteFrame* pressedSpriteFrame)
364{

Callers 1

loadTexturePressedMethod · 0.95

Calls 2

getContentSizeMethod · 0.45

Tested by

no test coverage detected