The UI renderable text primitive.
More...
#include <UIText.h>
|
| std::string | text |
| | The text to display.
|
| |
| Variant | variant |
| | The visual display variant of the text.
|
| |
The UI renderable text primitive.
Definition at line 14 of file UIText.h.
◆ Variant
The visual display variant of the text.
| Enumerator |
|---|
| Headline | |
| MenuCaption | |
| Choice | |
| Caption | |
Definition at line 19 of file UIText.h.
◆ UIText() [1/3]
| business_logic::components::UIText::UIText |
( |
const std::string & |
text, |
|
|
const Variant & |
variant |
|
) |
| |
Constructor.
- Parameters
-
| text | The text to display |
| variant | The visual display variant of the text |
Definition at line 4 of file UIText.cpp.
◆ ~UIText()
| virtual business_logic::components::UIText::~UIText |
( |
| ) |
|
|
virtualdefault |
◆ UIText() [2/3]
| business_logic::components::UIText::UIText |
( |
const UIText & |
| ) |
|
|
default |
◆ UIText() [3/3]
| business_logic::components::UIText::UIText |
( |
UIText && |
other | ) |
|
|
noexcept |
◆ getText()
| const std::string & business_logic::components::UIText::getText |
( |
| ) |
const |
|
inline |
Gets the text.
- Returns
- The text
Definition at line 40 of file UIText.h.
References text.
◆ getVariant()
| const Variant & business_logic::components::UIText::getVariant |
( |
| ) |
const |
|
inline |
Gets the visual display variant of the text.
- Returns
- The visual display variant of the text
Definition at line 46 of file UIText.h.
References variant.
◆ operator=() [1/2]
| UIText & business_logic::components::UIText::operator= |
( |
const UIText & |
other | ) |
|
◆ operator=() [2/2]
| UIText & business_logic::components::UIText::operator= |
( |
UIText && |
other | ) |
|
|
noexcept |
◆ text
| std::string business_logic::components::UIText::text |
|
private |
◆ variant
| Variant business_logic::components::UIText::variant |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/Skia-Arithmetic-Calculator/Skia-Arithmetic-Calculator/src/business_logic/components/UIText.h
- /home/runner/work/Skia-Arithmetic-Calculator/Skia-Arithmetic-Calculator/src/business_logic/components/UIText.cpp