Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::TextElement Struct Reference

#include <TextLabel.h>

+ Inheritance diagram for Divide::TextElement:

Public Types

using TextType = vector< eastl::string >
 

Public Member Functions

 TextElement ()=default
 
 TextElement (const TextLabelStyle &textLabelStyle, const RelativePosition2D &position)
 
 TextElement (const size_t textLabelStyleHash, const RelativePosition2D &position)
 
void text (const char *text, const bool multiLine)
 
 PROPERTY_R (size_t, textLabelStyleHash, 0)
 
 PROPERTY_R (TextType, text)
 
 PROPERTY_RW (RelativePosition2D, position)
 

Detailed Description

Definition at line 81 of file TextLabel.h.

Member Typedef Documentation

◆ TextType

using Divide::TextElement::TextType = vector<eastl::string>

Definition at line 82 of file TextLabel.h.

Constructor & Destructor Documentation

◆ TextElement() [1/3]

Divide::TextElement::TextElement ( )
default

◆ TextElement() [2/3]

Divide::TextElement::TextElement ( const TextLabelStyle textLabelStyle,
const RelativePosition2D position 
)
explicit

Definition at line 83 of file TextLabel.cpp.

◆ TextElement() [3/3]

Divide::TextElement::TextElement ( const size_t  textLabelStyleHash,
const RelativePosition2D position 
)
explicit

Definition at line 88 of file TextLabel.cpp.

Member Function Documentation

◆ PROPERTY_R() [1/2]

Divide::TextElement::PROPERTY_R ( size_t  ,
textLabelStyleHash  ,
 
)

◆ PROPERTY_R() [2/2]

Divide::TextElement::PROPERTY_R ( TextType  ,
text   
)

◆ PROPERTY_RW()

Divide::TextElement::PROPERTY_RW ( RelativePosition2D  ,
position   
)

◆ text()

void Divide::TextElement::text ( const char *  text,
const bool  multiLine 
)

Definition at line 94 of file TextLabel.cpp.


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