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/theme.h | |
parent | 4a93a8cee81a1e49e17fb51f4e0c9ec51899ddea (diff) | |
download | mv-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/theme.h')
-rw-r--r-- | src/gui/theme.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/theme.h b/src/gui/theme.h index 38e3b7024..3a56cfcfb 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -53,7 +53,8 @@ struct ThemeInfo final secureFont(), japanFont(), fontSize(0), - npcfontSize(0) + npcfontSize(0), + guiAlpha(0.0f) { } std::string name; @@ -66,6 +67,7 @@ struct ThemeInfo final std::string japanFont; int fontSize; int npcfontSize; + float guiAlpha; }; class Skin final |