MCPcopy Create free account
hub / github.com/clementgallet/libTAS / moveInputs

Method moveInputs

src/program/ui/InputEditorModel.cpp:1274–1279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1272}
1273
1274void InputEditorModel::moveInputs(int oldIndex, int newIndex)
1275{
1276 SingleInput si = movie->editor->input_set[oldIndex];
1277 movie->editor->input_set.erase(movie->editor->input_set.begin() + oldIndex);
1278 movie->editor->input_set.insert(movie->editor->input_set.begin() + newIndex, si);
1279}
1280
1281bool InputEditorModel::rewind(uint64_t framecount)
1282{

Callers 1

moveAgainSectionMethod · 0.80

Calls 2

beginMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected