Pre-resize fillparent

This commit is contained in:
2018-08-13 22:22:10 -04:00
parent 58fa6f0503
commit 353dc21750
95 changed files with 478 additions and 437 deletions
@@ -70,7 +70,7 @@ const cImage* cImage::NewImage( SDL_Rect& area ) const
return rtn;
}
///Sets
/// Sets
void cImage::setTransparent( const bool transparent /*= true*/ )
{
m_transparent = transparent;
@@ -90,7 +90,7 @@ void cImage::setLevelTrans( const unsigned char translevel /*= 255*/ )
m_transLevel = translevel;
}
///Gets
/// Gets
SDL_Surface* cImage::getSurface() const
{
SDL_Surface* rtn = nullptr;
@@ -187,7 +187,7 @@ const bool cImage::getIsSurface() const
return m_isSurface;
}
//protected:
/// protected:
void cImage::setImage( SDL_Surface* surface )
{
UnloadImage();
@@ -206,8 +206,8 @@ void cImage::setImage( SDL_Texture* texture )
mp_texture = texture;
}
///private
///Functions
/// private
/// Functions
void cImage::TransparentSetup()
{
if (m_transparent == false)