#include <guiHyperText.h>
◆ TextDrawer()
◆ draw()
| void TextDrawer::draw |
( |
const core::rect< s32 > & | clip_rect, |
|
|
const core::position2d< s32 > & | dest_offset ) |
References ParsedText::BACKGROUND_COLOR, ItemStack::deSerialize(), drawItemStack(), ParsedText::ELEMENT_IMAGE, ParsedText::ELEMENT_ITEM, ParsedText::ELEMENT_SEPARATOR, ParsedText::ELEMENT_TEXT, g_fontengine, IT_ROT_OTHER, m_client, m_guienv, m_hovertag, m_text, m_tsrc, m_voffset, and p().
◆ getElementAt()
◆ getHeight()
| s32 TextDrawer::getHeight |
( |
| ) |
|
|
inline |
◆ place()
| void TextDrawer::place |
( |
const core::rect< s32 > & | dest_rect | ) |
|
References ParsedText::ELEMENT_IMAGE, ParsedText::ELEMENT_ITEM, ParsedText::ELEMENT_SEPARATOR, ParsedText::ELEMENT_TEXT, ParsedText::FLOAT_LEFT, ParsedText::FLOAT_NONE, ParsedText::FLOAT_RIGHT, ParsedText::HALIGN_CENTER, ParsedText::HALIGN_JUSTIFY, ParsedText::HALIGN_LEFT, ParsedText::HALIGN_RIGHT, m_floating, m_height, m_text, m_voffset, TextDrawer::RectWithMargin::margin, p(), TextDrawer::RectWithMargin::rect, ParsedText::VALIGN_BOTTOM, ParsedText::VALIGN_MIDDLE, ParsedText::VALIGN_TOP, x, and y.
◆ m_client
◆ m_floating
◆ m_guienv
| gui::IGUIEnvironment* TextDrawer::m_guienv |
|
protected |
◆ m_height
◆ m_hovertag
◆ m_text
◆ m_tsrc
◆ m_voffset
| s32 TextDrawer::m_voffset |
|
protected |
The documentation for this class was generated from the following files: