diff options
author | Alexander Tkachev | 2016-07-01 13:46:35 +0600 |
---|---|---|
committer | Eugene Sandulenko | 2016-07-03 12:24:28 +0200 |
commit | dc9b32e62086151c0bac011e6bc4a5d94d8907a3 (patch) | |
tree | 7447706088334c5f018c00bcb1e5cce8c0b82ae0 /gui | |
parent | 6fd6043391d7faef569612797fb1c181c45a91dc (diff) | |
download | scummvm-rg350-dc9b32e62086151c0bac011e6bc4a5d94d8907a3.tar.gz scummvm-rg350-dc9b32e62086151c0bac011e6bc4a5d94d8907a3.tar.bz2 scummvm-rg350-dc9b32e62086151c0bac011e6bc4a5d94d8907a3.zip |
GUI: Fix PopUpDialog
Diffstat (limited to 'gui')
-rw-r--r-- | gui/widgets/popup.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/widgets/popup.cpp b/gui/widgets/popup.cpp index e157f29202..789064e8fd 100644 --- a/gui/widgets/popup.cpp +++ b/gui/widgets/popup.cpp @@ -150,7 +150,7 @@ PopUpDialog::PopUpDialog(PopUpWidget *boss, int clickX, int clickY) void PopUpDialog::drawDialog() { // Draw the menu border - g_gui.theme()->drawWidgetBackgroundClip(Common::Rect(_x, _y, _x+_w, _y+_h), _popUpBoss->getBossClipRect(), 0); + g_gui.theme()->drawWidgetBackground(Common::Rect(_x, _y, _x+_w, _y+_h), 0); /*if (_twoColumns) g_gui.vLine(_x + _w / 2, _y, _y + _h - 2, g_gui._color);*/ @@ -364,8 +364,8 @@ void PopUpDialog::drawMenuEntry(int entry, bool hilite) { // Draw a separator g_gui.theme()->drawLineSeparator(Common::Rect(x, y, x+w, y+kLineHeight)); } else { - g_gui.theme()->drawTextClip( - Common::Rect(x+1, y+2, x+w, y+2+kLineHeight), _popUpBoss->getBossClipRect(), + g_gui.theme()->drawText( + Common::Rect(x+1, y+2, x+w, y+2+kLineHeight), name, hilite ? ThemeEngine::kStateHighlight : ThemeEngine::kStateEnabled, Graphics::kTextAlignLeft, ThemeEngine::kTextInversionNone, _leftPadding ); |