diff options
author | Bastien Bouclet | 2019-12-28 10:43:58 +0100 |
---|---|---|
committer | Bastien Bouclet | 2020-01-04 10:56:25 +0100 |
commit | eb28c5a09288e563011b11eafea1c772a7127e7f (patch) | |
tree | 0fc961ac83a19357d6941f93a1e2106e1c4f2b93 /gui/widget.cpp | |
parent | 346d53b0342d8a1d543887560a28cc45f211d9ad (diff) | |
download | scummvm-rg350-eb28c5a09288e563011b11eafea1c772a7127e7f.tar.gz scummvm-rg350-eb28c5a09288e563011b11eafea1c772a7127e7f.tar.bz2 scummvm-rg350-eb28c5a09288e563011b11eafea1c772a7127e7f.zip |
GUI: Use a dialog theme layout for the unknown game dialog
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 17098df6ea..1a81d8fba1 100644 --- a/gui/widget.cpp +++ b/gui/widget.cpp @@ -115,7 +115,7 @@ void Widget::draw() { // Draw border if (_flags & WIDGET_BORDER) { - g_gui.theme()->drawWidgetBackground(Common::Rect(_x, _y, _x + _w, _y + _h), 0, + g_gui.theme()->drawWidgetBackground(Common::Rect(_x, _y, _x + _w, _y + _h), ThemeEngine::kWidgetBackgroundBorder); _x += 4; _y += 4; @@ -900,7 +900,7 @@ void ContainerWidget::setBackgroundType(ThemeEngine::WidgetBackground background } void ContainerWidget::drawWidget() { - g_gui.theme()->drawWidgetBackground(Common::Rect(_x, _y, _x + _w, _y + _h), 0, _backgroundType); + g_gui.theme()->drawWidgetBackground(Common::Rect(_x, _y, _x + _w, _y + _h), _backgroundType); } } // End of namespace GUI |