|
TachyonUI 0.1.0
High-performance UI for building tools.
|
A floating toolbar window dragged by its thumb; one drag at a time. More...
#include <gui_controls/subsystems/gui_subsystem_state.h>
Public Member Functions | |
| bool | Active () const |
Public Attributes | |
| PointerDrag | drag |
| the thumb's press, a drag from the start | |
| ID | windowID = ID::Invalid() |
| int2 | currentMousePos {} |
| screen pixels | |
| IntRect | startRect {} |
| the window before the drag; put back by Escape | |
| ToolbarDockState * | sourceDockState = nullptr |
A floating toolbar window dragged by its thumb; one drag at a time.
currentMousePos is read by the construction-time drop visualization.
|
inline |
| PointerDrag tachyon::ToolbarWindowDragSubsystem::drag |
the thumb's press, a drag from the start
| ID tachyon::ToolbarWindowDragSubsystem::windowID = ID::Invalid() |
| int2 tachyon::ToolbarWindowDragSubsystem::currentMousePos {} |
screen pixels
| IntRect tachyon::ToolbarWindowDragSubsystem::startRect {} |
the window before the drag; put back by Escape
| ToolbarDockState* tachyon::ToolbarWindowDragSubsystem::sourceDockState = nullptr |