cleanup
This commit is contained in:
+3
-3
@@ -168,7 +168,7 @@ void OptionRow::ChoicesChanged( RowType type )
|
|||||||
vbSelected[0] = true;
|
vbSelected[0] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TRICKY: Insert a down arrow as the first choice in the row.
|
// TRICKY: Insert a down arrow as the first choice in the row.
|
||||||
if( m_bFirstItemGoesDown )
|
if( m_bFirstItemGoesDown )
|
||||||
{
|
{
|
||||||
m_pHand->m_Def.m_vsChoices.insert( m_pHand->m_Def.m_vsChoices.begin(), NEXT_ROW_NAME );
|
m_pHand->m_Def.m_vsChoices.insert( m_pHand->m_Def.m_vsChoices.begin(), NEXT_ROW_NAME );
|
||||||
@@ -178,7 +178,7 @@ void OptionRow::ChoicesChanged( RowType type )
|
|||||||
|
|
||||||
InitText( type );
|
InitText( type );
|
||||||
|
|
||||||
/* When choices change, the old focus position is meaningless; reset it. */
|
// When choices change, the old focus position is meaningless; reset it.
|
||||||
FOREACH_PlayerNumber( p )
|
FOREACH_PlayerNumber( p )
|
||||||
SetChoiceInRowWithFocus( p, 0 );
|
SetChoiceInRowWithFocus( p, 0 );
|
||||||
|
|
||||||
@@ -398,7 +398,7 @@ void OptionRow::InitText( RowType type )
|
|||||||
this->SortByDrawOrder();
|
this->SortByDrawOrder();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* After importing options, choose which item is focused. */
|
// After importing options, choose which item is focused.
|
||||||
void OptionRow::AfterImportOptions( PlayerNumber pn )
|
void OptionRow::AfterImportOptions( PlayerNumber pn )
|
||||||
{
|
{
|
||||||
/* We load items for both players on start, since we don't know which players
|
/* We load items for both players on start, since we don't know which players
|
||||||
|
|||||||
Reference in New Issue
Block a user