MCPcopy Create free account
hub / github.com/christophhart/HISE / LabelWrapper

Method LabelWrapper

hi_scripting/scripting/api/ScriptComponentWrappers.cpp:1323–1336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1321}
1322
1323ScriptCreatedComponentWrappers::LabelWrapper::LabelWrapper(ScriptContentComponent *content, ScriptingApi::Content::ScriptLabel *sl, int index):
1324ScriptCreatedComponentWrapper(content, index)
1325{
1326 auto l = new MultilineLabel(sl->name.toString());
1327
1328
1329 component = l;
1330
1331 l->addListener(this);
1332
1333 initAllProperties();
1334
1335 updateValue(sl->getValue());
1336}
1337
1338void ScriptCreatedComponentWrappers::LabelWrapper::updateComponent()
1339{

Callers

nothing calls this directly

Calls 4

updateValueFunction · 0.85
toStringMethod · 0.45
addListenerMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected