summaryrefslogtreecommitdiff
path: root/src/gui/theme.h
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/theme.h
parent4a93a8cee81a1e49e17fb51f4e0c9ec51899ddea (diff)
downloadmanaverse-593dcda16950ae79ebe97de6a3b49cf7bb5e95f7.tar.gz
manaverse-593dcda16950ae79ebe97de6a3b49cf7bb5e95f7.tar.bz2
manaverse-593dcda16950ae79ebe97de6a3b49cf7bb5e95f7.tar.xz
manaverse-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.h4
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