summaryrefslogtreecommitdiff
path: root/src/cguittfont/CGUITTFont.h
diff options
context:
space:
mode:
authorIlya Zhuravlev <zhuravlevilya@ya.ru>2013-12-12 21:47:54 +0400
committerIlya Zhuravlev <zhuravlevilya@ya.ru>2013-12-12 21:47:54 +0400
commit76036abdb0d9cb2c971e5a69331c77872d38c56f (patch)
treee392c4035012806844c8565456281c1c7d7a11d1 /src/cguittfont/CGUITTFont.h
parent4ccaa6d0af852d0aada01f341a61290a3760cffa (diff)
downloadminetest-76036abdb0d9cb2c971e5a69331c77872d38c56f.tar.gz
minetest-76036abdb0d9cb2c971e5a69331c77872d38c56f.tar.bz2
minetest-76036abdb0d9cb2c971e5a69331c77872d38c56f.zip
Add configurable 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 12e25e0f3..a58873da6 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);
+ 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(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);
@@ -369,6 +369,7 @@ namespace gui
s32 GlobalKerningWidth;
s32 GlobalKerningHeight;
core::ustring Invisible;
+ u32 shadow_offset;
};
} // end namespace gui