15#include "AViewContainer.h"
16#include "ASplitterHelper.h"
17#include <AUI/Util/UIBuildingHelpers.h>
33 bool mAddSpacers =
true;
37 mItems = std::move(items);
49 for (
auto& row: mItems) {
50 row.push_back(_new<ASpacerExpanding>());
53 AVector<
_<AView>>::generate(mItems.first().size(), [](
size_t) { return _new<ASpacerExpanding>(); }));
55 splitter->mItems = std::move(mItems);
56 splitter->updateSplitterItems();
73 glm::bvec2 isDraggingArea(glm::ivec2 position);
76 void updateSplitterItems();
Definition: AGridSplitter.cpp:23
Definition: AGridSplitter.h:29
A resizable grid layout.
Definition: AGridSplitter.h:26
Definition: ASplitterHelper.h:18
A resizeable horizontal or vertical layout.
Definition: ASplitter.h:46
A std::vector with AUI extensions.
Definition: AVector.h:38
A view that represents a set of views.
Definition: AViewContainerBase.h:68
void onPointerPressed(const APointerPressedEvent &event) override
Called on pointer (mouse) released event.
Definition: AViewContainerBase.cpp:287
void onPointerMove(glm::vec2 pos, const APointerMoveEvent &event) override
Handles pointer hover events.
Definition: AViewContainerBase.cpp:242
bool consumesClick(const glm::ivec2 &pos) override
Determines whether this AView processes this click or passes it thru.
Definition: AViewContainerBase.cpp:369
void onPointerReleased(const APointerReleasedEvent &event) override
Called on pointer (mouse) released event.
Definition: AViewContainerBase.cpp:327
An std::weak_ptr with AUI extensions.
Definition: SharedPtrTypes.h:177
Pointing method move event.
Definition: APointerMoveEvent.h:21
Pointing method press event.
Definition: APointerPressedEvent.h:21
Pointing method press event.
Definition: APointerReleasedEvent.h:19
static _< T > manage(T *raw)
Definition: SharedPtrTypes.h:371