summaryrefslogtreecommitdiff
path: root/src/cguittfont/CGUITTFont.h
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/cguittfont/CGUITTFont.h
parent7a4c1e7327a19820ec1e943d031c0e6e057e0156 (diff)
downloadminetest-977232261388fa80bd6ab3bb849ae4d7a8ade73e.tar.gz
minetest-977232261388fa80bd6ab3bb849ae4d7a8ade73e.tar.bz2
minetest-977232261388fa80bd6ab3bb849ae4d7a8ade73e.zip
Add alpha setting to font shadow
Diffstat (limited to 'src/cguittfont/CGUITTFont.h')
-rw-r--r--src/cguittfont/CGUITTFont.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cguittfont/CGUITTFont.h b/src/cguittfont/CGUITTFont.h
index a58873da6..e24d8f18b 100644
--- a/src/cguittfont/CGUITTFont.h
+++ b/src/cguittfont/CGUITTFont.h
@@ -207,7 +207,7 @@ namespace gui
//! \param antialias set the use_monochrome (opposite to antialias) flag
//! \param transparency set the use_transparency flag
//! \return Returns a pointer to a CGUITTFont. Will return 0 if the font failed to load.
- static CGUITTFont* createTTFont(IGUIEnvironment *env, const io::path& filename, const u32 size, const bool antialias = true, const bool transparency = true, const u32 shadow = 0);
+ static CGUITTFont* createTTFont(IGUIEnvironment *env, const io::path& filename, const u32 size, const bool antialias = true, const bool transparency = true, const u32 shadow = 0, const u32 shadow_alpha = 255);
static CGUITTFont* createTTFont(IrrlichtDevice *device, const io::path& filename, const u32 size, const bool antialias = true, const bool transparency = true);
static CGUITTFont* create(IGUIEnvironment *env, const io::path& filename, const u32 size, const bool antialias = true, const bool transparency = true);
static CGUITTFont* create(IrrlichtDevice *device, const io::path& filename, const u32 size, const bool antialias = true, const bool transparency = true);
@@ -370,6 +370,7 @@ namespace gui
s32 GlobalKerningHeight;
core::ustring Invisible;
u32 shadow_offset;
+ u32 shadow_alpha;
};
} // end namespace gui