From a24958adf11b5171b4f07ed269e0aa7ea586d904 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 10 Sep 2022 10:42:20 +0100 Subject: [PATCH] Leave relevant note on default gui size macros Signed-off-by: falkTX --- distrho/DistrhoInfo.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/distrho/DistrhoInfo.hpp b/distrho/DistrhoInfo.hpp index d1b8bdad..8f638092 100644 --- a/distrho/DistrhoInfo.hpp +++ b/distrho/DistrhoInfo.hpp @@ -628,6 +628,8 @@ START_NAMESPACE_DISTRHO Setting this macro allows to skip a temporary UI from being created in certain VST2 and VST3 hosts. (which would normally be done for knowing the UI size before host creates a window for it) + Value must match 1x scale factor. + When this macro is defined, the companion DISTRHO_UI_DEFAULT_HEIGHT macro must be defined as well. */ #define DISTRHO_UI_DEFAULT_WIDTH 300 @@ -637,6 +639,8 @@ START_NAMESPACE_DISTRHO Setting this macro allows to skip a temporary UI from being created in certain VST2 and VST3 hosts. (which would normally be done for knowing the UI size before host creates a window for it) + Value must match 1x scale factor. + When this macro is defined, the companion DISTRHO_UI_DEFAULT_WIDTH macro must be defined as well. */ #define DISTRHO_UI_DEFAULT_HEIGHT 300