Euphoria
|
eu::gui::TextData Struct Reference
#include <textdata.h>
Public Member Functions | |
TextData () | |
~TextData () | |
TextData (const TextData &other)=delete | |
void | operator= (const TextData &)=delete |
TextData (TextData &&other)=delete | |
void | operator= (TextData &&)=delete |
void | set_font (std::shared_ptr< render::DrawableFont > font) |
const render::DrawableFont & | get_font () const |
void | update_string (const std::string &str) |
bool | has_text () const |
const render::DrawableText & | get_text () const |
render::DrawableText & | get_text () |
void | set_size (float size) |
void | update_text () |
Public Attributes | |
std::shared_ptr< render::DrawableFont > | font |
std::string | string |
float | size |
std::shared_ptr< render::DrawableText > | text |
Detailed Description
Definition at line 15 of file textdata.h.
Constructor & Destructor Documentation
◆ TextData() [1/3]
eu::gui::TextData::TextData | ( | ) |
Definition at line 11 of file textdata.cc.
◆ ~TextData()
|
default |
◆ TextData() [2/3]
|
delete |
◆ TextData() [3/3]
|
delete |
Member Function Documentation
◆ get_font()
const render::DrawableFont & eu::gui::TextData::get_font | ( | ) | const |
Definition at line 31 of file textdata.cc.
◆ get_text() [1/2]
render::DrawableText & eu::gui::TextData::get_text | ( | ) |
Definition at line 62 of file textdata.cc.
◆ get_text() [2/2]
const render::DrawableText & eu::gui::TextData::get_text | ( | ) | const |
Definition at line 54 of file textdata.cc.
◆ has_text()
bool eu::gui::TextData::has_text | ( | ) | const |
Definition at line 47 of file textdata.cc.
◆ operator=() [1/2]
|
delete |
◆ operator=() [2/2]
|
delete |
◆ set_font()
void eu::gui::TextData::set_font | ( | std::shared_ptr< render::DrawableFont > | font | ) |
Definition at line 22 of file textdata.cc.
◆ set_size()
void eu::gui::TextData::set_size | ( | float | size | ) |
Definition at line 70 of file textdata.cc.
◆ update_string()
void eu::gui::TextData::update_string | ( | const std::string & | str | ) |
Definition at line 39 of file textdata.cc.
◆ update_text()
void eu::gui::TextData::update_text | ( | ) |
Definition at line 81 of file textdata.cc.
Member Data Documentation
◆ font
std::shared_ptr<render::DrawableFont> eu::gui::TextData::font |
Definition at line 50 of file textdata.h.
◆ size
float eu::gui::TextData::size |
Definition at line 52 of file textdata.h.
◆ string
std::string eu::gui::TextData::string |
Definition at line 51 of file textdata.h.
◆ text
std::shared_ptr<render::DrawableText> eu::gui::TextData::text |
Definition at line 53 of file textdata.h.
The documentation for this struct was generated from the following files:
- libs/gui/src/gui/textdata.h
- libs/gui/src/gui/textdata.cc