|
TachyonUI 0.1.0
High-performance UI for building tools.
|
Callbacks through which RenderToolbarDock changes the caller's data; the dock never touches that data itself. More...
#include <gui_controls/controls_toolbar_dock.h>
Public Attributes | |
| std::function< void(ToolbarSide side, int from, int to)> | onReorder |
| An item moved within side from index from to to. | |
| std::function< void(ToolbarSide srcSide, int srcIdx, ToolbarSide tgtSide)> | onCrossSideDrop |
| Item srcIdx of srcSide was dropped on tgtSide: the caller appends it to tgtSide and erases it from srcSide. | |
| std::function< void(ToolbarSide srcSide, int srcIdx, int2 mousePos)> | onTearOff |
| Released outside every side: the caller moves the item to its floating list (new static windowID, spawnPosition = mousePos) and erases it from srcSide. | |
Callbacks through which RenderToolbarDock changes the caller's data; the dock never touches that data itself.
| std::function<void(ToolbarSide side, int from, int to)> tachyon::ToolbarDockCallbacks::onReorder |
An item moved within side from index from to to.
| std::function<void(ToolbarSide srcSide, int srcIdx, ToolbarSide tgtSide)> tachyon::ToolbarDockCallbacks::onCrossSideDrop |
Item srcIdx of srcSide was dropped on tgtSide: the caller appends it to tgtSide and erases it from srcSide.
| std::function<void(ToolbarSide srcSide, int srcIdx, int2 mousePos)> tachyon::ToolbarDockCallbacks::onTearOff |
Released outside every side: the caller moves the item to its floating list (new static windowID, spawnPosition = mousePos) and erases it from srcSide.