Have OptionRows subscribe to a Message in order to refresh

This commit is contained in:
Chris Danford
2005-02-24 15:40:05 +00:00
parent 017dd5d048
commit 182db1222f
10 changed files with 148 additions and 168 deletions
+1 -2
View File
@@ -49,7 +49,6 @@ protected:
void UpdateEnabledDisabled();
void UpdateEnabledDisabled( int row );
virtual void OnChange( PlayerNumber pn );
void RefreshRowChoices( int row, const OptionRowDefinition &def );
virtual void MenuBack( PlayerNumber pn );
virtual void MenuStart( PlayerNumber pn, const InputEventType type );
@@ -59,7 +58,7 @@ protected:
virtual void GoToNextScreen() = 0;
virtual void GoToPrevScreen() = 0;
virtual void ChangeValueInRow( PlayerNumber pn, int iDelta, bool Repeat );
void ChangeValueInRow( PlayerNumber pn, int iDelta, bool Repeat );
void MoveRow( PlayerNumber pn, int dir, bool Repeat );
void MenuLeft( PlayerNumber pn, const InputEventType type ) { ChangeValueInRow(pn,-1,type != IET_FIRST_PRESS); }