Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
ParsedText::Paragraph Struct Reference

#include <guiHyperText.h>

+ Collaboration diagram for ParsedText::Paragraph:

Public Member Functions

void setStyle (StyleList &style)
 

Public Attributes

std::vector< Elementelements
 
HalignType halign
 
s32 margin = 10
 

Member Function Documentation

◆ setStyle()

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

References ParsedText::HALIGN_CENTER, ParsedText::HALIGN_JUSTIFY, ParsedText::HALIGN_LEFT, and ParsedText::HALIGN_RIGHT.

Referenced by ParsedText::enterParagraph().

+ Here is the caller graph for this function:

Member Data Documentation

◆ elements

std::vector<Element> ParsedText::Paragraph::elements

◆ halign

HalignType ParsedText::Paragraph::halign

◆ margin

s32 ParsedText::Paragraph::margin = 10

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