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](/classes/CCMenuItemSpriteExtra)
has
#include <Geode/binding/CCMenuItemSpriteExtra.hpp>
MacOS (ARM): 0x2105c0
MacOS (Intel): 0x264b80
Windows: 0x44b40
Android
MacOS (ARM): Out of line
MacOS (Intel): Out of line
Windows: Out of line
iOS: Out of line
Android: Out of line
MacOS (ARM): 0x210678
MacOS (Intel): 0x264c10
Windows: 0x44be0
Android
MacOS (ARM): Out of line
MacOS (Intel): Out of line
Windows: Out of line
iOS: Out of line
Android: Out of line
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](/classes/CCMenuItemSpriteExtra)
has
sprite
ℹ Geode additi *
MacOS (ARM): Out of line
MacOS (Intel): Out of line
Windows: Out of line
iOS: Out of line
Android: Out of line
Update the sizing of this button’s image
If you for example have a [ButtonSprite](/classes/ButtonSprite)
on this button and change the
text, you need to call updateSprite
afterwards to fix the button’s
content size
ℹ Geode additi *
MacOS (ARM): 0x210804
MacOS (Intel): 0x264d90
Windows: 0x44d40
iOS: 0x214594
Android
MacOS (ARM): 0x210964
MacOS (Intel): 0x264f10
Windows: 0x44e50
iOS: 0x214674
Android
MacOS (ARM): 0x210bb4
MacOS (Intel): 0x265190
Windows: 0x45070
iOS: 0x21484c
Android