| 411 | } |
| 412 | |
| 413 | void NoteTable::OnGridButton(int x, int y, float velocity, IGridController* grid) |
| 414 | { |
| 415 | int col = x + mGridControlOffsetX; |
| 416 | int row = y - mGridControlOffsetY; |
| 417 | if (grid == mGridControlTarget->GetGridController() && col >= 0 && col < mLength && velocity > 0) |
| 418 | { |
| 419 | mGrid->SetVal(col, row, mGrid->GetVal(col, row) > 0 ? 0 : 1); |
| 420 | UpdateGridControllerLights(false); |
| 421 | } |
| 422 | } |
| 423 | |
| 424 | void NoteTable::ButtonClicked(ClickButton* button, double time) |
| 425 | { |
no test coverage detected