GRAPHICS: MACGUI: Added the callback function for drawing invert pixel for default palette, which is used to draw the scroll bar

This commit is contained in:
ysj1173886760 2021-03-31 20:26:54 +08:00 committed by Eugene Sandulenko
parent aba96cb38f
commit 1afc246a69
3 changed files with 34 additions and 1 deletions

View file

@ -284,7 +284,7 @@ void MacWindow::drawBorder() {
Common::Rect rr(rx1, ry1, rx2, ry2);
MacPlotData pd(g, nullptr, &_wm->getPatterns(), 1, 0, 0, 1, _wm->_colorWhite, true);
Graphics::drawFilledRect(rr, _wm->_colorWhite, _wm->getDrawPixel(), &pd);
Graphics::drawFilledRect(rr, _wm->_colorWhite, _wm->getDrawInvertPixel(), &pd);
}
if (!_title.empty()) {