|
TachyonUI 0.1.0
High-performance UI for building tools.
|
Enables dragging a floating toolbar back onto a dock side; both fields are required, otherwise the drag handle only moves the OS window. More...
#include <gui_controls/controls_toolbar_dock.h>
Public Attributes | |
| ToolbarDockState * | dockState = nullptr |
| Dock whose cachedSideRects are hit-tested on MouseUp (caller-owned; nullptr disables). | |
| std::function< void(ID windowID, ToolbarSide tgtSide)> | onDockBack |
| Released over tgtSide, or the window closed (tgtSide = its homeSide): the caller moves the item into that side, releases the windowID and erases the floating entry. | |
Enables dragging a floating toolbar back onto a dock side; both fields are required, otherwise the drag handle only moves the OS window.
| ToolbarDockState* tachyon::FloatingToolbarOptions::dockState = nullptr |
Dock whose cachedSideRects are hit-tested on MouseUp (caller-owned; nullptr disables).
| std::function<void(ID windowID, ToolbarSide tgtSide)> tachyon::FloatingToolbarOptions::onDockBack |
Released over tgtSide, or the window closed (tgtSide = its homeSide): the caller moves the item into that side, releases the windowID and erases the floating entry.