| 2703 | } |
| 2704 | |
| 2705 | bool BambooTracker::pasteMixPatternCells(int songNum, int beginTrack, int beginColmn, int beginOrder, int beginStep, |
| 2706 | const Vector2d<std::string>& cells, bool overflow) |
| 2707 | { |
| 2708 | const auto clipped = clipCellsToFitPastedArea(songStyle_.trackAttribs.size(), getPatternSizeFromOrderNumber(songNum, beginOrder), |
| 2709 | beginTrack, beginColmn, beginStep, cells, overflow); |
| 2710 | if (!clipped.isValid() || clipped.empty()) return false; |
| 2711 | |
| 2712 | return comMan_.invoke(std::make_unique<PasteMixCopiedDataToPatternCommand>( |
| 2713 | mod_, songNum, beginTrack, beginColmn, beginOrder, beginStep, clipped)); |
| 2714 | } |
| 2715 | |
| 2716 | bool BambooTracker::pasteOverwritePatternCells(int songNum, int beginTrack, int beginColmn, int beginOrder, |
| 2717 | int beginStep, const Vector2d<std::string>& cells, bool overflow) |
no test coverage detected