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

Method deselect

core/ui/UIRadioButton.cpp:235–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235void RadioButtonGroup::deselect()
236{
237 if (_selectedRadioButton != nullptr)
238 {
239 _selectedRadioButton->setSelected(false);
240 _selectedRadioButton->dispatchSelectChangedEvent(false);
241 }
242 _selectedRadioButton = nullptr;
243}
244
245int RadioButtonGroup::getSelectedButtonIndex() const
246{

Callers

nothing calls this directly

Calls 2

setSelectedMethod · 0.45

Tested by

no test coverage detected