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

Method GridControlTarget

Source/GridController.cpp:30–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28#include "PatchCableSource.h"
29
30GridControlTarget::GridControlTarget(IGridControllerListener* owner, const char* name, int x, int y)
31: mOwner(owner)
32{
33 SetName(name);
34 SetPosition(x, y);
35 dynamic_cast<IDrawableModule*>(owner)->AddUIControl(this);
36 SetParent(dynamic_cast<IClickable*>(owner));
37}
38
39void GridControlTarget::Render()
40{

Callers

nothing calls this directly

Calls 1

AddUIControlMethod · 0.80

Tested by

no test coverage detected