aboutsummaryrefslogtreecommitdiff
path: root/graphics/transparent_surface.h
diff options
context:
space:
mode:
authorEugene Sandulenko2019-01-01 13:24:54 +0100
committerEugene Sandulenko2019-11-13 22:07:08 +0100
commitc450854165a9c26d6ab982b09e23ac6d53496599 (patch)
tree2e09f07d95ebd834476e5fb768834755aa8cf1da /graphics/transparent_surface.h
parent7ade9001c5587e1fce1e2737f06cb279bcef88d8 (diff)
downloadscummvm-rg350-c450854165a9c26d6ab982b09e23ac6d53496599.tar.gz
scummvm-rg350-c450854165a9c26d6ab982b09e23ac6d53496599.tar.bz2
scummvm-rg350-c450854165a9c26d6ab982b09e23ac6d53496599.zip
GRAPHICS: Added setAlpha() method to TransparentSurface
Diffstat (limited to 'graphics/transparent_surface.h')
-rw-r--r--graphics/transparent_surface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/transparent_surface.h b/graphics/transparent_surface.h
index 22fe04551e..0738c90f90 100644
--- a/graphics/transparent_surface.h
+++ b/graphics/transparent_surface.h
@@ -137,6 +137,7 @@ struct TransparentSurface : public Graphics::Surface {
TSpriteBlendMode blend = BLEND_NORMAL);
void applyColorKey(uint8 r, uint8 g, uint8 b, bool overwriteAlpha = false);
+ void setAlpha(uint8 alpha);
/**
* @brief Scale function; this returns a transformed version of this surface after rotation and