allow opening options menu while choosing a song

This commit is contained in:
Glenn Maynard
2007-03-17 06:35:58 +00:00
parent 7e8b5de34d
commit 00285ab5eb
4 changed files with 59 additions and 38 deletions
+6
View File
@@ -127,6 +127,8 @@ void OptionsList::Load( RString sType, PlayerNumber pn )
{
m_pn = pn;
m_Codes.Load( sType );
m_Cursor.Load( THEME->GetPathG(sType, "cursor") );
m_Cursor->SetName( "Cursor" );
ActorUtil::LoadAllCommands( *m_Cursor, sType );
@@ -263,6 +265,10 @@ void OptionsList::SwitchMenu( int iDir )
void OptionsList::Input( const InputEventPlus &input )
{
Message msg("");
if( m_Codes.InputMessage(input, msg) )
this->HandleMessage( msg );
if( input.type == IET_RELEASE )
return;
if( input.type != IET_FIRST_PRESS )