diff options
author | Alexander Tkachev | 2016-06-21 14:36:21 +0600 |
---|---|---|
committer | Eugene Sandulenko | 2016-07-03 12:10:56 +0200 |
commit | 49caaf77a1aa5f2668a1b21cc2722fb536558929 (patch) | |
tree | 4f78eedb6248a9fa406c437468005b10eb7a5d4e /gui/widget.cpp | |
parent | 08727857bcea96a5963db4913cc081ed65341678 (diff) | |
download | scummvm-rg350-49caaf77a1aa5f2668a1b21cc2722fb536558929.tar.gz scummvm-rg350-49caaf77a1aa5f2668a1b21cc2722fb536558929.tar.bz2 scummvm-rg350-49caaf77a1aa5f2668a1b21cc2722fb536558929.zip |
GUI: Add ScrollContainer
Diffstat (limited to 'gui/widget.cpp')
-rw-r--r-- | gui/widget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp index 2e07fa9aea..cc97988352 100644 --- a/gui/widget.cpp +++ b/gui/widget.cpp @@ -280,8 +280,8 @@ void StaticTextWidget::setAlign(Graphics::TextAlign align) { void StaticTextWidget::drawWidget() { - int px = _boss->getChildX(); - int py = _boss->getChildY(); + int px = _boss->getAbsX(); + int py = _boss->getAbsY(); g_gui.theme()->drawTextClip( Common::Rect(_x, _y, _x+_w, _y+_h), Common::Rect(px, py, px + _boss->getWidth(), py + _boss->getHeight()), |