put focus on last selected profile

This commit is contained in:
Chris Danford
2005-07-18 01:50:31 +00:00
parent 18910dd754
commit b50482c185
3 changed files with 27 additions and 14 deletions
+3 -2
View File
@@ -66,9 +66,10 @@ protected:
virtual void BeginFadingOut() { this->PostScreenMessage( SM_BeginFadingOut, 0 ); }
void ChangeValueInRow( PlayerNumber pn, int iDelta, bool Repeat );
void ChangeValueInRow( PlayerNumber pn, int iDelta, bool bRepeat );
virtual void AfterChangeValueInRow( PlayerNumber pn ) {} // override this to detect when the value in a row has changed
void MoveRow( PlayerNumber pn, int dir, bool Repeat );
void MoveRowRelative( PlayerNumber pn, int iDir, bool bRepeat );
void MoveRowAbsolute( PlayerNumber pn, int iRow, bool bRepeat );
void MenuLeft( PlayerNumber pn, const InputEventType type ) { ChangeValueInRow(pn,-1,type != IET_FIRST_PRESS); }
void MenuRight( PlayerNumber pn, const InputEventType type ) { ChangeValueInRow(pn,+1,type != IET_FIRST_PRESS); }