From 5c22ff0653ec4284ecf9a27efa163f5589ae8474 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 22 Apr 2023 18:17:23 +0200 Subject: [PATCH] Expose window repaint for plugin format implementations Signed-off-by: falkTX --- distrho/src/DistrhoUIInternal.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/distrho/src/DistrhoUIInternal.hpp b/distrho/src/DistrhoUIInternal.hpp index 65c0b82b..00239a80 100644 --- a/distrho/src/DistrhoUIInternal.hpp +++ b/distrho/src/DistrhoUIInternal.hpp @@ -261,6 +261,13 @@ public: uiData->app.quit(); } + #if !DISTRHO_PLUGIN_HAS_EXTERNAL_UI + void repaint() + { + uiData->window->repaint(); + } + #endif + // ------------------------------------------------------------------- #if defined(DISTRHO_OS_MAC) || defined(DISTRHO_OS_WINDOWS)