aboutsummaryrefslogtreecommitdiff
path: root/src/defaultsettings.cpp
diff options
context:
space:
mode:
authorBlockMen <nmuelll@web.de>2013-12-12 21:02:09 +0100
committerPilzAdam <pilzadam@minetest.net>2013-12-14 21:11:38 +0100
commit977232261388fa80bd6ab3bb849ae4d7a8ade73e (patch)
treeb857e64f9181ef2f713fce992e3aaf04e9577284 /src/defaultsettings.cpp
parent7a4c1e7327a19820ec1e943d031c0e6e057e0156 (diff)
downloadminetest-977232261388fa80bd6ab3bb849ae4d7a8ade73e.tar.gz
minetest-977232261388fa80bd6ab3bb849ae4d7a8ade73e.tar.bz2
minetest-977232261388fa80bd6ab3bb849ae4d7a8ade73e.zip
Add alpha setting to font shadow
Diffstat (limited to 'src/defaultsettings.cpp')
-rw-r--r--src/defaultsettings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index a217fda40..e93c1d4c8 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -155,11 +155,13 @@ void set_default_settings(Settings *settings)
settings->setDefault("font_path", porting::getDataPath("fonts" DIR_DELIM "liberationsans.ttf"));
settings->setDefault("font_size", "13");
settings->setDefault("font_shadow", "1");
+ settings->setDefault("font_shadow_alpha", "128");
settings->setDefault("mono_font_path", porting::getDataPath("fonts" DIR_DELIM "liberationmono.ttf"));
settings->setDefault("mono_font_size", "13");
settings->setDefault("fallback_font_path", porting::getDataPath("fonts" DIR_DELIM "DroidSansFallbackFull.ttf"));
settings->setDefault("fallback_font_size", "13");
settings->setDefault("fallback_font_shadow", "1");
+ settings->setDefault("fallback_font_shadow_alpha", "128");
#else
settings->setDefault("freetype", "false");
settings->setDefault("font_path", porting::getDataPath("fonts" DIR_DELIM "fontlucida.png"));