NOTE: only used for CLAP and VST3
| 591 | |
| 592 | // NOTE: only used for CLAP and VST3 |
| 593 | void UI::requestSizeChange(const uint width, const uint height) |
| 594 | { |
| 595 | #if DISTRHO_UI_USES_SIZE_REQUEST |
| 596 | if (uiData->initializing) |
| 597 | uiData->window->setSizeFromHost(width, height); |
| 598 | else |
| 599 | uiData->setSizeCallback(width, height); |
| 600 | #else |
| 601 | // unused |
| 602 | (void)width; |
| 603 | (void)height; |
| 604 | #endif |
| 605 | } |
| 606 | |
| 607 | // ----------------------------------------------------------------------------------------------------------- |
| 608 |
nothing calls this directly
no test coverage detected