15#include "AViewContainer.h"
16#include "AScrollbar.h"
36 const _<AView>& contents()
const noexcept {
40 void applyGeometryToChildren()
override;
42 void setScroll(glm::uvec2
scroll) {
43 if (mScroll ==
scroll) [[unlikely]] {
47 updateContentsScroll();
50 void setScrollX(
unsigned scroll) {
51 if (mScroll.x ==
scroll) [[unlikely]] {
55 updateContentsScroll();
58 void setScrollY(
unsigned scroll) {
59 if (mScroll.y ==
scroll) [[unlikely]] {
63 updateContentsScroll();
67 glm::uvec2
scroll()
const noexcept {
76 glm::uvec2 mScroll = {0, 0};
78 void updateContentsScroll();
A view that represents a set of views.
Definition: AViewContainerBase.h:68
void setContents(const _< AViewContainer > &container)
Moves (like via std::move) all children and layout of the specified container to this container.
Definition: AViewContainerBase.cpp:513
An std::weak_ptr with AUI extensions.
Definition: SharedPtrTypes.h:177