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

Method labelTextChanged

hi_scripting/scripting/api/ScriptComponentWrappers.cpp:1473–1480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1471}
1472
1473void ScriptCreatedComponentWrappers::LabelWrapper::labelTextChanged(Label *l)
1474{
1475 auto sc = getScriptComponent();
1476
1477 sc->setValue(l->getText());
1478
1479 dynamic_cast<ProcessorWithScriptingContent*>(getProcessor())->controlCallback(getScriptComponent(), sc->getValue());
1480}
1481
1482void ScriptCreatedComponentWrappers::LabelWrapper::updateValue(var newValue)
1483{

Callers

nothing calls this directly

Calls 5

getProcessorFunction · 0.85
setValueMethod · 0.45
getTextMethod · 0.45
controlCallbackMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected