diff options
author | Johannes Schickel | 2006-04-13 22:47:22 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-04-13 22:47:22 +0000 |
commit | 1444a1ab9f82c11d1348b85401d5b2bfd830f89f (patch) | |
tree | a49f4856fd6f81e90f4253c0ab3eccdb0ac4685c /gui/theme.h | |
parent | cd9dde81f45a0024574ab70bd6830698d0c8007c (diff) | |
download | scummvm-rg350-1444a1ab9f82c11d1348b85401d5b2bfd830f89f.tar.gz scummvm-rg350-1444a1ab9f82c11d1348b85401d5b2bfd830f89f.tar.bz2 scummvm-rg350-1444a1ab9f82c11d1348b85401d5b2bfd830f89f.zip |
- 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
Diffstat (limited to 'gui/theme.h')
-rw-r--r-- | gui/theme.h | 3 |
1 files changed, 1 insertions, 2 deletions
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); |