split NoteDataUtil::ShiftRows into InsertRows and DeleteRows

This commit is contained in:
Glenn Maynard
2005-12-18 06:26:22 +00:00
parent b1e0cc776c
commit e76574e7cc
2 changed files with 26 additions and 9 deletions
+3
View File
@@ -100,6 +100,9 @@ namespace NoteDataUtil
void ScaleRegion( NoteData &nd, float fScale, int iStartIndex = 0, int iEndIndex = MAX_NOTE_ROW );
inline void Scale( NoteData &nd, float fScale ) { NoteDataUtil::ScaleRegion(nd, fScale); }
void InsertRows( NoteData &nd, int iStartIndex, int iRowsToShift );
void DeleteRows( NoteData &nd, int iStartIndex, int iRowsToShift );
// If iRowsToShift > 0, add blank rows. If iRowsToShift < 0, delete rows
void ShiftRows( NoteData &nd, int iStartIndex, int iRowsToShift );