Projeto IDJ - Towers Of Madness
TowerDefenseLovecraftnianoZombicida
 Todos Classes Arquivos Funções Variáveis Definições de Tipos Enumerações Valores enumerados Definições e Macros Páginas
Métodos Públicos | Atributos Públicos | Lista de todos os Membros
Referência da Classe UIverticalGroup

#include <UIverticalGroup.h>

Diagrama de Hierarquia para UIverticalGroup:
[legenda]
Diagrama de colaboração para UIverticalGroup:
[legenda]

Métodos Públicos

 UIverticalGroup (UIelement::BehaviorType behavior=UIelement::BehaviorType::STRETCH, float padding=0)
 
virtual void Update (float dt, Rect parentCanvas)
 
bool Is (std::string UItype) const
 
- Métodos Públicos inherited from UIcanvas
 UIcanvas (UIelement::BehaviorType behavior=UIelement::BehaviorType::STRETCH)
 
 UIcanvas (Vec2 aspectRatio, UIelement::BehaviorType behavior=UIelement::BehaviorType::FIT)
 
void SetAspectRatio (Vec2 aspectRatio)
 
- Métodos Públicos inherited from UIelement
void SetCenter (Vec2 center)
 
void SetAnchors (Vec2 min, Vec2 max)
 
void SetOffsets (Vec2 min, Vec2 max)
 
void SetBehavior (BehaviorType type)
 
Rect GetAnchors (void) const
 
Rect GetOffsets (void) const
 
virtual void Render (bool debugRender=false) const
 
Rect GetBoundingBox (void) const
 
Rect ComputeBoundingbox (Rect parentCanvas)
 
Rect ComputeBox (Rect boundingBox={-1.,-1.,-1.,-1.})
 
 operator Rect () const
 

Atributos Públicos

std::vector< UIelement * > groupedElements
 
float padding
 

Additional Inherited Members

- Tipos Públicos inherited from UIelement
enum  BehaviorType { FIT, FILL, STRETCH }
 
- Métodos Protegidos inherited from UIelement
 UIelement (BehaviorType behavior=BehaviorType::STRETCH, Vec2 center=Vec2(0.5, 0.5))
 
- Atributos Protegidos inherited from UIelement
Rect boundingBox
 
Rect box
 
Vec2 kernelSize
 
Vec2 center
 

Construtores & Destrutores

UIverticalGroup::UIverticalGroup ( UIelement::BehaviorType  behavior = UIelement::BehaviorType::STRETCH,
float  padding = 0 
)

Métodos

bool UIverticalGroup::Is ( std::string  UItype) const
virtual

Reimplementação de UIcanvas.

void UIverticalGroup::Update ( float  dt,
Rect  parentCanvas 
)
virtual

Reimplementação de UIcanvas.

Atributos

std::vector<UIelement*> UIverticalGroup::groupedElements
float UIverticalGroup::padding

A documentação para esta classe foi gerada a partir dos seguintes arquivos: