GRAPHICS: Added a hasTransparentColor method to ManagedSurface

This commit is contained in:
Paul Gilbert 2020-03-24 21:14:46 -07:00 committed by Paul Gilbert
parent c07e74d5e6
commit 9214ecb1d7

View File

@ -499,6 +499,13 @@ public:
_transparentColorSet = false;
}
/**
* Returns true if a transparent color has been set
*/
bool hasTransparentColor() const {
return _transparentColorSet;
}
/**
* Clear any existing palette
*/