Pre-resize fillparent
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user