AUI Framework
develop
Cross-platform base for C++ UI apps
|
A trivial modifiable view that represents a set of views. More...
#include <AUI/View/AViewContainer.h>
AViewContainer can store, render, resize, provide events to and handle the child views.
AViewContainer does not control the position and size of the child views by itself; instead, it delegates that responsibility to it's layout manager.
Since AViewContainer is an instance of AView, AViewContainer can handle AViewContainers recursively, thus, making possible complex UI by nested AViewContainers with different layout managers.
> All members, including inherited
User is obligated to manage view's layout by themselves. Implement applyGeometryToChildren() to do so.
View is not visible until it's layout is determined.
void AViewContainerBase::setContents | ( | const _< AViewContainer > & | container | ) |
container | container. Must be pure AViewContainer (cannot be a derivative from AViewContainer). |
Contents