diff options
author | Vicent Marti | 2008-08-06 15:06:22 +0000 |
---|---|---|
committer | Vicent Marti | 2008-08-06 15:06:22 +0000 |
commit | 8cb26074bd8d5381d11cae9e9acb2da3df9d5387 (patch) | |
tree | 9f8e0b0c403a608aa3966f9a9ae60a3ed382616d /gui/newgui.cpp | |
parent | 7df651c4d63bbab40d55cafffd464369188bbd07 (diff) | |
download | scummvm-rg350-8cb26074bd8d5381d11cae9e9acb2da3df9d5387.tar.gz scummvm-rg350-8cb26074bd8d5381d11cae9e9acb2da3df9d5387.tar.bz2 scummvm-rg350-8cb26074bd8d5381d11cae9e9acb2da3df9d5387.zip |
Added support for customized background dimming on dialogs.
Bugfix: Popup widgets were dimming the background.
svn-id: r33663
Diffstat (limited to 'gui/newgui.cpp')
-rw-r--r-- | gui/newgui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp index b8c953619c..e45c081e9b 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -214,7 +214,7 @@ void NewGui::redraw() { _theme->updateScreen(); case kRedrawOpenDialog: - _theme->openDialog(true, GUI::Theme::kShadingDim); + _theme->openDialog(true, (Theme::ShadingStyle)xmlEval()->getVar("Dialog." + _dialogStack.top()->_name + ".Shading", 0)); _dialogStack.top()->drawDialog(); _theme->finishBuffering(); break; |