MCPcopy Create free account
hub / github.com/RevoSucks/BM64Recomp / get_input_value_double

Method get_input_value_double

src/ui/elements/ui_element.cpp:482–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480}
481
482double Element::get_input_value_double() {
483 ElementValue value = get_element_value();
484
485 return std::visit(overloaded {
486 [](double d) { return d; },
487 [](float f) { return (double)f; },
488 [](uint32_t u) { return (double)u; },
489 [](std::monostate) { return 0.0; }
490 }, value);
491}
492
493void Element::focus() {
494 base->Focus();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected