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/ThemeEngine.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/ThemeEngine.cpp')
-rw-r--r-- | gui/ThemeEngine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp index 946864bf47..9f28547e4d 100644 --- a/gui/ThemeEngine.cpp +++ b/gui/ThemeEngine.cpp @@ -1047,7 +1047,7 @@ void ThemeEngine::drawSlider(const Common::Rect &r, int width, WidgetStateInfo s r2.setWidth(MIN((int16)width, r.width())); // r2.top++; r2.bottom--; r2.left++; r2.right--; - drawWidgetBackground(r, 0, kWidgetBackgroundSlider); + drawWidgetBackground(r, kWidgetBackgroundSlider); drawDD(dd, r2); } @@ -1160,7 +1160,7 @@ void ThemeEngine::drawSurface(const Common::Point &p, const Graphics::Surface &s addDirtyRect(dirtyRect); } -void ThemeEngine::drawWidgetBackground(const Common::Rect &r, uint16 hints, WidgetBackground background) { +void ThemeEngine::drawWidgetBackground(const Common::Rect &r, WidgetBackground background) { if (!ready()) return; |