Luanti 5.16.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
video::SColor color
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, hovercolor, is_yes(), myround(), parseColorString(), and underline.

Here is the call graph for this function:

Member Data Documentation

◆ angle

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

◆ baseline

s32 ParsedText::Element::baseline = 0

◆ color

video::SColor ParsedText::Element::color

Referenced by setStyle().

◆ dim

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

◆ drawwidth

s32 ParsedText::Element::drawwidth

◆ floating

FloatType ParsedText::Element::floating = FLOAT_NONE

◆ font

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

Referenced by setStyle().

◆ hovercolor

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}

◆ 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: