32 virtual u32
GetX() = 0;
33 virtual u32
GetY() = 0;
37 virtual void OnInput(u64
Down, u64
Up, u64 Held,
bool Touch,
bool Focus) = 0;
Element * GetFocusChangeElement(FocusChangeDirection Direction)
Definition: Renderer.hpp:22
Definition: Button.hpp:18
Element * fup
Definition: Element.hpp:48
bool afocus
Definition: Element.hpp:47
Definition: Element.hpp:27
bool visible
Definition: Element.hpp:46
virtual void OnRender(render::Renderer *Drawer)=0
void SetVisible(bool Visible)
virtual u32 GetHeight()=0
void ProcessInput(void *Lyt, u64 Down, u64 Up, u64 Held, bool Touch)
void SetAffectedByFocus(bool Affected)
FocusChangeDirection
Definition: Element.hpp:19
virtual void OnInput(u64 Down, u64 Up, u64 Held, bool Touch, bool Focus)=0
Element * fright
Definition: Element.hpp:51
Element * fdown
Definition: Element.hpp:49
Element * fleft
Definition: Element.hpp:50
void SetFocusChangeElement(FocusChangeDirection Direction, Element *ToChange)