MCPcopy Create free account
hub / github.com/VCVRack/Rack / setModule

Method setModule

src/core/Notes.cpp:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59struct NotesDisplay : LedDisplay {
60 void setModule(NotesModule* module) {
61 NotesTextField* textField = createWidget<NotesTextField>(Vec(0, 0));
62 textField->box.size = box.size;
63 textField->multiline = true;
64 textField->module = module;
65 addChild(textField);
66 }
67};
68
69

Callers 1

NotesWidgetMethod · 0.45

Calls 1

VecClass · 0.85

Tested by

no test coverage detected