Broadcast more specific messages when switching songs on the MusicWheel.
This commit is contained in:
@@ -539,13 +539,19 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
|
|||||||
else if( bLeftIsDown )
|
else if( bLeftIsDown )
|
||||||
{
|
{
|
||||||
if( input.type != IET_RELEASE )
|
if( input.type != IET_RELEASE )
|
||||||
|
{
|
||||||
|
MESSAGEMAN->Broadcast( "PreviousSong" );
|
||||||
m_MusicWheel.Move( -1 );
|
m_MusicWheel.Move( -1 );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if( bRightIsDown )
|
else if( bRightIsDown )
|
||||||
{
|
{
|
||||||
if( input.type != IET_RELEASE )
|
if( input.type != IET_RELEASE )
|
||||||
|
{
|
||||||
|
MESSAGEMAN->Broadcast( "NextSong" );
|
||||||
m_MusicWheel.Move( +1 );
|
m_MusicWheel.Move( +1 );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ASSERT(0);
|
ASSERT(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user