#include <TextBlock.hpp>
|
| TextBlock (u32 X, u32 Y, std::string Text, u32 FontSize=25) |
|
| ~TextBlock () |
|
u32 | GetX () |
|
void | SetX (u32 X) |
|
u32 | GetY () |
|
void | SetY (u32 Y) |
|
u32 | GetWidth () |
|
u32 | GetHeight () |
|
std::string | GetText () |
|
void | SetText (std::string Text) |
|
void | SetTextAlign (TextAlign Align) |
|
void | RemoveTextAlign () |
|
bool | HasTextAlign () |
|
void | SetFont (render::NativeFont Font) |
|
draw::Color | GetColor () |
|
void | SetColor (draw::Color Color) |
|
void | OnRender (render::Renderer *Drawer) |
|
void | OnInput (u64 Down, u64 Up, u64 Held, bool Touch, bool Focus) |
|
| Element () |
|
virtual | ~Element () |
|
void | ProcessInput (void *Lyt, u64 Down, u64 Up, u64 Held, bool Touch) |
|
bool | IsVisible () |
|
void | SetVisible (bool Visible) |
|
bool | IsAffectedByFocus () |
|
void | SetAffectedByFocus (bool Affected) |
|
Element * | GetFocusChangeElement (FocusChangeDirection Direction) |
|
void | SetFocusChangeElement (FocusChangeDirection Direction, Element *ToChange) |
|
◆ TextBlock()
pu::element::TextBlock::TextBlock |
( |
u32 |
X, |
|
|
u32 |
Y, |
|
|
std::string |
Text, |
|
|
u32 |
FontSize = 25 |
|
) |
| |
◆ ~TextBlock()
pu::element::TextBlock::~TextBlock |
( |
| ) |
|
◆ GetColor()
◆ GetHeight()
u32 pu::element::TextBlock::GetHeight |
( |
| ) |
|
|
virtual |
◆ GetText()
std::string pu::element::TextBlock::GetText |
( |
| ) |
|
◆ GetWidth()
u32 pu::element::TextBlock::GetWidth |
( |
| ) |
|
|
virtual |
◆ GetX()
u32 pu::element::TextBlock::GetX |
( |
| ) |
|
|
virtual |
◆ GetY()
u32 pu::element::TextBlock::GetY |
( |
| ) |
|
|
virtual |
◆ HasTextAlign()
bool pu::element::TextBlock::HasTextAlign |
( |
| ) |
|
◆ OnInput()
void pu::element::TextBlock::OnInput |
( |
u64 |
Down, |
|
|
u64 |
Up, |
|
|
u64 |
Held, |
|
|
bool |
Touch, |
|
|
bool |
Focus |
|
) |
| |
|
virtual |
◆ OnRender()
◆ RemoveTextAlign()
void pu::element::TextBlock::RemoveTextAlign |
( |
| ) |
|
◆ SetColor()
void pu::element::TextBlock::SetColor |
( |
draw::Color |
Color | ) |
|
◆ SetFont()
◆ SetText()
void pu::element::TextBlock::SetText |
( |
std::string |
Text | ) |
|
◆ SetTextAlign()
void pu::element::TextBlock::SetTextAlign |
( |
TextAlign |
Align | ) |
|
◆ SetX()
void pu::element::TextBlock::SetX |
( |
u32 |
X | ) |
|
◆ SetY()
void pu::element::TextBlock::SetY |
( |
u32 |
Y | ) |
|
The documentation for this class was generated from the following file: