#include <UIgridGroup.h>
|
| | UIgridGroup (UIgridGroup::ConstraintType constraintType, int number, UIgridGroup::BehaviorOnLess behaviorOnLess=UIgridGroup::BehaviorOnLess::NORMAL, UIelement::BehaviorType behavior=UIelement::BehaviorType::STRETCH) |
| |
| virtual void | Update (float dt, Rect parentCanvas) |
| |
| void | SetConstraint (UIgridGroup::ConstraintType newConstraint, int value) |
| |
| 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 |
| |
| Valores enumerados |
|---|
| CENTER |
|
| STRETCH |
|
| NORMAL |
|
| Valores enumerados |
|---|
| FIXED_N_ROWS |
|
| FIXED_N_COLS |
|
| bool UIgridGroup::Is |
( |
std::string |
UItype | ) |
const |
|
virtual |
| void UIgridGroup::Update |
( |
float |
dt, |
|
|
Rect |
parentCanvas |
|
) |
| |
|
virtual |
| std::vector<UIelement*> UIgridGroup::groupedElements |
| Vec2 UIgridGroup::padding |
A documentação para esta classe foi gerada a partir dos seguintes arquivos: