export specific rows, not all rows at once, to make it easier to reload certain rows

This commit is contained in:
Chris Danford
2005-02-24 01:17:39 +00:00
parent f395d0a401
commit 7c237be91f
13 changed files with 243 additions and 220 deletions
+9 -1
View File
@@ -29,8 +29,17 @@ OptionRow::OptionRow()
}
OptionRow::~OptionRow()
{
Clear();
}
void OptionRow::Clear()
{
ActorFrame::RemoveAllChildren();
FOREACH_PlayerNumber( p )
m_vbSelected[p].clear();
for( unsigned i = 0; i < m_textItems.size(); ++i )
SAFE_DELETE( m_textItems[i] );
m_textItems.clear();
@@ -42,7 +51,6 @@ OptionRow::~OptionRow()
}
}
void OptionRow::LoadNormal( const OptionRowDefinition &def )
{
m_RowDef = def;