From 593dcda16950ae79ebe97de6a3b49cf7bb5e95f7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 21 May 2013 00:32:40 +0300 Subject: Add ability to change gui opacity from theme file. Set opacity for jewelry theme to 1. --- src/gui/setup_theme.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/setup_theme.cpp') diff --git a/src/gui/setup_theme.cpp b/src/gui/setup_theme.cpp index 8002ceff8..f46202eb7 100644 --- a/src/gui/setup_theme.cpp +++ b/src/gui/setup_theme.cpp @@ -500,6 +500,8 @@ void Setup_Theme::apply() if (size >= 0) mNpcFontSizeDropDown->setSelected(size); } + if (mInfo->guiAlpha > 0.01f) + config.setValue("guialpha", mInfo->guiAlpha); } config.setValue("theme", mTheme); config.setValue("lang", mLang); -- cgit v1.2.3-60-g2f50