MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / setScale

Method setScale

Source/MenuItemSpriteExtra.cpp:74–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void MenuItemSpriteExtra::setScale(float s) {
75 m_fUnselectedScale = s;
76 m_fSelectedScale = s * m_fScaleMult;
77 m_pSprite->setScale(s);
78}
79
80void MenuItemSpriteExtra::setCallback(std::function<void(Node*)> callback)
81{

Callers 15

initMethod · 0.80
initMethod · 0.80
initMethod · 0.80
initMethod · 0.80
initWithSpriteMethod · 0.80
setStringMethod · 0.80
drawPropertiesFunction · 0.80
initMethod · 0.80
showCompleteTextMethod · 0.80
initMethod · 0.80
initMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected