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

Method pressedTextureScaleChangedWithSize

core/ui/UIEditBox/UIEditBox.cpp:765–769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763}
764
765void EditBox::pressedTextureScaleChangedWithSize()
766{
767 _pressedRenderer->setPreferredSize(_contentSize);
768 _pressedRenderer->setPosition(_contentSize.width / 2.0f, _contentSize.height / 2.0f);
769}
770
771void EditBox::disabledTextureScaleChangedWithSize()
772{

Callers

nothing calls this directly

Calls 2

setPreferredSizeMethod · 0.45
setPositionMethod · 0.45

Tested by

no test coverage detected