Const.
This commit is contained in:
@@ -141,7 +141,7 @@ void OptionsCursorPlus::SetBarWidth( int iWidth )
|
||||
m_sprCanGoRight->SetX( m_sprRight.GetDestX() );
|
||||
}
|
||||
|
||||
int OptionsCursor::GetBarWidth()
|
||||
int OptionsCursor::GetBarWidth() const
|
||||
{
|
||||
float fWidth = m_sprLeft.GetZoomX() * m_sprLeft.GetUnzoomedWidth();
|
||||
return (int)fWidth;
|
||||
|
||||
@@ -22,7 +22,7 @@ public:
|
||||
void StopTweening();
|
||||
void BeginTweening( float fSecs );
|
||||
void SetBarWidth( int iWidth );
|
||||
int GetBarWidth();
|
||||
int GetBarWidth() const;
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user