From 72416a6a1f75d56abfad0f486e57fd32579b3604 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Rollo Date: Tue, 10 Sep 2019 15:11:26 +0200 Subject: Formspec: add hypertext element --- src/irrlicht_changes/CGUITTFont.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/irrlicht_changes') 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; -- cgit v1.2.3