From 1444a1ab9f82c11d1348b85401d5b2bfd830f89f Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 13 Apr 2006 22:47:22 +0000 Subject: - No longer draws full shadows for disabled widgets - Implements 'negativ alpha' values for drawSurfaceMasked (from -1 to -100, used to dim the pixels -1 means very very small dim -100 should be black) - Changes drawSurfaceMasked to use macros for easy changing drawing code svn-id: r21852 --- gui/theme.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gui/theme.h') diff --git a/gui/theme.h b/gui/theme.h index ab90835c35..9c3bcf95d4 100644 --- a/gui/theme.h +++ b/gui/theme.h @@ -326,8 +326,7 @@ private: Common::Rect shadowRect(const Common::Rect &r, uint32 shadowStyle); void drawShadow(const Common::Rect &r, const Graphics::Surface *corner, const Graphics::Surface *top, - const Graphics::Surface *left, const Graphics::Surface *fill, uint32 shadowStyle, bool full, - bool skipLastRow = false); + const Graphics::Surface *left, const Graphics::Surface *fill, uint32 shadowStyle, bool skipLastRow = false); void drawShadowRect(const Common::Rect &r, const Common::Rect &area, const Graphics::Surface *corner, const Graphics::Surface *top, const Graphics::Surface *left, const Graphics::Surface *fill, int alpha, bool skipLastRow = false); -- cgit v1.2.3