Plutonium framework API 0.3.0
UI framework libraries for libnx
Loading...
Searching...
No Matches
pu::ui::Container Class Reference

#include <ui_Container.hpp>

Inheritance diagram for pu::ui::Container:
pu::ui::Layout pu::ui::Overlay pu::ui::extras::Toast

Public Member Functions

 Container (const i32 x, const i32 y, const i32 width, const i32 height)
 
void Add (elm::Element::Ref elem)
 
std::vector< elm::Element::Ref > & GetElements ()
 
bool Has (elm::Element::Ref &elem)
 
void Clear ()
 
void PreRender ()
 

Protected Attributes

i32 x
 
i32 y
 
i32 w
 
i32 h
 
std::vector< elm::Element::Ref > elems
 

Constructor & Destructor Documentation

◆ Container()

pu::ui::Container::Container ( const i32 x,
const i32 y,
const i32 width,
const i32 height )
inline

Member Function Documentation

◆ Add()

void pu::ui::Container::Add ( elm::Element::Ref elem)
inline

◆ Clear()

void pu::ui::Container::Clear ( )
inline

◆ GetElements()

std::vector< elm::Element::Ref > & pu::ui::Container::GetElements ( )
inline

◆ Has()

bool pu::ui::Container::Has ( elm::Element::Ref & elem)
inline

◆ PreRender()

void pu::ui::Container::PreRender ( )

Member Data Documentation

◆ elems

std::vector<elm::Element::Ref> pu::ui::Container::elems
protected

◆ h

i32 pu::ui::Container::h
protected

◆ w

i32 pu::ui::Container::w
protected

◆ x

i32 pu::ui::Container::x
protected

◆ y

i32 pu::ui::Container::y
protected

The documentation for this class was generated from the following file: