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

Method SetInputVariablesAndValues

lib/macro/macro-input.cpp:178–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178void MacroInputEdit::SetInputVariablesAndValues(
179 const MacroInputVariables &inputs, const StringList &values)
180{
181 _variables = inputs;
182 _values = values;
183 if ((size_t)_values.size() < _variables._inputVariables.size()) {
184 _values.resize(_variables._inputVariables.size());
185 }
186 SetupWidgets();
187}
188
189bool MacroInputEdit::HasInputsToSet() const
190{

Callers 1

SetupMacroInputMethod · 0.80

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected