MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / CanBeTargetedBy

Method CanBeTargetedBy

Source/DotGrid.cpp:208–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208bool DotGrid::CanBeTargetedBy(PatchCableSource* source) const
209{
210 return source->GetConnectionType() == kConnectionType_UIControl && dynamic_cast<Snapshots*>(source->GetOwner()) != nullptr;
211}
212
213void DotGrid::OnClicked(float x, float y, bool right)
214{

Callers

nothing calls this directly

Calls 2

GetConnectionTypeMethod · 0.45
GetOwnerMethod · 0.45

Tested by

no test coverage detected