| 383 | } |
| 384 | |
| 385 | void CardinalRemoteUI::onResize(const ResizeEvent& ev) |
| 386 | { |
| 387 | NanoTopLevelWidget::onResize(ev); |
| 388 | |
| 389 | CardinalPluginContext* context = static_cast<CardinalPluginContext*>(rack::contextGet()); |
| 390 | WindowSetInternalSize(context->window, rack::math::Vec(ev.size.getWidth(), ev.size.getHeight())); |
| 391 | } |
| 392 | |
| 393 | // -------------------------------------------------------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected