#include <IconButton.hpp>
|
| IconButton (u32 X, u32 Y, u32 Radius, std::string Icon) |
|
| ~IconButton () |
|
u32 | GetX () |
|
void | SetX (u32 X) |
|
u32 | GetY () |
|
void | SetY (u32 Y) |
|
u32 | GetWidth () |
|
u32 | GetHeight () |
|
u32 | GetRadius () |
|
void | SetRadius (u32 Radius) |
|
std::string | GetIconPath () |
|
void | SetIconPath (std::string Icon) |
|
draw::Color | GetColor () |
|
void | SetColor (draw::Color Color) |
|
void | SetOnClick (std::function< void()> ClickCallback) |
|
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) |
|
◆ IconButton()
pu::element::IconButton::IconButton |
( |
u32 |
X, |
|
|
u32 |
Y, |
|
|
u32 |
Radius, |
|
|
std::string |
Icon |
|
) |
| |
◆ ~IconButton()
pu::element::IconButton::~IconButton |
( |
| ) |
|
◆ GetColor()
◆ GetHeight()
u32 pu::element::IconButton::GetHeight |
( |
| ) |
|
|
virtual |
◆ GetIconPath()
std::string pu::element::IconButton::GetIconPath |
( |
| ) |
|
◆ GetRadius()
u32 pu::element::IconButton::GetRadius |
( |
| ) |
|
◆ GetWidth()
u32 pu::element::IconButton::GetWidth |
( |
| ) |
|
|
virtual |
◆ GetX()
u32 pu::element::IconButton::GetX |
( |
| ) |
|
|
virtual |
◆ GetY()
u32 pu::element::IconButton::GetY |
( |
| ) |
|
|
virtual |
◆ OnInput()
void pu::element::IconButton::OnInput |
( |
u64 |
Down, |
|
|
u64 |
Up, |
|
|
u64 |
Held, |
|
|
bool |
Touch, |
|
|
bool |
Focus |
|
) |
| |
|
virtual |
◆ OnRender()
◆ SetColor()
void pu::element::IconButton::SetColor |
( |
draw::Color |
Color | ) |
|
◆ SetIconPath()
void pu::element::IconButton::SetIconPath |
( |
std::string |
Icon | ) |
|
◆ SetOnClick()
void pu::element::IconButton::SetOnClick |
( |
std::function< void()> |
ClickCallback | ) |
|
◆ SetRadius()
void pu::element::IconButton::SetRadius |
( |
u32 |
Radius | ) |
|
◆ SetX()
void pu::element::IconButton::SetX |
( |
u32 |
X | ) |
|
◆ SetY()
void pu::element::IconButton::SetY |
( |
u32 |
Y | ) |
|
The documentation for this class was generated from the following file: