From 977232261388fa80bd6ab3bb849ae4d7a8ade73e Mon Sep 17 00:00:00 2001 From: BlockMen Date: Thu, 12 Dec 2013 21:02:09 +0100 Subject: Add alpha setting to font shadow --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 480e885c2..8186e26c8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1477,7 +1477,8 @@ int main(int argc, char *argv[]) u16 font_size = g_settings->getU16(fallback + "font_size"); font_path = g_settings->get(fallback + "font_path"); u32 font_shadow = g_settings->getU16(fallback + "font_shadow"); - font = gui::CGUITTFont::createTTFont(guienv, font_path.c_str(), font_size, true, true, font_shadow); + u32 font_shadow_alpha = g_settings->getU16(fallback + "font_shadow_alpha"); + font = gui::CGUITTFont::createTTFont(guienv, font_path.c_str(), font_size, true, true, font_shadow, font_shadow_alpha); } else { font = guienv->getFont(font_path.c_str()); } -- cgit v1.2.3