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

Method isLockedUniqueInput

src/program/ui/InputEditorModel.cpp:1098–1112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1096}
1097
1098bool InputEditorModel::isLockedUniqueInput(int column)
1099{
1100 if (column < COLUMN_SPECIAL_SIZE)
1101 return false;
1102
1103 if (column == columnCount() - 1)
1104 return false;
1105
1106 SingleInput si = movie->editor->input_set[column-COLUMN_SPECIAL_SIZE];
1107
1108 if (movie->editor->locked_inputs.find(si) != movie->editor->locked_inputs.end())
1109 return true;
1110
1111 return false;
1112}
1113
1114
1115void InputEditorModel::lockUniqueInput(int column, bool locked)

Callers 1

horizontalMenuMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected