cleanup, hide some implementation

This commit is contained in:
Glenn Maynard
2004-01-08 23:32:14 +00:00
parent 048c4c8e47
commit a88531bc51
2 changed files with 8 additions and 10 deletions
+1 -5
View File
@@ -284,21 +284,17 @@ void ScreenOptions::Init( InputMode im, OptionRow OptionRows[], int iNumOptionLi
GetExplanationTitle( r );
}
CHECKPOINT;
PositionItems();
PositionUnderlines();
PositionIcons();
CHECKPOINT;
RefreshIcons();
CHECKPOINT;
PositionCursors();
CHECKPOINT;
UpdateEnabledDisabled();
CHECKPOINT;
for( p=0; p<NUM_PLAYERS; p++ )
OnChange( (PlayerNumber)p );
CHECKPOINT;
/* It's tweening into position, but on the initial tween-in we only want to
+7 -5
View File
@@ -100,13 +100,16 @@ protected:
OptionRow* m_OptionRow;
protected: // derived classes need access to these
int m_iSelectedOption[NUM_PLAYERS][MAX_OPTION_LINES];
int m_iCurrentRow[NUM_PLAYERS];
int m_iSelectedOption[NUM_PLAYERS][MAX_OPTION_LINES];
int m_iNumOptionRows;
int m_iCurrentRow[NUM_PLAYERS];
OptionIcon m_OptionIcons[NUM_PLAYERS][MAX_OPTION_LINES];
private:
InputMode m_InputMode;
int m_iNumOptionRows;
ActorFrame m_framePage;
AutoActor m_sprPage;
AutoActor m_sprFrame;
@@ -122,7 +125,6 @@ protected: // derived classes need access to these
OptionsCursor m_Underline[NUM_PLAYERS][MAX_OPTION_LINES];
OptionIcon m_OptionIcons[NUM_PLAYERS][MAX_OPTION_LINES];
OptionsCursor m_Highlight[NUM_PLAYERS];
Sprite m_sprLineHighlight[NUM_PLAYERS];