VSTGUI: BaseViewLayouter Class Reference

VSTGUI 4.10 Graphical User Interface Framework not only for VST plugins

Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
BaseViewLayouter Class Reference
New classes » Version 4.15

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

## Detailed Description

a base class for view layouters

## Member Typedef Documentation

## ◆ LayoutData

using LayoutData = std::vector<BaseViewLayouterEntry>

## Member Function Documentation

## ◆ applyLayout()

bool applyLayout | ( | CViewContainer & | view,
|  | const Children & | children,
|  | const ViewLayout & | layout )
| inlineoverridevirtual

apply the previously calculated layout

Parameters

  view | the view to apply the layout to
  children | the children of the view
  layout | the layout to apply

Returns
  true if the layout was applied successfully, false otherwise

Implements IViewLayouter.

The documentation for this class was generated from the following file:

- baseviewlayouter.h