diff options
author | Pierre-Yves Rollo <dev@pyrollo.com> | 2019-09-10 15:11:26 +0200 |
---|---|---|
committer | SmallJoker <SmallJoker@users.noreply.github.com> | 2019-11-03 11:45:33 +0100 |
commit | 72416a6a1f75d56abfad0f486e57fd32579b3604 (patch) | |
tree | 2ff2978c1aec4ee6548474b8c65d3c96bab5b05f /src/irrlicht_changes | |
parent | 8697090b3564b508af50d40068a61db280f714a6 (diff) | |
download | minetest-72416a6a1f75d56abfad0f486e57fd32579b3604.tar.gz minetest-72416a6a1f75d56abfad0f486e57fd32579b3604.tar.bz2 minetest-72416a6a1f75d56abfad0f486e57fd32579b3604.zip |
Formspec: add hypertext element
Diffstat (limited to 'src/irrlicht_changes')
-rw-r--r-- | src/irrlicht_changes/CGUITTFont.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/irrlicht_changes/CGUITTFont.h b/src/irrlicht_changes/CGUITTFont.h index 43fc69287..cf64934a2 100644 --- a/src/irrlicht_changes/CGUITTFont.h +++ b/src/irrlicht_changes/CGUITTFont.h @@ -327,6 +327,8 @@ namespace gui (const wchar_t* text, scene::ISceneManager* smgr, scene::ISceneNode* parent = 0, const video::SColor& color = video::SColor(255, 0, 0, 0), bool center = false ); + inline s32 getAscender() const { return font_metrics.ascender; } + protected: bool use_monochrome; bool use_transparency; |