diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-21 00:32:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-21 00:32:40 +0300 |
commit | 593dcda16950ae79ebe97de6a3b49cf7bb5e95f7 (patch) | |
tree | 405e2692f991149f087f4fb25dc1ae167b936c6d /src/gui/setup_theme.cpp | |
parent | 4a93a8cee81a1e49e17fb51f4e0c9ec51899ddea (diff) | |
download | plus-593dcda16950ae79ebe97de6a3b49cf7bb5e95f7.tar.gz plus-593dcda16950ae79ebe97de6a3b49cf7bb5e95f7.tar.bz2 plus-593dcda16950ae79ebe97de6a3b49cf7bb5e95f7.tar.xz plus-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.cpp | 2 |
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); |