From 5afb297e396fa3ad40559e552008741c6cd6ba66 Mon Sep 17 00:00:00 2001 From: Einar Johan Trøan Sømåen Date: Mon, 30 Sep 2013 11:12:25 +0200 Subject: WINTERMUTE: Constify some getters in TransparentSurface, UIObject and UIWindow --- engines/wintermute/graphics/transparent_surface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/wintermute/graphics/transparent_surface.h') 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; -- cgit v1.2.3