Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
ParsedText::Element Struct Reference

#include <guiHyperText.h>

+ Collaboration diagram for ParsedText::Element:

Public Member Functions

void setStyle (StyleList &style)
 

Public Attributes

std::list< Tag * > tags
 
ElementType type
 
core::stringw text = ""
 
core::dimension2d< u32 > dim
 
core::position2d< s32 > pos
 
s32 drawwidth
 
FloatType floating = FLOAT_NONE
 
ValignType valign
 
gui::IGUIFont * font
 
irr::video::SColor color
 
irr::video::SColor hovercolor
 
bool underline
 
s32 baseline = 0
 
std::string name
 
v3s16 angle {0, 0, 0}
 
v3s16 rotation {0, 0, 0}
 
s32 margin = 10
 

Member Function Documentation

◆ setStyle()

void ParsedText::Element::setStyle ( StyleList & style)

References color, FM_Mono, FM_Standard, font, g_fontengine, FontEngine::getFont(), FontEngine::getFontSize(), hovercolor, is_yes(), myround(), parseColorString(), and underline.

Referenced by ParsedText::enterElement().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ angle

v3s16 ParsedText::Element::angle {0, 0, 0}

Referenced by ParsedText::parseTag().

◆ baseline

s32 ParsedText::Element::baseline = 0

◆ color

irr::video::SColor ParsedText::Element::color

Referenced by setStyle().

◆ dim

core::dimension2d<u32> ParsedText::Element::dim

Referenced by ParsedText::parseTag().

◆ drawwidth

s32 ParsedText::Element::drawwidth

◆ floating

FloatType ParsedText::Element::floating = FLOAT_NONE

Referenced by ParsedText::parseTag().

◆ font

gui::IGUIFont* ParsedText::Element::font

Referenced by setStyle().

◆ hovercolor

irr::video::SColor ParsedText::Element::hovercolor

Referenced by setStyle().

◆ margin

s32 ParsedText::Element::margin = 10

◆ name

std::string ParsedText::Element::name

◆ pos

core::position2d<s32> ParsedText::Element::pos

◆ rotation

v3s16 ParsedText::Element::rotation {0, 0, 0}

Referenced by ParsedText::parseTag().

◆ tags

std::list<Tag *> ParsedText::Element::tags

◆ text

core::stringw ParsedText::Element::text = ""

◆ type

ElementType ParsedText::Element::type

◆ underline

bool ParsedText::Element::underline

Referenced by setStyle().

◆ valign

ValignType ParsedText::Element::valign

The documentation for this struct was generated from the following files: