Expand description
The toolbar: eight parameterless tools floating at the bottom centre of
the diagram (docs/cad-ui-spec.md §5), in three groups with a rule
between each — what selects, what builds blocks, what annotates the sheet.
The order is the band’s own, which is the order the digit shortcuts run in, so a cell and the key that arms it cannot disagree. Select sits first and is visible on every platform; tapping the armed cell returns to it. The sheet tools are used less often, so they fold into one cell wearing the one used last, with a caret that opens all four.
It is floating chrome, so it is shadowed with a large radius — and it measures itself, since a framing must stay clear of where the bar is.
Re-exports§
pub use ToolCluster_completions::Component::ToolCluster;
Structs§
- Cell
Props 🔒 - Properties for the
Cellcomponent. - Sheet
Tools 🔒Props - Properties for the
SheetToolscomponent. - Tool
Cluster Props - Properties for the
ToolClustercomponent.
Constants§
- CARET 🔒
- The caret half, which opens the four.
- FACE 🔒
- The folded cell’s face: the press half, sized like any other cell.
- FACE_
ARMED 🔒 - FOLDED 🔒
- The folded cell, which fills as a whole while its tool is armed.
- FOLDED_
ARMED 🔒 - KEY 🔒
- RULE 🔒
- The rule between two groups.
- SHEET_
MENU 🔒 - The four, rising above the bar.
- TICK 🔒
Functions§
- Cell 🔒
- Props
- Sheet
Tools 🔒 - The sheet tools, folded: a press on the face arms the one it wears, and the caret — or a long press, which a touch screen raises as a context menu — opens all four with the keys that arm them.
- Tool
Cluster - Props
- covers 🔒
- What the bar covers of the diagram: its own columns, taken down to the canvas’s bottom edge — the gap beneath it is no room a framing may use.
- digit 🔒
- The bare digit that arms
tool— its place on the band. - first 🔒
- group_
of 🔒 - Which group
toolhas a cell in, if it has one at all. - members 🔒
- The band’s tools in
group, in the band’s order.