#include <guiHyperText.h>
◆ GUIHyperText()
GUIHyperText::GUIHyperText |
( |
const wchar_t * | text, |
|
|
gui::IGUIEnvironment * | environment, |
|
|
gui::IGUIElement * | parent, |
|
|
s32 | id, |
|
|
const core::rect< s32 > & | rectangle, |
|
|
Client * | client, |
|
|
ISimpleTextureSource * | tsrc ) |
◆ ~GUIHyperText()
GUIHyperText::~GUIHyperText |
( |
| ) |
|
|
virtual |
◆ checkHover()
void GUIHyperText::checkHover |
( |
s32 | X, |
|
|
s32 | Y ) |
|
protected |
◆ draw()
void GUIHyperText::draw |
( |
| ) |
|
|
virtual |
draws the element and its children
References TextDrawer::draw(), TextDrawer::getHeight(), m_display_text_rect, m_drawer, m_scrollbar_width, m_text_scrollpos, m_vscrollbar, TextDrawer::place(), GUIScrollBar::setLargeStep(), GUIScrollBar::setMax(), GUIScrollBar::setPageSize(), GUIScrollBar::setPos(), and GUIScrollBar::setSmallStep().
◆ getElementAt()
◆ getTextDimension()
core::dimension2du GUIHyperText::getTextDimension |
( |
| ) |
|
◆ OnEvent()
bool GUIHyperText::OnEvent |
( |
const SEvent & | event | ) |
|
References checkHover(), TextDrawer::draw(), g_gamecallback, RenderingEngine::get_raw_device(), getElementAt(), GUIScrollBar::getPos(), GUIScrollBar::getSmallStep(), GUIScrollBar::getTargetPos(), m_display_text_rect, m_drawer, TextDrawer::m_hovertag, m_text_scrollpos, m_vscrollbar, porting::open_url(), GUIScrollBar::setPosInterpolated(), MainGameCallback::showOpenURLDialog(), and ParsedText::Element::tags.
◆ m_display_text_rect
core::rect<s32> GUIHyperText::m_display_text_rect |
|
protected |
◆ m_drawer
◆ m_scrollbar_width
u32 GUIHyperText::m_scrollbar_width |
|
protected |
◆ m_text_scrollpos
core::position2d<s32> GUIHyperText::m_text_scrollpos |
|
protected |
◆ m_tsrc
◆ m_vscrollbar
The documentation for this class was generated from the following files: