|
ZenitUI
Retained-mode C++20 UI framework
|
Per-context state tracking a pending or active drag operation. More...
#include <UIContext.hpp>
Public Attributes | |
| std::weak_ptr< Layout > | source |
| std::weak_ptr< Layout > | ghost |
| DragPayload | payload |
| Vec2 | startPos {0.0f, 0.0f} |
| Vec2 | currentPos {0.0f, 0.0f} |
| Vec2 | grabOffset {0.0f, 0.0f} |
| Layout * | hoverTarget {nullptr} |
| bool | pending {false} |
| bool | active {false} |
Per-context state tracking a pending or active drag operation.