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