diff options
author | Einar Johan Trøan Sømåen | 2013-04-17 19:34:09 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-04-17 19:42:05 +0200 |
commit | cbae39ab8773908fd5945c4f93468148fb5d76ea (patch) | |
tree | 941cb71eaa41412ca2034729dbaa44ab1ced4c2e /engines/wintermute/ui | |
parent | 75443da53f053365e18f2e66f7a10ce0d3c66707 (diff) | |
download | scummvm-rg350-cbae39ab8773908fd5945c4f93468148fb5d76ea.tar.gz scummvm-rg350-cbae39ab8773908fd5945c4f93468148fb5d76ea.tar.bz2 scummvm-rg350-cbae39ab8773908fd5945c4f93468148fb5d76ea.zip |
WINTERMUTE: Move settings from BaseGame to separate struct.
Diffstat (limited to 'engines/wintermute/ui')
-rw-r--r-- | engines/wintermute/ui/ui_button.cpp | 2 | ||||
-rw-r--r-- | engines/wintermute/ui/ui_edit.cpp | 2 | ||||
-rw-r--r-- | engines/wintermute/ui/ui_text.cpp | 2 | ||||
-rw-r--r-- | engines/wintermute/ui/ui_window.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/engines/wintermute/ui/ui_button.cpp b/engines/wintermute/ui/ui_button.cpp index 6ee577f009..b638522f6e 100644 --- a/engines/wintermute/ui/ui_button.cpp +++ b/engines/wintermute/ui/ui_button.cpp @@ -382,7 +382,7 @@ bool UIButton::loadBuffer(byte *buffer, bool complete) { case TOKEN_TEXT: setText((char *)params); - _gameRef->_stringTable->expand(&_text); + _gameRef->expandStringByStringTable(&_text); break; case TOKEN_TEXT_ALIGN: diff --git a/engines/wintermute/ui/ui_edit.cpp b/engines/wintermute/ui/ui_edit.cpp index 0a2e6f13bc..7fddf59898 100644 --- a/engines/wintermute/ui/ui_edit.cpp +++ b/engines/wintermute/ui/ui_edit.cpp @@ -231,7 +231,7 @@ bool UIEdit::loadBuffer(byte *buffer, bool complete) { case TOKEN_TEXT: setText((char *)params); - _gameRef->_stringTable->expand(&_text); + _gameRef->expandStringByStringTable(&_text); break; case TOKEN_X: diff --git a/engines/wintermute/ui/ui_text.cpp b/engines/wintermute/ui/ui_text.cpp index 3b5adf07b7..98d70b770e 100644 --- a/engines/wintermute/ui/ui_text.cpp +++ b/engines/wintermute/ui/ui_text.cpp @@ -230,7 +230,7 @@ bool UIText::loadBuffer(byte *buffer, bool complete) { case TOKEN_TEXT: setText((char *)params); - _gameRef->_stringTable->expand(&_text); + _gameRef->expandStringByStringTable(&_text); break; case TOKEN_TEXT_ALIGN: diff --git a/engines/wintermute/ui/ui_window.cpp b/engines/wintermute/ui/ui_window.cpp index 39bc1bdcfe..3089c79d31 100644 --- a/engines/wintermute/ui/ui_window.cpp +++ b/engines/wintermute/ui/ui_window.cpp @@ -431,7 +431,7 @@ bool UIWindow::loadBuffer(byte *buffer, bool complete) { case TOKEN_TITLE: setText((char *)params); - _gameRef->_stringTable->expand(&_text); + _gameRef->expandStringByStringTable(&_text); break; case TOKEN_TITLE_ALIGN: |