8 #ifndef CO_UICONTAINER_H
9 #define CO_UICONTAINER_H
38 virtual void setEnabled(
bool enabled);
39 virtual void setHighlighted(
bool highlighted);
40 virtual void resizeToParent(
float x,
float y,
float z,
bool shrink =
true);
41 virtual void shrinkToMin();
44 virtual void removeLastElement();
46 void setXAlignment(
int a);
47 void setYAlignment(
int a);
48 void setZAlignment(
int a);
51 virtual const char *getClassName()
const;
53 virtual bool isOfClassName(
const char *)
const;
55 float getMaxH()
const;
56 float getMaxW()
const;
57 float getMaxD()
const;
59 float getSumH()
const;
60 float getSumW()
const;
61 float getSumD()
const;
65 return (
int)elements.size();
69 virtual void resizeGeometry();
Definition: coUIContainer.h:23
float prefWidth
try to get That high/wide if possible
Definition: coUIContainer.h:81
int yAlignment
alignment on children in Y direction
Definition: coUIContainer.h:74
int getSize()
Definition: coUIContainer.h:63
Definition: coUIContainer.h:31
std::list< coUIElement * > elements
List of children elements.
Definition: coUIContainer.h:78
int xAlignment
alignment on children in X direction
Definition: coUIContainer.h:72
Definition: coUIElement.h:52
int zAlignment
alignment on children in Z direction
Definition: coUIContainer.h:76
Definition: coUIContainer.h:30