Set a new image for this button
Prefer using this over setNormalImage
as the latter does not actually
handle any of the special sizing operations CCMenuItemSpriteExtra
has
#include <Geode/binding/CCMenuItemSpriteExtra.hpp>
Set a new image for this button
Prefer using this over setNormalImage
as the latter does not actually
handle any of the special sizing operations CCMenuItemSpriteExtra
has
sprite
ℹ Geode additi *
Update the sizing of this button’s image
If you for example have a ButtonSprite
on this button and change the
text, you need to call updateSprite
afterwards to fix the button’s
content size
ℹ Geode additi *