simplify: add SetInputMode, like SetNavigation
This commit is contained in:
@@ -83,7 +83,7 @@ void ScreenMiniMenu::Init( const MenuDef* pDef, ScreenMessage SM_SendOnOK, Scree
|
||||
vector<OptionRowHandler*> vHands;
|
||||
vHands.resize( vDefs.size(), NULL );
|
||||
|
||||
ScreenOptions::InitMenu( INPUTMODE_SHARE_CURSOR, vDefs, vHands );
|
||||
ScreenOptions::InitMenu( vDefs, vHands );
|
||||
}
|
||||
|
||||
void ScreenMiniMenu::OnChange( PlayerNumber pn )
|
||||
|
||||
@@ -48,7 +48,7 @@ void ScreenSMOnlineLogin::Init()
|
||||
vector<OptionRowDefinition> vDefs( &g_ProfileLine[0], &g_ProfileLine[ARRAYSIZE(g_ProfileLine)] );
|
||||
vector<OptionRowHandler*> vHands( vDefs.size(), NULL );
|
||||
|
||||
InitMenu( INPUTMODE_SHARE_CURSOR, vDefs, vHands );
|
||||
InitMenu( vDefs, vHands );
|
||||
SOUND->PlayMusic( THEME->GetPathS("ScreenMachineOptions", "music"));
|
||||
OptionRow &row = *m_pRows.back();
|
||||
row.SetExitText("Login");
|
||||
|
||||
Reference in New Issue
Block a user