#include <Toggle.hpp>
|
| Toggle (u32 X, u32 Y, std::string Content, u64 Key, draw::Color Color) |
|
| ~Toggle () |
|
u32 | GetX () |
|
void | SetX (u32 X) |
|
u32 | GetY () |
|
void | SetY (u32 Y) |
|
u32 | GetWidth () |
|
u32 | GetHeight () |
|
std::string | GetContent () |
|
void | SetContent (std::string Content) |
|
void | SetFont (render::NativeFont Font) |
|
draw::Color | GetColor () |
|
void | SetColor (draw::Color General) |
|
u64 | GetKey () |
|
void | SetKey (u64 Key) |
|
bool | IsChecked () |
|
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) |
|
◆ Toggle()
pu::element::Toggle::Toggle |
( |
u32 |
X, |
|
|
u32 |
Y, |
|
|
std::string |
Content, |
|
|
u64 |
Key, |
|
|
draw::Color |
Color |
|
) |
| |
◆ ~Toggle()
pu::element::Toggle::~Toggle |
( |
| ) |
|
◆ GetColor()
◆ GetContent()
std::string pu::element::Toggle::GetContent |
( |
| ) |
|
◆ GetHeight()
u32 pu::element::Toggle::GetHeight |
( |
| ) |
|
|
virtual |
◆ GetKey()
u64 pu::element::Toggle::GetKey |
( |
| ) |
|
◆ GetWidth()
u32 pu::element::Toggle::GetWidth |
( |
| ) |
|
|
virtual |
◆ GetX()
u32 pu::element::Toggle::GetX |
( |
| ) |
|
|
virtual |
◆ GetY()
u32 pu::element::Toggle::GetY |
( |
| ) |
|
|
virtual |
◆ IsChecked()
bool pu::element::Toggle::IsChecked |
( |
| ) |
|
◆ OnInput()
void pu::element::Toggle::OnInput |
( |
u64 |
Down, |
|
|
u64 |
Up, |
|
|
u64 |
Held, |
|
|
bool |
Touch, |
|
|
bool |
Focus |
|
) |
| |
|
virtual |
◆ OnRender()
◆ SetColor()
void pu::element::Toggle::SetColor |
( |
draw::Color |
General | ) |
|
◆ SetContent()
void pu::element::Toggle::SetContent |
( |
std::string |
Content | ) |
|
◆ SetFont()
◆ SetKey()
void pu::element::Toggle::SetKey |
( |
u64 |
Key | ) |
|
◆ SetX()
void pu::element::Toggle::SetX |
( |
u32 |
X | ) |
|
◆ SetY()
void pu::element::Toggle::SetY |
( |
u32 |
Y | ) |
|
The documentation for this class was generated from the following file: