| 1321 | } |
| 1322 | |
| 1323 | ScriptCreatedComponentWrappers::LabelWrapper::LabelWrapper(ScriptContentComponent *content, ScriptingApi::Content::ScriptLabel *sl, int index): |
| 1324 | ScriptCreatedComponentWrapper(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 | |
| 1338 | void ScriptCreatedComponentWrappers::LabelWrapper::updateComponent() |
| 1339 | { |
nothing calls this directly
no test coverage detected