|
VSTGUI 4.10
Graphical User Interface Framework not only for VST plugins
|
a base class for view layouters More...
#include <baseviewlayouter.h>
Inheritance diagram for BaseViewLayouter:Public Types | |
| using | LayoutData = std::vector<BaseViewLayouterEntry> |
Public Types inherited from IViewLayouter | |
| using | Children = CViewContainer::ViewList |
Public Member Functions | |
| bool | applyLayout (CViewContainer &container, const Children &children, const ViewLayout &layout) override |
| apply the previously calculated layout | |
Public Member Functions inherited from IViewLayouter | |
| virtual std::optional< ViewLayout > | calculateLayout (const CViewContainer &view, const Children &children, const CRect &newSize)=0 |
| calculate the layout of the view. | |
Public Member Functions inherited from IReference | |
| virtual void | forget ()=0 |
| decrease refcount and delete object if refcount == 0 | |
| virtual void | remember ()=0 |
| increase refcount | |
a base class for view layouters
| using LayoutData = std::vector<BaseViewLayouterEntry> |
|
inlineoverridevirtual |
apply the previously calculated layout
| view | the view to apply the layout to |
| children | the children of the view |
| layout | the layout to apply |
Implements IViewLayouter.