ALayout#
Base class for all layout managers.
| Header: | #include <AUI/Layout/ALayout.h> |
| CMake: | aui_link(my_target PUBLIC aui::views) |
Public Methods#
addView#
Attaches view to the layout.
- Arguments
See ABasicLayout for basic implementation of this method.
Examples:
examples/app/minesweeper/src/MinesweeperWindow.cpp
Minesweeper Game - Minesweeper game implementation driven by ass.
getAllViews#
Visits all views in the layout.
onResize#
Applies geometry to children.
- Arguments
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.
removeView#
Detaches view from the layout.
- Arguments
See ABasicLayout for basic implementation of this method.
setSpacing#
Layout spacing.
- Arguments
spacingspacing in px.