AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
AGridLayout Class Reference

Grid layout with fixed-size cells. More...

#include <AUI/Layout/AGridLayout.h>

Detailed Description

Member Function Documentation

> All members, including inherited

◆ addView()

void AGridLayout::addView ( const _< AView > & view,
AOptional< size_t > index )
overridevirtual
Parameters
viewview to attach.
indexindex to insert at. If not specified, when the view is inserted at the end.

See ABasicLayout for basic implementation of this method.

Implements ALayout.

◆ getAllViews()

AVector< _< AView > > AGridLayout::getAllViews ( )
overridevirtual

Implements ALayout.

◆ getMinimumHeight()

int AGridLayout::getMinimumHeight ( )
overridevirtual

Implements ALayout.

◆ getMinimumWidth()

int AGridLayout::getMinimumWidth ( )
overridevirtual

Implements ALayout.

◆ onResize()

void AGridLayout::onResize ( int x,
int y,
int width,
int height )
overridevirtual
Parameters
xx coordinate in container's coordinate space, add padding if necessary.
yy coordinate in container's coordinate space, add padding if necessary.
widthwidth of the container, add padding if necessary.
heightheight of the container, add padding if necessary.

See Layout Managers for more info.

Implements ALayout.

◆ removeView()

void AGridLayout::removeView ( aui::no_escape< AView > view,
size_t index )
overridevirtual
Parameters
viewview to detach.
indexindex of the view in the container. This value is indented for optimization purposes in most cases; the value may be ignored safely.

See ABasicLayout for basic implementation of this method.

Implements ALayout.