Codebase update: Added transparency control to Image

This commit is contained in:
Kayne Ruse
2013-07-19 14:06:10 +10:00
parent 51a0974d25
commit 65135b4b86
2 changed files with 18 additions and 0 deletions
+3
View File
@@ -54,6 +54,9 @@ public:
Uint16 GetClipH() const { return clip.h; }
bool GetLocal() { return local; }
void SetTransparentColor(Uint8 r, Uint8 g, Uint8 b);
void ClearTransparentColor();
protected:
SDL_Surface* surface = nullptr;
SDL_Rect clip = {0, 0, 0, 0};