DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit 5c22ff0653ec4284ecf9a27efa163f5589ae8474
parent 56b5fb3d2abefa3f8c908491b3136dfd9565cd53
Author: falkTX <falktx@falktx.com>
Date:   Sat, 22 Apr 2023 18:16:56 +0200

Expose window repaint for plugin format implementations

Signed-off-by: falkTX <falktx@falktx.com>

Diffstat:
Mdistrho/src/DistrhoUIInternal.hpp | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git 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)