|
TachyonUI 0.1.0
High-performance UI for building tools.
|
A torn-off toolbar in its own OS window, owned by the caller. More...
#include <gui_controls/controls_toolbar_dock.h>
Public Attributes | |
| ToolbarItem | item |
| ID | windowID = ID::Invalid() |
| int2 | spawnPosition {} |
| screen pixels, used on the first frame | |
| bool | positioned = false |
| once true, the OS manages the position | |
| std::string | title {} |
| ToolbarSide | homeSide = ToolbarSide::Top |
| where closing the window docks it back | |
A torn-off toolbar in its own OS window, owned by the caller.
windowID is a static ID created on tear-off and released when the window closes.
| ToolbarItem tachyon::FloatingToolbarItem::item |
| ID tachyon::FloatingToolbarItem::windowID = ID::Invalid() |
| int2 tachyon::FloatingToolbarItem::spawnPosition {} |
screen pixels, used on the first frame
| bool tachyon::FloatingToolbarItem::positioned = false |
once true, the OS manages the position
| std::string tachyon::FloatingToolbarItem::title {} |
| ToolbarSide tachyon::FloatingToolbarItem::homeSide = ToolbarSide::Top |
where closing the window docks it back