Class CCMenuItemSpriteExtra

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

Windows: 0x25830

Android

No description provided
staticCCMenuItemSpriteExtra*create(,,)

Out of line

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

Windows: 0x258f0

Android

No description provided
voidsetSizeMult(
floatmult
)
No description provided
virtualvoidactivate()

Windows: 0x259d0

Android

No description provided
virtualvoidselected()

Windows: 0x25aa0

Android

No description provided
virtualvoidunselected()

Windows: 0x25c80

Android

No description provided
voidsetSprite()

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()

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