19#include "AViewContainer.h"
29 glm::ivec2 mInitialMousePos;
32 void setValidPositionFor(
const _<AView>& targetView,
const glm::ivec2& newPosition);
36 void handleMouseMove();
40 void applyGeometryToChildren()
override;
45 std::tuple<ADragArea*, AViewContainerBase*> getDragAreaAndDraggingView();
46 bool mDragging =
false;
47 bool mCheckForClickConsumption =
true;
50 ADraggableHandle(
bool checkForClickConsumption =
false) : mCheckForClickConsumption(checkForClickConsumption) {}
59 static _<AView> convertToDraggable(
const _<AView>& view,
bool checkForClickConsumption =
true);
Definition: ADragArea.h:42
Wrapping container to drag views inside of it.
Definition: ADragArea.h:26
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 onPointerReleased(const APointerReleasedEvent &event) override
Called on pointer (mouse) released event.
Definition: AViewContainerBase.cpp:327
A trivial modifiable view that represents a set of views.
Definition: AViewContainer.h:33
An std::weak_ptr with AUI extensions.
Definition: SharedPtrTypes.h:177
Pointing method press event.
Definition: APointerPressedEvent.h:21
Pointing method press event.
Definition: APointerReleasedEvent.h:19
Definition: MouseMove.h:16
An std::weak_ptr with AUI extensions.
Definition: SharedPtrTypes.h:51