pub struct Frame {Show 18 fields
pub hud: Hud,
pub status: Status,
pub task: Option<Task>,
pub panel: Vec<Widget>,
pub editing: Option<String>,
pub locks_view: bool,
pub numeric_input: bool,
pub toggled: Vec<String>,
pub disabled: Vec<String>,
pub lines: Vec<Polyline>,
pub marks: Vec<Mark>,
pub labels: Vec<Label>,
pub meshes: Vec<Mesh>,
pub kept: Vec<KeptMesh>,
pub regions: Vec<Region>,
pub transport: Vec<Widget>,
pub card: Option<FloatingCard>,
pub animating: bool,
}Expand description
Everything a bench shows. The host keeps it and asks again only after
an event reached the bench, the document changed, the selection
changed, or the bench asked (redraw); world-space drawing is projected
by the host every frame, so the view moves freely without asking.
Fields§
§hud: Hud§status: Status§task: Option<Task>An open task: the right panel shows panel under it.
panel: Vec<Widget>§editing: Option<String>The feature whose edit session is open.
locks_view: boolWhile editing, the view stays square to its plane.
numeric_input: boolBare digits go to the bench (a length being typed).
toggled: Vec<String>Check and action tools that draw pressed.
disabled: Vec<String>Tools that draw disabled.
lines: Vec<Polyline>§marks: Vec<Mark>§labels: Vec<Label>§meshes: Vec<Mesh>§kept: Vec<KeptMesh>Meshes the package keeps (host::mesh_create), drawn by handle:
a large mesh crosses once and is then updated in part.
regions: Vec<Region>Flat regions the host fills, and hatches where asked.
transport: Vec<Widget>A strip under the view, its widgets in a row, while the bench is
active: a transport bar’s timeline, buttons and clock. Its events
come with PanelSlot::Transport.
card: Option<FloatingCard>A card over the view beside what it edits, while the bench is
active: a quick edit of a value or two. Its events come with
PanelSlot::Card.
animating: boolSomething in it moves: while set and the bench is active, the host asks for the frame again every frame, at the display’s rate, rather than waiting for an event.