Skip to content

Commit 81ffd24

Browse files
committed
Expose window repaint for plugin format implementations
Signed-off-by: falkTX <falktx@falktx.com>
1 parent 56b5fb3 commit 81ffd24

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

distrho/src/DistrhoUIInternal.hpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,13 @@ class UIExporter
261261
uiData->app.quit();
262262
}
263263

264+
#if !DISTRHO_PLUGIN_HAS_EXTERNAL_UI
265+
void repaint()
266+
{
267+
uiData->window->repaint();
268+
}
269+
#endif
270+
264271
// -------------------------------------------------------------------
265272

266273
#if defined(DISTRHO_OS_MAC) || defined(DISTRHO_OS_WINDOWS)

0 commit comments

Comments
 (0)