Class CCMenuItemSpriteExtra

#include <Geode/binding/CCMenuItemSpriteExtra.hpp>
classCCMenuItemSpriteExtra:publiccocos2d::CCMenuItemSprite{ ... }
No description provided
Examples0
Public static methods2
staticCCMenuItemSpriteExtra*create(,,,)

MacOS (ARM): 0x218bd0

MacOS (Intel): 0x272d00

Windows: 0x43cc0

iOS: 0x223cdc

Android

No description provided
staticCCMenuItemSpriteExtra*create(,,)

MacOS (ARM): Out of line

MacOS (Intel): Out of line

Windows: Out of line

iOS: Out of line

Android: Out of line

No description provided
Public member functions7
boolinit(,,,)

MacOS (ARM): 0x218c88

MacOS (Intel): 0x272d90

Windows: 0x43d60

iOS: 0x223d80

Android

No description provided
voidsetSizeMult(
floatmult
)

MacOS (ARM): Out of line

MacOS (Intel): Out of line

Windows: Out of line

iOS: 0x223f04

Android

No description provided
virtualvoidactivate()

MacOS (ARM): 0x218e14

MacOS (Intel): 0x272f20

Windows: 0x43ec0

Android

No description provided
virtualvoidselected()

MacOS (ARM): 0x218f64

MacOS (Intel): 0x273090

Windows: 0x43fd0

Android

No description provided
virtualvoidunselected()

MacOS (ARM): 0x2191a4

MacOS (Intel): 0x273300

Windows: 0x441f0

Android

No description provided
voidsetSprite()

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

Parameters

sprite

The sprite to replace this button's sprite with

ℹ Geode additi *

voidupdateSprite()

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 *

Fields13
floatm_scaleMultiplier
;
No description provided
floatm_baseScale
;
No description provided
boolm_animationEnabled
;
No description provided
boolm_colorEnabled
;
No description provided
floatm_unknown1
;
No description provided
gd::stringm_unknown2
;
No description provided
gd::stringm_unknown3
;
No description provided
floatm_colorDip
;
No description provided
cocos2d::CCPointm_destPosition
;
No description provided
;
No description provided
MenuAnimationTypem_animationType
;
No description provided
cocos2d::CCPointm_startPosition
;
No description provided
intm_unknown4
;
No description provided
Protected member functions0
Protected fields0