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/theme.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/theme.h') 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 -- cgit v1.2.3-60-g2f50