#include <guiHyperText.h>
|
| | GUIHyperText (const wchar_t *text, gui::IGUIEnvironment *environment, gui::IGUIElement *parent, s32 id, const core::rect< s32 > &rectangle, Client *client, ISimpleTextureSource *tsrc, video::SColor default_background_color, video::SColor default_color, bool is_hypertip=false) |
| | constructor
|
| virtual | ~GUIHyperText () |
| | destructor
|
| virtual void | draw () |
| | draws the element and its children
|
| s32 | getTextHeight () |
| | Returns the height of the text in pixels when it is drawn.
|
| bool | OnEvent (const SEvent &event) |
| void | setStyles (const std::array< StyleSpec, StyleSpec::NUM_STATES > &styles) |
◆ GUIHyperText()
| GUIHyperText::GUIHyperText |
( |
const wchar_t * | text, |
|
|
gui::IGUIEnvironment * | environment, |
|
|
gui::IGUIElement * | parent, |
|
|
s32 | id, |
|
|
const core::rect< s32 > & | rectangle, |
|
|
Client * | client, |
|
|
ISimpleTextureSource * | tsrc, |
|
|
video::SColor | default_background_color, |
|
|
video::SColor | default_color, |
|
|
bool | is_hypertip = false ) |
◆ ~GUIHyperText()
| GUIHyperText::~GUIHyperText |
( |
| ) |
|
|
virtual |
◆ checkHover()
| void GUIHyperText::checkHover |
( |
s32 | X, |
|
|
s32 | Y ) |
|
protected |
◆ draw()
| void GUIHyperText::draw |
( |
| ) |
|
|
virtual |
◆ getElementAt()
◆ getTextHeight()
| s32 GUIHyperText::getTextHeight |
( |
| ) |
|
|
inline |
◆ OnEvent()
| bool GUIHyperText::OnEvent |
( |
const SEvent & | event | ) |
|
◆ setStyles()
◆ m_default_background_color
| video::SColor GUIHyperText::m_default_background_color |
|
protected |
◆ m_default_color
| video::SColor GUIHyperText::m_default_color |
|
protected |
◆ m_display_text_rect
| core::rect<s32> GUIHyperText::m_display_text_rect |
|
protected |
◆ m_draw_state
| int GUIHyperText::m_draw_state = 0 |
|
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: