MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / checkedButton

Method checkedButton

source/windowing/StarButtonGroup.cpp:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54ButtonWidget* ButtonGroup::checkedButton() const {
55 for (auto const& pair : m_buttons) {
56 if (pair.second->isChecked())
57 return pair.second;
58 }
59 return {};
60}
61
62int ButtonGroup::checkedId() const {
63 return id(checkedButton());

Callers 5

makeWidgetCallbacksMethod · 0.80
determineRecipesMethod · 0.80
updateSpeciesMethod · 0.80
fetchDataMethod · 0.80

Calls 1

isCheckedMethod · 0.80

Tested by

no test coverage detected