diff options
author | Max Horn | 2003-05-10 21:49:59 +0000 |
---|---|---|
committer | Max Horn | 2003-05-10 21:49:59 +0000 |
commit | acb35fc915284cb3b194ba8864eb24e39fff992e (patch) | |
tree | dfc1dd77fcda48c14ee8ea0e898cdbd023a14344 /scumm/dialogs.cpp | |
parent | e5fe73726a554d312f30682508d2474c8734b0ef (diff) | |
download | scummvm-rg350-acb35fc915284cb3b194ba8864eb24e39fff992e.tar.gz scummvm-rg350-acb35fc915284cb3b194ba8864eb24e39fff992e.tar.bz2 scummvm-rg350-acb35fc915284cb3b194ba8864eb24e39fff992e.zip |
renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and _realWidth/_realHeight -> _screenWidth/_screenHeight (inspired by MadMoose, but I'll take the blame - still this seems much more logical & intuitive)
svn-id: r7423
Diffstat (limited to 'scumm/dialogs.cpp')
-rw-r--r-- | scumm/dialogs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp index 9544330f9f..ef6548839d 100644 --- a/scumm/dialogs.cpp +++ b/scumm/dialogs.cpp @@ -655,7 +655,7 @@ InfoDialog::InfoDialog(NewGui *gui, Scumm *scumm, const String& message) void InfoDialog::setInfoText(const String& message) { int width = _gui->getStringWidth(message.c_str()) + 16; - _x = (_scumm->_realWidth - width) >> 1; + _x = (_scumm->_screenWidth - width) >> 1; _w = width; new StaticTextWidget(this, 4, 4, _w-8, _h, message, kTextAlignCenter); |