#include <elm_Button.hpp>
|
| Button (i32 X, i32 Y, i32 Width, i32 Height, String Content, Color TextColor, Color Color) |
|
| ~Button () |
|
i32 | GetX () |
|
void | SetX (i32 X) |
|
i32 | GetY () |
|
void | SetY (i32 Y) |
|
i32 | GetWidth () |
|
void | SetWidth (i32 Width) |
|
i32 | GetHeight () |
|
void | SetHeight (i32 Height) |
|
String | GetContent () |
|
void | SetContent (String Content) |
|
Color | GetColor () |
|
void | SetColor (Color Color) |
|
void | SetContentFont (String font_name) |
|
void | SetOnClick (std::function< void()> ClickCallback) |
|
void | OnRender (render::Renderer::Ref &Drawer, i32 X, i32 Y) |
|
void | OnInput (u64 Down, u64 Up, u64 Held, Touch Pos) |
|
| Element () |
|
virtual | ~Element () |
|
bool | IsVisible () |
|
void | SetVisible (bool Visible) |
|
void | SetParent (void *Base) |
|
void * | GetParent () |
|
void | SetHorizontalAlign (HorizontalAlign Align) |
|
HorizontalAlign | GetHorizontalAlign () |
|
void | SetVerticalAlign (VerticalAlign Align) |
|
VerticalAlign | GetVerticalAlign () |
|
bool | HasParent () |
|
i32 | GetProcessedX () |
|
i32 | GetProcessedY () |
|
pu::ui::elm::Button::~Button |
( |
| ) |
|
Color pu::ui::elm::Button::GetColor |
( |
| ) |
|
String pu::ui::elm::Button::GetContent |
( |
| ) |
|
i32 pu::ui::elm::Button::GetHeight |
( |
| ) |
|
|
virtual |
i32 pu::ui::elm::Button::GetWidth |
( |
| ) |
|
|
virtual |
i32 pu::ui::elm::Button::GetX |
( |
| ) |
|
|
virtual |
i32 pu::ui::elm::Button::GetY |
( |
| ) |
|
|
virtual |
void pu::ui::elm::Button::OnInput |
( |
u64 |
Down, |
|
|
u64 |
Up, |
|
|
u64 |
Held, |
|
|
Touch |
Pos |
|
) |
| |
|
virtual |
void pu::ui::elm::Button::OnRender |
( |
render::Renderer::Ref & |
Drawer, |
|
|
i32 |
X, |
|
|
i32 |
Y |
|
) |
| |
|
virtual |
void pu::ui::elm::Button::SetColor |
( |
Color |
Color | ) |
|
void pu::ui::elm::Button::SetContent |
( |
String |
Content | ) |
|
void pu::ui::elm::Button::SetContentFont |
( |
String |
font_name | ) |
|
void pu::ui::elm::Button::SetHeight |
( |
i32 |
Height | ) |
|
void pu::ui::elm::Button::SetOnClick |
( |
std::function< void()> |
ClickCallback | ) |
|
void pu::ui::elm::Button::SetWidth |
( |
i32 |
Width | ) |
|
void pu::ui::elm::Button::SetX |
( |
i32 |
X | ) |
|
void pu::ui::elm::Button::SetY |
( |
i32 |
Y | ) |
|
The documentation for this class was generated from the following file: