diff options
author | Tobia Tesan | 2013-09-20 17:52:25 +0200 |
---|---|---|
committer | Tobia Tesan | 2013-09-21 23:22:43 +0200 |
commit | 2a977dec8c180c297c000b3c09b068f76344c313 (patch) | |
tree | be6f2d5e99b7d732bc63b74a27455a95ecde44e7 /engines/wintermute/ad | |
parent | 417bf3db02ec3af8184d3de7d4ed87181342367f (diff) | |
download | scummvm-rg350-2a977dec8c180c297c000b3c09b068f76344c313.tar.gz scummvm-rg350-2a977dec8c180c297c000b3c09b068f76344c313.tar.bz2 scummvm-rg350-2a977dec8c180c297c000b3c09b068f76344c313.zip |
WINTERMUTE: add UIButton::setTextAlign
Diffstat (limited to 'engines/wintermute/ad')
-rw-r--r-- | engines/wintermute/ad/ad_response_box.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/ad/ad_response_box.cpp b/engines/wintermute/ad/ad_response_box.cpp index 8454f213b7..267a207eaa 100644 --- a/engines/wintermute/ad/ad_response_box.cpp +++ b/engines/wintermute/ad/ad_response_box.cpp @@ -171,7 +171,7 @@ bool AdResponseBox::createButtons() { } btn->putFontHover((_fontHover == nullptr) ? _gameRef->getSystemFont() : _fontHover); btn->putFontPress(btn->getFontHover()); - btn->_align = _align; + btn->setTextAlign(_align); if (_gameRef->_touchInterface) { btn->putFontHover(btn->getFont()); |