Implement IPlugView::onFocus()

This commit is contained in:
Robbert van der Helm
2020-12-21 23:52:38 +01:00
parent 463557349d
commit d4d9746f69
6 changed files with 44 additions and 13 deletions
@@ -116,9 +116,8 @@ tresult PLUGIN_API Vst3PlugViewProxyImpl::onSize(Steinberg::ViewRect* newSize) {
}
tresult PLUGIN_API Vst3PlugViewProxyImpl::onFocus(TBool state) {
// TODO: Implement
bridge.logger.log("TODO: IPlugView::onFocus()");
return Steinberg::kNotImplemented;
return bridge.send_message(YaPlugView::OnFocus{
.owner_instance_id = owner_instance_id(), .state = state});
}
tresult PLUGIN_API