From 76036abdb0d9cb2c971e5a69331c77872d38c56f Mon Sep 17 00:00:00 2001 From: Ilya Zhuravlev Date: Thu, 12 Dec 2013 21:47:54 +0400 Subject: Add configurable 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 d5a121e79..57c2f06a5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1481,7 +1481,8 @@ int main(int argc, char *argv[]) fallback = "fallback_"; u16 font_size = g_settings->getU16(fallback + "font_size"); font_path = g_settings->get(fallback + "font_path"); - font = gui::CGUITTFont::createTTFont(guienv, font_path.c_str(), font_size); + u32 font_shadow = g_settings->getU16(fallback + "font_shadow"); + font = gui::CGUITTFont::createTTFont(guienv, font_path.c_str(), font_size, true, true, font_shadow); } else { font = guienv->getFont(font_path.c_str()); } -- cgit v1.2.3