MCPcopy Create free account
hub / github.com/Siv3D/OpenSiv3D / HorizontalRadioButtons

Function HorizontalRadioButtons

Siv3D/src/Siv3D/SimpleGUI/SivSimpleGUI.cpp:649–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647 }
648
649 bool HorizontalRadioButtons(size_t& index, const Array<String>& options, const Vec2& pos, const Optional<double>& _itemWidth, const bool enabled)
650 {
651 const Vec2 center = HorizontalRadioButtonsRegion(options, pos, _itemWidth).center();
652 return HorizontalRadioButtonsAt(index, options, center, _itemWidth, enabled);
653 }
654
655 bool HorizontalRadioButtonsAt(size_t& index, const Array<String>& options, const Vec2& center, const Optional<double>& _itemWidth, bool enabled)
656 {

Callers 2

HorizontalRadioButtons1Function · 0.85
HorizontalRadioButtons2Function · 0.85

Calls 3

HorizontalRadioButtonsAtFunction · 0.85
centerMethod · 0.80

Tested by

no test coverage detected