diff options
author | Vicent Marti | 2008-08-10 22:03:00 +0000 |
---|---|---|
committer | Vicent Marti | 2008-08-10 22:03:00 +0000 |
commit | a4b3434af91bcb7ea272c7e214e249c0f6823126 (patch) | |
tree | 1389ce416ea5d3328ccf43cd9a8cf6bee735e7e8 /graphics | |
parent | 52f3551587aad266a794e69416a9662023e55e0f (diff) | |
download | scummvm-rg350-a4b3434af91bcb7ea272c7e214e249c0f6823126.tar.gz scummvm-rg350-a4b3434af91bcb7ea272c7e214e249c0f6823126.tar.bz2 scummvm-rg350-a4b3434af91bcb7ea272c7e214e249c0f6823126.zip |
Bugfix: Selection background too short when scrollbar not present.
Bugfix: Vector renderer drawstep for bitmap blitting.
Added bitmap GFX for checkboxes.
svn-id: r33771
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/VectorRenderer.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/graphics/VectorRenderer.h b/graphics/VectorRenderer.h index 13ba9ff480..34c9c2c8a5 100644 --- a/graphics/VectorRenderer.h +++ b/graphics/VectorRenderer.h @@ -417,7 +417,7 @@ public: void drawCallback_BITMAP(const Common::Rect &area, const DrawStep &step) { uint16 x, y, w, h; stepGetPositions(step, area, x, y, w, h); - blitAlphaBitmap(step.blitSrc, Common::Rect(x, y, w, h)); + blitAlphaBitmap(step.blitSrc, Common::Rect(x, y, x + w, y + h)); } void drawCallback_VOID(const Common::Rect &area, const DrawStep &step) {} @@ -720,8 +720,6 @@ public: } virtual void blitAlphaBitmap(const Graphics::Surface *source, const Common::Rect &r) { - assert(r.width() >= source->w && r.height() >= source->h); - int16 x = r.left; int16 y = r.top; |