[Scummvm-git-logs] scummvm master -> 5aef290165cfc2ee541aa849bc661d512002c8fb
eriktorbjorn
noreply at scummvm.org
Mon Dec 20 10:17:26 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
5aef290165 SHERLOCK: Fix drawing of Rose Tattoo dialog corners
Commit: 5aef290165cfc2ee541aa849bc661d512002c8fb
https://github.com/scummvm/scummvm/commit/5aef290165cfc2ee541aa849bc661d512002c8fb
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-12-20T11:15:34+01:00
Commit Message:
SHERLOCK: Fix drawing of Rose Tattoo dialog corners
The corners are drawn correct, we just want to ensure that the same
screen area is cleared or tindted before drawing the dialog, whether the
dialog is transparent or not. Otherwise, the corners will be tinted too,
instead of fully transparent.
Changed paths:
engines/sherlock/tattoo/widget_base.cpp
diff --git a/engines/sherlock/tattoo/widget_base.cpp b/engines/sherlock/tattoo/widget_base.cpp
index 6af27de997..8a548d101c 100644
--- a/engines/sherlock/tattoo/widget_base.cpp
+++ b/engines/sherlock/tattoo/widget_base.cpp
@@ -125,11 +125,11 @@ void WidgetBase::drawBackground() {
TattooUserInterface &ui = *(TattooUserInterface *)_vm->_ui;
Common::Rect bounds = _bounds;
+ bounds.grow(-3);
if (vm._transparentMenus) {
ui.makeBGArea(bounds);
} else {
- bounds.grow(-3);
screen._backBuffer1.fillRect(bounds, MENU_BACKGROUND);
}
}
More information about the Scummvm-git-logs
mailing list