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

Method select

source/windowing/StarButtonGroup.cpp:66–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void ButtonGroup::select(int id) {
67 auto b = button(id);
68 if (!b->isChecked())
69 b->check();
70}
71
72void ButtonGroup::wasChecked(ButtonWidget* self) {
73 for (auto const& pair : m_buttons) {

Callers 1

makeWidgetCallbacksMethod · 0.45

Calls 2

isCheckedMethod · 0.80
checkMethod · 0.45

Tested by

no test coverage detected