Add accessors.
This commit is contained in:
@@ -86,6 +86,16 @@ void Notes::GetNoteData( NoteData* pNoteDataOut ) const
|
|||||||
NoteDataUtil::LoadFromSMNoteDataString( *pNoteDataOut, m_sSMNoteData );
|
NoteDataUtil::LoadFromSMNoteDataString( *pNoteDataOut, m_sSMNoteData );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Notes::SetSMNoteData( const CString &out )
|
||||||
|
{
|
||||||
|
m_sSMNoteData = out;
|
||||||
|
}
|
||||||
|
|
||||||
|
CString Notes::GetSMNoteData() const
|
||||||
|
{
|
||||||
|
return m_sSMNoteData;
|
||||||
|
}
|
||||||
|
|
||||||
// Color is a function of Difficulty and Intended Style
|
// Color is a function of Difficulty and Intended Style
|
||||||
NotesDisplayType Notes::GetNotesDisplayType() const
|
NotesDisplayType Notes::GetNotesDisplayType() const
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -48,6 +48,9 @@ public:
|
|||||||
CString m_sSMNoteData;
|
CString m_sSMNoteData;
|
||||||
void GetNoteData( NoteData* pNoteDataOut ) const;
|
void GetNoteData( NoteData* pNoteDataOut ) const;
|
||||||
void SetNoteData( NoteData* pNewNoteData );
|
void SetNoteData( NoteData* pNewNoteData );
|
||||||
|
void SetSMNoteData( const CString &out );
|
||||||
|
CString GetSMNoteData() const;
|
||||||
|
|
||||||
NotesDisplayType GetNotesDisplayType() const;
|
NotesDisplayType GetNotesDisplayType() const;
|
||||||
RageColor GetColor() const;
|
RageColor GetColor() const;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user