MCPcopy Create free account
hub / github.com/axmolengine/axmol / setSelected

Method setSelected

core/ui/UIAbstractCheckButton.cpp:383–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381}
382
383void AbstractCheckButton::setSelected(bool selected)
384{
385 if (selected == _isSelected)
386 {
387 return;
388 }
389 _isSelected = selected;
390 _frontCrossRenderer->setVisible(_isSelected);
391}
392
393bool AbstractCheckButton::isSelected() const
394{

Callers 15

deselectMethod · 0.45
activeTabItemMethod · 0.45
deactiveTabItemMethod · 0.45
onTouchBeginMethod · 0.45
onTouchEndMethod · 0.45
createUIMethod · 0.45
initMethod · 0.45
initToggleLabelMethod · 0.45
initWrapOptionMethod · 0.45
LabelResizeTestMethod · 0.45

Calls 1

setVisibleMethod · 0.45

Tested by 9

createUIMethod · 0.36
initMethod · 0.36
initToggleLabelMethod · 0.36
initWrapOptionMethod · 0.36
LabelResizeTestMethod · 0.36
LabelToggleTypeTestMethod · 0.36
LabelSystemFontTestMethod · 0.36