mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
GRAPHICS: MACGUI: add win95 mode for scrollbar
This commit is contained in:
parent
7c5c66a8c8
commit
855583e2e4
@ -161,7 +161,9 @@ void MacWindowBorder::drawScrollBar(ManagedSurface *g, MacWindowManager *wm) {
|
||||
Graphics::drawFilledRect(rr, wm->_colorWhite, wm->getDrawInvertPixel(), &pd);
|
||||
|
||||
// after drawing, we set the _scrollSize negative, to indicate no more drawing is needed
|
||||
_scrollSize = -1;
|
||||
// if win95 mode is enabled, then we keep on drawing the scrollbar
|
||||
if (!(wm->_mode & kWMModeWin95))
|
||||
_scrollSize = -1;
|
||||
}
|
||||
|
||||
void MacWindowBorder::drawTitle(ManagedSurface *g, MacWindowManager *wm, int titleOffset) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user