Add and use accessors for most of Notes.

Don't autogen data until it's needed.
This commit is contained in:
Glenn Maynard
2003-01-02 22:10:51 +00:00
parent b797141aa3
commit bb8940adad
23 changed files with 231 additions and 164 deletions
+2 -2
View File
@@ -283,10 +283,10 @@ void SongSelector::OnNotesChange()
m_textNotes.SetText( "(NEW)" );
else
{
CString sDescription = GetSelectedNotes()->m_sDescription;
CString sDescription = GetSelectedNotes()->GetDescription();
if( sDescription == "" )
sDescription = "[no name]";
if( GetSelectedNotes()->m_bAutoGen )
if( GetSelectedNotes()->IsAutogen() )
sDescription += " (autogen)";
m_textNotes.SetText( sDescription );
}