| 480 | } |
| 481 | |
| 482 | double 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 | |
| 493 | void Element::focus() { |
| 494 | base->Focus(); |
nothing calls this directly
no outgoing calls
no test coverage detected