Skip to main content

Module names

Module names 

Source

Structs§

BandTool
One cell of the tool cluster: the tool it arms, the group it sits in, and what the status line says while it is armed. Its face is an icon alone; the tooltip carries the words.

Enums§

ToolGroup
Which part of the tool cluster a cell sits in. A cluster rules a line between neighbours of different groups, so every shell draws the same boundaries.
ToolName

Constants§

BAND_TOOLS
The cluster’s cells, in the order it lays them out — most used first, which is the order the digit shortcuts run in. One list: membership, order, grouping, and the line the status line reads while each is armed.

Functions§

band_tools
BAND_TOOLS without their faces, for the registry, the digit bindings and everything else that ranges over which tools the band carries.
displayed_tool
The toolbar button that should show as selected while active is the current tool. A base toolbar tool maps to itself; a sub-tool maps to the base tool it originates from so exactly one toolbar button is always highlighted. Route editing sub-tools are selection operations, so they (like every selection microtool and any other non-toolbar tool) map to Select as the safe default. The result is always a member of BAND_TOOLS.
instruction
What the status line says while tool is armed. Read off the same list the cluster is built from, so a cell and its instruction cannot come apart.