|
TachyonUI 0.1.0
High-performance UI for building tools.
|
Per-instance state for one toolbar dock. More...
#include <gui_controls/controls_toolbar_dock.h>
Public Attributes | |
| ID | groupIDs [kToolbarSideCount] {} |
| ID | ghostWindowID = ID::Invalid() |
| ID | dockContainerID = ID::Invalid() |
| Outer dock container; its rect gives empty (invisible) sides a drop rect. | |
| IntRect | cachedSideRects [kToolbarSideCount] {} |
| Last frame's side rects (screen space), written by SyncToolbarDockRects at the end of the frame; drag visualization reads them during construction, before layout. | |
| IntRect | cachedDockRect {} |
| last frame's dock container rect (screen space) | |
| bool | dropAnimHasTarget = false |
| IntRect | dropAnimCurrent {} |
| IntRect | dropAnimTarget {} |
| std::chrono::steady_clock::time_point | dropAnimLastTime {} |
Per-instance state for one toolbar dock.
The caller owns this object (one per dock area). Allocate IDs once via InitializeToolbarDockState and release via ReleaseToolbarDockState.
| ID tachyon::ToolbarDockState::groupIDs[kToolbarSideCount] {} |
| ID tachyon::ToolbarDockState::ghostWindowID = ID::Invalid() |
| ID tachyon::ToolbarDockState::dockContainerID = ID::Invalid() |
Outer dock container; its rect gives empty (invisible) sides a drop rect.
| IntRect tachyon::ToolbarDockState::cachedSideRects[kToolbarSideCount] {} |
Last frame's side rects (screen space), written by SyncToolbarDockRects at the end of the frame; drag visualization reads them during construction, before layout.
| IntRect tachyon::ToolbarDockState::cachedDockRect {} |
last frame's dock container rect (screen space)
| bool tachyon::ToolbarDockState::dropAnimHasTarget = false |
| IntRect tachyon::ToolbarDockState::dropAnimCurrent {} |
| IntRect tachyon::ToolbarDockState::dropAnimTarget {} |
| std::chrono::steady_clock::time_point tachyon::ToolbarDockState::dropAnimLastTime {} |