| 559 | } |
| 560 | |
| 561 | void RmlPythonPanelAdapter::setInput(const PanelInputState* input) { |
| 562 | if (input) |
| 563 | current_input_ = *input; |
| 564 | else |
| 565 | current_input_.reset(); |
| 566 | |
| 567 | if (host_) { |
| 568 | const auto& ops = lfs::python::get_rml_panel_host_ops(); |
| 569 | if (ops.set_input) |
| 570 | ops.set_input(host_, input); |
| 571 | } |
| 572 | } |
| 573 | |
| 574 | void RmlPythonPanelAdapter::setForcedHeight(float h) { |
| 575 | if (host_) { |