This commit is contained in:
Steve Checkoway
2006-09-01 07:46:08 +00:00
parent 685e2e7412
commit 763738cafa
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ void OptionsCursorPlus::SetBarWidth( int iWidth )
m_sprCanGoRight->SetX( m_sprRight.GetDestX() ); m_sprCanGoRight->SetX( m_sprRight.GetDestX() );
} }
int OptionsCursor::GetBarWidth() int OptionsCursor::GetBarWidth() const
{ {
float fWidth = m_sprLeft.GetZoomX() * m_sprLeft.GetUnzoomedWidth(); float fWidth = m_sprLeft.GetZoomX() * m_sprLeft.GetUnzoomedWidth();
return (int)fWidth; return (int)fWidth;
+1 -1
View File
@@ -22,7 +22,7 @@ public:
void StopTweening(); void StopTweening();
void BeginTweening( float fSecs ); void BeginTweening( float fSecs );
void SetBarWidth( int iWidth ); void SetBarWidth( int iWidth );
int GetBarWidth(); int GetBarWidth() const;
protected: protected: