MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / UpdateEntryData

Method UpdateEntryData

plugins/base/macro-action-projector.cpp:292–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292void MacroActionProjectorEdit::UpdateEntryData()
293{
294 if (!_entryData) {
295 return;
296 }
297
298 _actions->setCurrentIndex(static_cast<int>(_entryData->_action));
299 _windowTypes->setCurrentIndex(_entryData->_fullscreen ? 1 : 0);
300 _types->setCurrentIndex(static_cast<int>(_entryData->_type));
301 _scenes->SetScene(_entryData->_scene);
302 _sources->SetSource(_entryData->_source);
303 _monitors->setCurrentIndex(_entryData->GetMonitor());
304 _projectorWindowName->setText(_entryData->_projectorWindowName);
305 _regex->SetRegexConfig(_entryData->_regex);
306 SetWidgetVisibility();
307}
308
309void MacroActionProjectorEdit::SceneChanged(const SceneSelection &s)
310{

Callers

nothing calls this directly

Calls 5

GetMonitorMethod · 0.80
setTextMethod · 0.80
SetRegexConfigMethod · 0.80
SetSceneMethod · 0.45
SetSourceMethod · 0.45

Tested by

no test coverage detected