From d887a2905c59ca110117f283cbbb2d79d4689c8d Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Fri, 12 Feb 2021 19:03:48 +0100 Subject: [PATCH] Add comment about updated size in CheckSizeConstraintResponse --- src/common/serialization/vst3/plug-view/plug-view.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/serialization/vst3/plug-view/plug-view.h b/src/common/serialization/vst3/plug-view/plug-view.h index 7e64aed7..d3a94d41 100644 --- a/src/common/serialization/vst3/plug-view/plug-view.h +++ b/src/common/serialization/vst3/plug-view/plug-view.h @@ -327,6 +327,10 @@ class YaPlugView : public Steinberg::IPlugView { /** * The result and updated `ViewRect` from a call to * `IPlugView::checkSizeConstraint(rect)`. + * + * In this case the plugin is allowed to update the view rect with something + * that the plugin does support. I don't know if any hosts that use this + * information though. */ struct CheckSizeConstraintResponse { UniversalTResult result;