half-finished codes, options icons, and two new modifiers.
This commit is contained in:
@@ -58,8 +58,7 @@ void CroppedSprite::CropToSize( float fWidth, float fHeight )
|
||||
};
|
||||
Sprite::SetCustomImageCoords( fCustomImageCoords );
|
||||
|
||||
SetWidth( m_fCropWidth );
|
||||
SetHeight( m_fCropHeight );
|
||||
m_size = D3DXVECTOR2( m_fCropWidth, m_fCropHeight );
|
||||
SetZoom( 1 );
|
||||
}
|
||||
else // this is probably a background graphic or something not intended to be a CroppedSprite
|
||||
@@ -102,8 +101,7 @@ void CroppedSprite::CropToSize( float fWidth, float fHeight )
|
||||
1 - fPercentageToCutOffEachSide );
|
||||
SetCustomImageRect( fCustomImageCoords );
|
||||
}
|
||||
SetWidth( m_fCropWidth );
|
||||
SetHeight( m_fCropHeight );
|
||||
m_size = D3DXVECTOR2( m_fCropWidth, m_fCropHeight );
|
||||
SetZoom( 1 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user