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

Absolute positioning layout. Allows to explicitly set your own coordinates. More...

#include <AUI/Layout/AAbsoluteLayout.h>

Public Member Functions

void onResize (int x, int y, int width, int height) override
 
void add (aui::detail::AbsoluteLayoutCell cell)
 
void addView (const _< AView > &view, AOptional< size_t > index) override
 Attaches view to the layout.
 
int getMinimumWidth () override
 
int getMinimumHeight () override
 

Detailed Description

Absolute positioning layout. Allows to explicitly set your own coordinates.

Member Function Documentation

◆ addView()

void AAbsoluteLayout::addView ( const _< AView > & view,
AOptional< size_t > index )
overridevirtual

Attaches view to the layout.

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.

◆ getMinimumHeight()

int AAbsoluteLayout::getMinimumHeight ( )
overridevirtual

Implements ALayout.

◆ getMinimumWidth()

int AAbsoluteLayout::getMinimumWidth ( )
overridevirtual

Implements ALayout.

◆ onResize()

void AAbsoluteLayout::onResize ( int x,
int y,
int width,
int height )
overridevirtual

Implements ALayout.


The documentation for this class was generated from the following files:
Inheritance diagram for AAbsoluteLayout:
Collaboration diagram for AAbsoluteLayout: