export specific rows, not all rows at once, to make it easier to reload certain rows
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user