add LineHighlightChangeCommands

This commit is contained in:
Glenn Maynard
2004-01-09 23:52:27 +00:00
parent 1292180789
commit a4a9f1880b
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -2820,6 +2820,8 @@ PageX=320
PageY=240
PageOnCommand=
LineHighlightOnCommand=
LineHighlightChangeCommand=
LineHighlightChangeToExitCommand=
ColorSelected=1,1,1,1 // normal
ColorNotSelected=0.5,0.5,0.5,1 // grayed
NumShownItems=10
+3
View File
@@ -590,6 +590,9 @@ void ScreenOptions::TweenCursor( PlayerNumber player_no )
highlight.TweenBarWidth( iWidth );
highlight.SetXY( (float)iX, (float)iY );
UtilCommand( m_sprLineHighlight[player_no], "ScreenOptions", "Change" );
if( m_Rows[iCurRow]->Type == Row::ROW_EXIT )
UtilCommand( m_sprLineHighlight[player_no], "ScreenOptions", "ChangeToExit" );
m_sprLineHighlight[player_no].SetY( (float)iY );
}