diff options
author | Einar Johan Trøan Sømåen | 2013-09-30 11:12:25 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-09-30 11:12:25 +0200 |
commit | 5afb297e396fa3ad40559e552008741c6cd6ba66 (patch) | |
tree | f93699e55a7373dc14f7699cd5cd219881d80216 /engines/wintermute/graphics | |
parent | f7a9e921aee9371a9defe5acaf4a685ada76fcfb (diff) | |
download | scummvm-rg350-5afb297e396fa3ad40559e552008741c6cd6ba66.tar.gz scummvm-rg350-5afb297e396fa3ad40559e552008741c6cd6ba66.tar.bz2 scummvm-rg350-5afb297e396fa3ad40559e552008741c6cd6ba66.zip |
WINTERMUTE: Constify some getters in TransparentSurface, UIObject and UIWindow
Diffstat (limited to 'engines/wintermute/graphics')
-rw-r--r-- | engines/wintermute/graphics/transparent_surface.cpp | 2 | ||||
-rw-r--r-- | engines/wintermute/graphics/transparent_surface.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/graphics/transparent_surface.cpp b/engines/wintermute/graphics/transparent_surface.cpp index 200cffb237..ca6f29791a 100644 --- a/engines/wintermute/graphics/transparent_surface.cpp +++ b/engines/wintermute/graphics/transparent_surface.cpp @@ -612,7 +612,7 @@ void TransparentSurface::applyColorKey(uint8 rKey, uint8 gKey, uint8 bKey, bool } } -TransparentSurface::AlphaType TransparentSurface::getAlphaMode() { +TransparentSurface::AlphaType TransparentSurface::getAlphaMode() const { return _alphaMode; } diff --git a/engines/wintermute/graphics/transparent_surface.h b/engines/wintermute/graphics/transparent_surface.h index fe5dc08fc0..5a9c16d73f 100644 --- a/engines/wintermute/graphics/transparent_surface.h +++ b/engines/wintermute/graphics/transparent_surface.h @@ -118,7 +118,7 @@ struct TransparentSurface : public Graphics::Surface { TransparentSurface *scale(uint16 newWidth, uint16 newHeight) const; TransparentSurface *rotoscale(const TransformStruct &transform) const; - AlphaType getAlphaMode(); + AlphaType getAlphaMode() const; void setAlphaMode(AlphaType); private: AlphaType _alphaMode; |