simplify
This commit is contained in:
@@ -293,7 +293,9 @@ void ScreenOptions::RestartOptions()
|
||||
CHECKPOINT;
|
||||
|
||||
PositionRows();
|
||||
RefreshAllIcons();
|
||||
FOREACH_HumanPlayer( pn )
|
||||
for( unsigned r=0; r<m_pRows.size(); ++r )
|
||||
this->RefreshIcons( r, pn );
|
||||
PositionCursors();
|
||||
UpdateEnabledDisabled();
|
||||
|
||||
@@ -416,13 +418,6 @@ void ScreenOptions::RefreshIcons( int iRow, PlayerNumber pn )
|
||||
m_pRows[iRow]->SetOptionIcon( pn, sIcon, gc );
|
||||
}
|
||||
|
||||
void ScreenOptions::RefreshAllIcons()
|
||||
{
|
||||
FOREACH_HumanPlayer( p )
|
||||
for( unsigned r=0; r<m_pRows.size(); ++r )
|
||||
this->RefreshIcons( r, p );
|
||||
}
|
||||
|
||||
void ScreenOptions::PositionCursors()
|
||||
{
|
||||
// Set the position of the cursor showing the current option the user is changing.
|
||||
|
||||
Reference in New Issue
Block a user