aboutsummaryrefslogtreecommitdiff
path: root/graphics/transparent_surface.h
diff options
context:
space:
mode:
authorEugene Sandulenko2019-01-01 23:06:35 +0100
committerEugene Sandulenko2019-11-13 22:07:08 +0100
commitb45cadb0654ce47dea0d24046110820b9ce8ae99 (patch)
treea75f34f617365c81abd3cf690a387ea63eba739f /graphics/transparent_surface.h
parent8259a8aa333bb226339aa0defb2db59e7412de2d (diff)
downloadscummvm-rg350-b45cadb0654ce47dea0d24046110820b9ce8ae99.tar.gz
scummvm-rg350-b45cadb0654ce47dea0d24046110820b9ce8ae99.tar.bz2
scummvm-rg350-b45cadb0654ce47dea0d24046110820b9ce8ae99.zip
GRAPHICS: Enhanced setAlpha method
Diffstat (limited to 'graphics/transparent_surface.h')
-rw-r--r--graphics/transparent_surface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/transparent_surface.h b/graphics/transparent_surface.h
index 0738c90f90..8f4493679b 100644
--- a/graphics/transparent_surface.h
+++ b/graphics/transparent_surface.h
@@ -137,7 +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);
+ void setAlpha(uint8 alpha, bool skipTransparent = false);
/**
* @brief Scale function; this returns a transformed version of this surface after rotation and