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

Method setAutofireInput

src/program/ui/InputEditorModel.cpp:1408–1420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1406}
1407
1408void InputEditorModel::setAutofireInput(int column, bool checked)
1409{
1410 if (column < COLUMN_SPECIAL_SIZE)
1411 return;
1412
1413 if (column == columnCount() - 1)
1414 return;
1415
1416 movie->editor->setAutofire(column-COLUMN_SPECIAL_SIZE, checked);
1417
1418 emit dataChanged(index(0,column), index(rowCount(),column), QVector<int>(1, Qt::BackgroundRole));
1419 emit headerDataChanged(Qt::Horizontal, column, column);
1420}
1421
1422bool InputEditorModel::isAutofireInput(int column) const
1423{

Callers 2

autofireInputMethod · 0.80
clickSectionMethod · 0.80

Calls 1

setAutofireMethod · 0.80

Tested by

no test coverage detected