Add support to resolve variables on action queue add

This commit is contained in:
WarmUpTill
2024-03-01 23:42:12 +01:00
committed by WarmUpTill
parent f8dadd38b4
commit 03e71e9183
82 changed files with 835 additions and 248 deletions

View File

@@ -50,6 +50,23 @@ bool MacroActionSystray::Load(obs_data_t *obj)
return true;
}
std::shared_ptr<MacroAction> MacroActionSystray::Create(Macro *m)
{
return std::make_shared<MacroActionSystray>(m);
}
std::shared_ptr<MacroAction> MacroActionSystray::Copy() const
{
return std::make_shared<MacroActionSystray>(*this);
}
void MacroActionSystray::ResolveVariablesToFixedValues()
{
_message.ResolveVariables();
_title.ResolveVariables();
_iconPath.ResolveVariables();
}
MacroActionSystrayEdit::MacroActionSystrayEdit(
QWidget *parent, std::shared_ptr<MacroActionSystray> entryData)
: QWidget(parent),