mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 09:23:37 +00:00
MACVENTURE: Fix window titles
This commit is contained in:
parent
26c3c4f160
commit
081c3db06b
@ -595,7 +595,7 @@ void Gui::drawCommandsWindow() {
|
||||
srf,
|
||||
_engine->getCommandsPausedString(),
|
||||
0,
|
||||
(srf->h / 2) - getCurrentFont().getFontHeight(),
|
||||
(srf->h - getCurrentFont().getFontHeight()) / 2 - 1,
|
||||
data.bounds.right - data.bounds.left,
|
||||
kColorBlack,
|
||||
Graphics::kTextAlignCenter);
|
||||
|
@ -96,14 +96,14 @@ Graphics::BorderOffsets borderOffsets(MVWindowType type) {
|
||||
case MacVenture::kNoGrowDoc:
|
||||
offsets.titleTop = 2;
|
||||
offsets.titleBottom = 0;
|
||||
offsets.titlePos = 0;
|
||||
offsets.titlePos = 29;
|
||||
break;
|
||||
case MacVenture::kMovableDBox:
|
||||
break;
|
||||
case MacVenture::kZoomDoc:
|
||||
offsets.titleTop = 0;
|
||||
offsets.titleTop = 3;
|
||||
offsets.titleBottom = 0;
|
||||
offsets.titlePos = 0;
|
||||
offsets.titlePos = 25;
|
||||
|
||||
offsets.upperScrollHeight = 20;
|
||||
offsets.lowerScrollHeight = 20;
|
||||
@ -114,9 +114,9 @@ Graphics::BorderOffsets borderOffsets(MVWindowType type) {
|
||||
offsets.titlePos = 0;
|
||||
break;
|
||||
case MacVenture::kInvWindow:
|
||||
offsets.titleTop = 0;
|
||||
offsets.titleTop = 3;
|
||||
offsets.titleBottom = 0;
|
||||
offsets.titlePos = 0;
|
||||
offsets.titlePos = 36;
|
||||
|
||||
offsets.upperScrollHeight = 20;
|
||||
offsets.lowerScrollHeight = 20;
|
||||
@ -124,7 +124,7 @@ Graphics::BorderOffsets borderOffsets(MVWindowType type) {
|
||||
case MacVenture::kRDoc4:
|
||||
offsets.titleTop = 2;
|
||||
offsets.titleBottom = 0;
|
||||
offsets.titlePos = 0;
|
||||
offsets.titlePos = 22;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user