[Scummvm-git-logs] scummvm master -> 49ae002d6b13d97c7a8825a62ff1f8af56150eb8
AndywinXp
noreply at scummvm.org
Fri Dec 1 20:08:11 UTC 2023
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:
49ae002d6b GRAPHICS: MACGUI: Fix green borders in upper right and upper left corners of Mac menu bar
Commit: 49ae002d6b13d97c7a8825a62ff1f8af56150eb8
https://github.com/scummvm/scummvm/commit/49ae002d6b13d97c7a8825a62ff1f8af56150eb8
Author: AndywinXp (andywinxp at gmail.com)
Date: 2023-12-01T21:08:04+01:00
Commit Message:
GRAPHICS: MACGUI: Fix green borders in upper right and upper left corners of Mac menu bar
It probably went unnoticed until now because the menu bar is
mostly used for black and white games, and in those instances
the green color is converted to black.
Tested with Indy3, Loom, The Apartment, Spaceship Warlock,
and several WAGE games.
Changed paths:
graphics/macgui/macmenu.cpp
diff --git a/graphics/macgui/macmenu.cpp b/graphics/macgui/macmenu.cpp
index 0d200125a86..ab5fa3a81be 100644
--- a/graphics/macgui/macmenu.cpp
+++ b/graphics/macgui/macmenu.cpp
@@ -1001,7 +1001,7 @@ bool MacMenu::draw(ManagedSurface *g, bool forceRedraw) {
_contentIsDirty = false;
- _screen.clear(_wm->_colorGreen);
+ _screen.clear(_wm->_colorBlack);
bool shouldUseDesktopArc = !(_wm->_mode & kWMModeWin95) || (_wm->_mode & kWMModeForceMacBorder);
drawFilledRoundRect(&_screen, r, shouldUseDesktopArc ? kDesktopArc : 0, _wm->_colorWhite);
More information about the Scummvm-git-logs
mailing list