diff options
author | Tobia Tesan | 2013-09-20 13:42:53 +0200 |
---|---|---|
committer | Tobia Tesan | 2013-09-21 23:22:16 +0200 |
commit | 2e457d96e8095020bce006fd633382bde6c6ae26 (patch) | |
tree | 6a0355bd732100682b25caeb6cbe493edba1a848 /engines/wintermute/ad/ad_inventory_box.cpp | |
parent | b033850e8a07595dee479a37d50e87a828be356c (diff) | |
download | scummvm-rg350-2e457d96e8095020bce006fd633382bde6c6ae26.tar.gz scummvm-rg350-2e457d96e8095020bce006fd633382bde6c6ae26.tar.bz2 scummvm-rg350-2e457d96e8095020bce006fd633382bde6c6ae26.zip |
WINTERMUTE: Make some members of UIObject private
Diffstat (limited to 'engines/wintermute/ad/ad_inventory_box.cpp')
-rw-r--r-- | engines/wintermute/ad/ad_inventory_box.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/ad/ad_inventory_box.cpp b/engines/wintermute/ad/ad_inventory_box.cpp index d703de1714..681d7311b7 100644 --- a/engines/wintermute/ad/ad_inventory_box.cpp +++ b/engines/wintermute/ad/ad_inventory_box.cpp @@ -120,8 +120,8 @@ bool AdInventoryBox::display() { if (_closeButton) { _closeButton->_posX = _closeButton->_posY = 0; - _closeButton->_width = _gameRef->_renderer->getWidth(); - _closeButton->_height = _gameRef->_renderer->getHeight(); + _closeButton->setWidth(_gameRef->_renderer->getWidth()); + _closeButton->setHeight(_gameRef->_renderer->getHeight()); _closeButton->display(); } |