#include <Rectangle.hpp>
|
| Rectangle (u32 X, u32 Y, u32 Width, u32 Height, draw::Color RecColor, u32 BorderRadius=0) |
|
u32 | GetX () |
|
void | SetX (u32 X) |
|
u32 | GetY () |
|
void | SetY (u32 Y) |
|
u32 | GetWidth () |
|
void | SetWidth (u32 Width) |
|
u32 | GetHeight () |
|
void | SetHeight (u32 Height) |
|
u32 | GetBorderRadius () |
|
void | SetBorderRadius (u32 Radius) |
|
draw::Color | GetColor () |
|
void | SetColor (draw::Color RecColor) |
|
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) |
|
◆ Rectangle()
pu::element::Rectangle::Rectangle |
( |
u32 |
X, |
|
|
u32 |
Y, |
|
|
u32 |
Width, |
|
|
u32 |
Height, |
|
|
draw::Color |
RecColor, |
|
|
u32 |
BorderRadius = 0 |
|
) |
| |
◆ GetBorderRadius()
u32 pu::element::Rectangle::GetBorderRadius |
( |
| ) |
|
◆ GetColor()
◆ GetHeight()
u32 pu::element::Rectangle::GetHeight |
( |
| ) |
|
|
virtual |
◆ GetWidth()
u32 pu::element::Rectangle::GetWidth |
( |
| ) |
|
|
virtual |
◆ GetX()
u32 pu::element::Rectangle::GetX |
( |
| ) |
|
|
virtual |
◆ GetY()
u32 pu::element::Rectangle::GetY |
( |
| ) |
|
|
virtual |
◆ OnInput()
void pu::element::Rectangle::OnInput |
( |
u64 |
Down, |
|
|
u64 |
Up, |
|
|
u64 |
Held, |
|
|
bool |
Touch, |
|
|
bool |
Focus |
|
) |
| |
|
virtual |
◆ OnRender()
◆ SetBorderRadius()
void pu::element::Rectangle::SetBorderRadius |
( |
u32 |
Radius | ) |
|
◆ SetColor()
void pu::element::Rectangle::SetColor |
( |
draw::Color |
RecColor | ) |
|
◆ SetHeight()
void pu::element::Rectangle::SetHeight |
( |
u32 |
Height | ) |
|
◆ SetWidth()
void pu::element::Rectangle::SetWidth |
( |
u32 |
Width | ) |
|
◆ SetX()
void pu::element::Rectangle::SetX |
( |
u32 |
X | ) |
|
◆ SetY()
void pu::element::Rectangle::SetY |
( |
u32 |
Y | ) |
|
The documentation for this class was generated from the following file: