AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
aui::HVLayout< direction > Struct Template Reference

Shared implementation of AVerticalLayout and AHorizontalLayout. More...

#include <AUI/Layout/HVLayout.h>

Detailed Description

template<ALayoutDirection direction>
struct aui::HVLayout< direction >

HVLayout does not strictly requires to layout AView. The only requirement is to pass range of items that implement methods required by HVLayout (as AView does). This make compile time polymorphism possible.

ASplitter is an example of object that requires AHorizontalLayout/AVerticalLayout-like behaviour with some changes.