8#ifndef CO_UICONTAINER_H
9#define CO_UICONTAINER_H
65 return (
int)elements.size();
collaborative interface manager
Definition: coVRCommunication.h:41
Definition: coUIContainer.h:24
float getMaxH() const
maximum size in H direction
virtual void resizeGeometry()
virtual void showElement(coUIElement *element)
Adds the specified element to the scenegraph.
float getSumW() const
sum of sizes in W direction
float getSumD() const
sum of sizes in D direction
int xAlignment
alignment on children in X direction
Definition: coUIContainer.h:72
virtual void resizeToParent(float x, float y, float z, bool shrink=true)
float getMaxD() const
maximum size in D direction
float getSumH() const
sum of sizes in H direction
int getSize()
Definition: coUIContainer.h:63
void setZAlignment(int a)
set the alignment in Z direction of the children
virtual const char * getClassName() const
get the Element's classname
virtual void setHighlighted(bool highlighted)
std::list< coUIElement * > elements
List of children elements.
Definition: coUIContainer.h:78
virtual void addElement(coUIElement *element)
Appends a child to this container.
int yAlignment
alignment on children in Y direction
Definition: coUIContainer.h:74
@ MAX
Definition: coUIContainer.h:31
@ MIN
Definition: coUIContainer.h:30
virtual void setEnabled(bool enabled)
float prefHeight
Definition: coUIContainer.h:81
virtual void removeElement(coUIElement *element)
Removes a child from this container.
float getMaxW() const
maximum size in W direction
void setXAlignment(int a)
set the alignment in X direction of the children
int zAlignment
alignment on children in Z direction
Definition: coUIContainer.h:76
virtual void removeLastElement()
Removes a child from this container.
virtual bool isOfClassName(const char *) const
check if the Element or any ancestor is this classname
virtual void shrinkToMin()
Set element location in space.
void setYAlignment(int a)
set the alignment in Y direction of the children
Definition: coUIElement.h:53