s/CRECT/RectI/

This commit is contained in:
Glenn Maynard
2002-10-31 05:52:12 +00:00
parent 7f0e0f4571
commit c20d5b67dc
17 changed files with 51 additions and 52 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ void TransitionStarWipe::DrawPrimitives()
if( m_TransitionState == opened )
return;
else if( m_TransitionState == closed ) {
m_rect.StretchTo( CRect(0,0,SCREEN_WIDTH,SCREEN_HEIGHT) );
m_rect.StretchTo( RectI(0,0,SCREEN_WIDTH,SCREEN_HEIGHT) );
m_rect.SetDiffuse( RageColor(0,0,0,1) );
m_rect.Draw();
return;
@@ -78,7 +78,7 @@ void TransitionStarWipe::DrawPrimitives()
int x_rect_trailing_edge = ( bIsAnEvenRow ? 0-1 : SCREEN_WIDTH+1 );
int y_top = y - m_iStarHeight/2;
int y_bot = y + m_iStarHeight/2+1;
m_rect.StretchTo( CRect(x_rect_leading_edge, y_top, x_rect_trailing_edge, y_bot) );
m_rect.StretchTo( RectI(x_rect_leading_edge, y_top, x_rect_trailing_edge, y_bot) );
m_rect.SetDiffuse( RageColor(0,0,0,1) );
m_rect.Draw();