Skip to content

Commit

Permalink
Expose window repaint for plugin format implementations
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Apr 22, 2023
1 parent 56b5fb3 commit 5c22ff0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions distrho/src/DistrhoUIInternal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,13 @@ class UIExporter
uiData->app.quit();
}

#if !DISTRHO_PLUGIN_HAS_EXTERNAL_UI
void repaint()
{
uiData->window->repaint();
}
#endif

// -------------------------------------------------------------------

#if defined(DISTRHO_OS_MAC) || defined(DISTRHO_OS_WINDOWS)
Expand Down

0 comments on commit 5c22ff0

Please sign in to comment.