3
4
5
6
7
8
9
10
11
12
15#include <pu/ui/render/render_Renderer.hpp>
23namespace pu::ui::
elm {
54 virtual void OnInput(
const u64 keys_down,
const u64 keys_up,
const u64 keys_held,
const TouchPoint touch_pos) = 0;
Definition ui_Container.hpp:21
Definition elm_Element.hpp:37
virtual void OnRender(render::Renderer::Ref &drawer, const i32 x, const i32 y)=0
HorizontalAlign h_align
Definition elm_Element.hpp:40
void SetVerticalAlign(const VerticalAlign align)
Definition elm_Element.hpp:72
Container * parent_container
Definition elm_Element.hpp:42
VerticalAlign GetVerticalAlign()
Definition elm_Element.hpp:76
virtual ~Element()
Definition elm_Element.hpp:47
HorizontalAlign GetHorizontalAlign()
Definition elm_Element.hpp:68
void SetVisible(const bool visible)
Definition elm_Element.hpp:60
bool IsVisible()
Definition elm_Element.hpp:56
virtual i32 GetHeight()=0
void SetHorizontalAlign(const HorizontalAlign align)
Definition elm_Element.hpp:64
VerticalAlign v_align
Definition elm_Element.hpp:41
Element()
Definition elm_Element.hpp:45
bool visible
Definition elm_Element.hpp:39
void SetParentContainer(Container *parent_container)
Definition elm_Element.hpp:80
virtual void OnInput(const u64 keys_down, const u64 keys_up, const u64 keys_held, const TouchPoint touch_pos)=0
Definition render_Renderer.hpp:127
HorizontalAlign
Definition elm_Element.hpp:25
VerticalAlign
Definition elm_Element.hpp:31
Definition render_Renderer.hpp:20
Definition elm_Button.hpp:18
#define PU_SMART_CTOR(type)
Definition pu_Include.hpp:20
Definition ui_Types.hpp:67