forked from Mirrorlandia_minetest/minetest
Forget to fix non freetype build in StaticText
This commit is contained in:
parent
62872dabac
commit
6f2fe8a554
@ -239,7 +239,15 @@ inline void setStaticText(irr::gui::IGUIStaticText *static_text, const EnrichedS
|
|||||||
|
|
||||||
#else // USE_FREETYPE
|
#else // USE_FREETYPE
|
||||||
|
|
||||||
inline irr::gui::IGUIStaticText *addStaticText(
|
namespace irr
|
||||||
|
{
|
||||||
|
namespace gui
|
||||||
|
{
|
||||||
|
|
||||||
|
class StaticText
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
static irr::gui::IGUIStaticText *add(
|
||||||
irr::gui::IGUIEnvironment *guienv,
|
irr::gui::IGUIEnvironment *guienv,
|
||||||
const EnrichedString &text,
|
const EnrichedString &text,
|
||||||
const core::rect< s32 > &rectangle,
|
const core::rect< s32 > &rectangle,
|
||||||
@ -251,6 +259,11 @@ inline irr::gui::IGUIStaticText *addStaticText(
|
|||||||
{
|
{
|
||||||
return guienv->addStaticText(text.c_str(), rectangle, border, wordWrap, parent, id, fillBackground);
|
return guienv->addStaticText(text.c_str(), rectangle, border, wordWrap, parent, id, fillBackground);
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
} // end namespace gui
|
||||||
|
|
||||||
|
} // end namespace irr
|
||||||
|
|
||||||
inline void setStaticText(irr::gui::IGUIStaticText *static_text, const EnrichedString &text)
|
inline void setStaticText(irr::gui::IGUIStaticText *static_text, const EnrichedString &text)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user