mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Add alpha setting to font shadow
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user