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

Method resetPressedRender

core/ui/UIButton.cpp:957–968  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

955 _buttonNormalRenderer->resetRender();
956}
957void Button::resetPressedRender()
958{
959 _clickedFileName = "";
960 _pressedTexType = TextureResType::LOCAL;
961
962 _pressedTextureSize = Vec2(0, 0);
963
964 _pressedTextureLoaded = false;
965 _pressedTextureAdaptDirty = false;
966
967 _buttonClickedRenderer->resetRender();
968}
969
970void Button::resetDisabledRender()
971{

Callers 1

Calls 2

Vec2Function · 0.50
resetRenderMethod · 0.45

Tested by

no test coverage detected