#include <elm_TextBlock.hpp>
◆ TextBlock()
pu::ui::elm::TextBlock::TextBlock |
( |
const i32 | x, |
|
|
const i32 | y, |
|
|
const std::string & | text ) |
◆ ~TextBlock()
pu::ui::elm::TextBlock::~TextBlock |
( |
| ) |
|
◆ GetHeight()
i32 pu::ui::elm::TextBlock::GetHeight |
( |
| ) |
|
|
overridevirtual |
◆ GetText()
std::string pu::ui::elm::TextBlock::GetText |
( |
| ) |
|
|
inline |
◆ GetWidth()
i32 pu::ui::elm::TextBlock::GetWidth |
( |
| ) |
|
|
overridevirtual |
◆ GetX()
i32 pu::ui::elm::TextBlock::GetX |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetY()
i32 pu::ui::elm::TextBlock::GetY |
( |
| ) |
|
|
inlineoverridevirtual |
◆ OnInput()
void pu::ui::elm::TextBlock::OnInput |
( |
const u64 | keys_down, |
|
|
const u64 | keys_up, |
|
|
const u64 | keys_held, |
|
|
const TouchPoint | touch_pos ) |
|
inlineoverridevirtual |
◆ OnRender()
void pu::ui::elm::TextBlock::OnRender |
( |
render::Renderer::Ref & | drawer, |
|
|
const i32 | x, |
|
|
const i32 | y ) |
|
overridevirtual |
◆ SetColor()
void pu::ui::elm::TextBlock::SetColor |
( |
const Color | clr | ) |
|
◆ SetFont()
void pu::ui::elm::TextBlock::SetFont |
( |
const std::string & | font_name | ) |
|
◆ SetText()
void pu::ui::elm::TextBlock::SetText |
( |
const std::string & | text | ) |
|
◆ SetX()
void pu::ui::elm::TextBlock::SetX |
( |
const i32 | x | ) |
|
|
inline |
◆ SetY()
void pu::ui::elm::TextBlock::SetY |
( |
const i32 | y | ) |
|
|
inline |
◆ DefaultColor
Color pu::ui::elm::TextBlock::DefaultColor = { 0, 0, 0, 0xFF } |
|
staticconstexpr |
The documentation for this class was generated from the following file: