Absolute positioning layout. Allows to explicitly set your own coordinates.
#include <AUI/Layout/AAbsoluteLayout.h>
◆ addView()#
void AAbsoluteLayout::addView |
( |
const _< AView > & | view, |
|
|
AOptional< size_t > | index ) |
|
overridevirtual |
- Parameters
-
view | view to attach. |
index | index 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 |
◆ getMinimumWidth()#
int AAbsoluteLayout::getMinimumWidth |
( |
| ) |
|
|
overridevirtual |
◆ onResize()#
void AAbsoluteLayout::onResize |
( |
int | x, |
|
|
int | y, |
|
|
int | width, |
|
|
int | height ) |
|
overridevirtual |
- Parameters
-
x | x coordinate in container's coordinate space, add padding if necessary. |
y | y coordinate in container's coordinate space, add padding if necessary. |
width | width of the container, add padding if necessary. |
height | height of the container, add padding if necessary. |
See Layout Managers for more info.
Implements ALayout.