add change sound
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
EditMenu row
|
||||||
@@ -123,6 +123,7 @@ void ScreenTextEntry::Init()
|
|||||||
|
|
||||||
m_sndType.Load( THEME->GetPathS(m_sName,"type"), true );
|
m_sndType.Load( THEME->GetPathS(m_sName,"type"), true );
|
||||||
m_sndBackspace.Load( THEME->GetPathS(m_sName,"backspace"), true );
|
m_sndBackspace.Load( THEME->GetPathS(m_sName,"backspace"), true );
|
||||||
|
m_sndChange.Load( THEME->GetPathS(m_sName,"change"), true );
|
||||||
}
|
}
|
||||||
|
|
||||||
ScreenTextEntry::~ScreenTextEntry()
|
ScreenTextEntry::~ScreenTextEntry()
|
||||||
@@ -208,6 +209,7 @@ void ScreenTextEntry::MoveX( int iDir )
|
|||||||
}
|
}
|
||||||
while( sKey == "" );
|
while( sKey == "" );
|
||||||
|
|
||||||
|
m_sndChange.Play();
|
||||||
PositionCursor();
|
PositionCursor();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -239,6 +241,7 @@ void ScreenTextEntry::MoveY( int iDir )
|
|||||||
}
|
}
|
||||||
while( sKey == "" );
|
while( sKey == "" );
|
||||||
|
|
||||||
|
m_sndChange.Play();
|
||||||
PositionCursor();
|
PositionCursor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ protected:
|
|||||||
|
|
||||||
RageSound m_sndType;
|
RageSound m_sndType;
|
||||||
RageSound m_sndBackspace;
|
RageSound m_sndBackspace;
|
||||||
|
RageSound m_sndChange;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user