Class CCMenuItemSpriteExtra

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

MacOS (ARM): 0x2105c0

MacOS (Intel): 0x264b80

Windows: 0x44b40

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

MacOS (ARM): 0x210804

MacOS (Intel): 0x264d90

Windows: 0x44d40

iOS: 0x214594

Android

No description provided
virtualvoidselected()

MacOS (ARM): 0x210964

MacOS (Intel): 0x264f10

Windows: 0x44e50

iOS: 0x214674

Android

No description provided
virtualvoidunselected()

MacOS (ARM): 0x210bb4

MacOS (Intel): 0x265190

Windows: 0x45070

iOS: 0x21484c

Android

No description provided
boolinit(,
cocos2d::CCNode*disabledSprite
,,)

MacOS (ARM): 0x210678

MacOS (Intel): 0x264c10

Windows: 0x44be0

Android

No description provided
voidsetSizeMult(
floatmult
)

MacOS (ARM): 0x2107fc

MacOS (Intel): 0x264d80

Windows: Out of line

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 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 on this button and change the

text, you need to call updateSprite afterwards to fix the button’s

content size

ℹ Geode additi *

Fields14
floatm_scaleMultiplier
;
No description provided
floatm_baseScale
;
No description provided
boolm_animationEnabled
;
No description provided
boolm_colorEnabled
;
No description provided
floatm_volume
;
No description provided
gd::stringm_activateSound
;
No description provided
gd::stringm_selectSound
;
No description provided
floatm_colorDip
;
No description provided
;
No description provided
floatm_duration
;
No description provided
floatm_unselectedDuration
;
No description provided
MenuAnimationTypem_animationType
;
No description provided
cocos2d::CCPointm_startPosition
;
No description provided
intm_unknown4
;
No description provided
Protected member functions0
Protected fields0