summaryrefslogtreecommitdiff
path: root/src/gui/setup_theme.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-21 00:32:40 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-21 00:32:40 +0300
commit593dcda16950ae79ebe97de6a3b49cf7bb5e95f7 (patch)
tree405e2692f991149f087f4fb25dc1ae167b936c6d /src/gui/setup_theme.cpp
parent4a93a8cee81a1e49e17fb51f4e0c9ec51899ddea (diff)
downloadmv-593dcda16950ae79ebe97de6a3b49cf7bb5e95f7.tar.gz
mv-593dcda16950ae79ebe97de6a3b49cf7bb5e95f7.tar.bz2
mv-593dcda16950ae79ebe97de6a3b49cf7bb5e95f7.tar.xz
mv-593dcda16950ae79ebe97de6a3b49cf7bb5e95f7.zip
Add ability to change gui opacity from theme file.
Set opacity for jewelry theme to 1.
Diffstat (limited to 'src/gui/setup_theme.cpp')
-rw-r--r--src/gui/setup_theme.cpp2
1 files changed, 2 insertions, 0 deletions
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);