remove ShiftRows
This commit is contained in:
@@ -1894,15 +1894,6 @@ void NoteDataUtil::ScaleRegion( NoteData &nd, float fScale, int iStartIndex, int
|
|||||||
nd.CopyAll( temp1 );
|
nd.CopyAll( temp1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
// deprecated
|
|
||||||
void NoteDataUtil::ShiftRows( NoteData &nd, int iStartIndex, int iRowsToShift )
|
|
||||||
{
|
|
||||||
if( iRowsToShift > 0 )
|
|
||||||
InsertRows( nd, iStartIndex, iRowsToShift );
|
|
||||||
else
|
|
||||||
DeleteRows( nd, iStartIndex, -iRowsToShift );
|
|
||||||
}
|
|
||||||
|
|
||||||
void NoteDataUtil::InsertRows( NoteData &nd, int iStartIndex, int iRowsToAdd )
|
void NoteDataUtil::InsertRows( NoteData &nd, int iStartIndex, int iRowsToAdd )
|
||||||
{
|
{
|
||||||
ASSERT( iRowsToAdd >= 0 );
|
ASSERT( iRowsToAdd >= 0 );
|
||||||
|
|||||||
@@ -103,9 +103,6 @@ namespace NoteDataUtil
|
|||||||
void InsertRows( NoteData &nd, int iStartIndex, int iRowsToShift );
|
void InsertRows( NoteData &nd, int iStartIndex, int iRowsToShift );
|
||||||
void DeleteRows( 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 );
|
|
||||||
|
|
||||||
void RemoveAllTapsOfType( NoteData& ndInOut, TapNote::Type typeToRemove );
|
void RemoveAllTapsOfType( NoteData& ndInOut, TapNote::Type typeToRemove );
|
||||||
void RemoveAllTapsExceptForType( NoteData& ndInOut, TapNote::Type typeToKeep );
|
void RemoveAllTapsExceptForType( NoteData& ndInOut, TapNote::Type typeToKeep );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user