Projeto IDJ - Towers Of Madness
TowerDefenseLovecraftnianoZombicida
|
#include <UIhorizontalGroup.h>
Métodos Públicos | |
UIhorizontalGroup (UIelement::BehaviorType behavior=UIelement::BehaviorType::STRETCH, float padding=0) | |
virtual void | Update (float dt, Rect parentCanvas) |
bool | Is (std::string UItype) const |
![]() | |
UIcanvas (UIelement::BehaviorType behavior=UIelement::BehaviorType::STRETCH) | |
UIcanvas (Vec2 aspectRatio, UIelement::BehaviorType behavior=UIelement::BehaviorType::FIT) | |
void | SetAspectRatio (Vec2 aspectRatio) |
![]() | |
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 | |
![]() | |
enum | BehaviorType { FIT, FILL, STRETCH } |
![]() | |
UIelement (BehaviorType behavior=BehaviorType::STRETCH, Vec2 center=Vec2(0.5, 0.5)) | |
![]() | |
Rect | boundingBox |
Rect | box |
Vec2 | kernelSize |
Vec2 | center |
UIhorizontalGroup::UIhorizontalGroup | ( | UIelement::BehaviorType | behavior = UIelement::BehaviorType::STRETCH , |
float | padding = 0 |
||
) |
|
virtual |
Reimplementação de UIcanvas.
std::vector<UIelement*> UIhorizontalGroup::groupedElements |
float UIhorizontalGroup::padding |