Expand description
Style inspector — background framing (ED.18 / M-EDIT).
The “look” panel: the backdrop the screen sits on (a gradient or flat
fill) plus the padding, corner radius, and drop shadow that lift the
recording off it — the produced, on-a-nice-desktop framing every modern
screen recorder ships. All of it drives one
[BackgroundConfig] on the project,
re-derived at render time; the visible framing (the drawn padding /
rounded canvas / shadow) lands with the render-integration / export pass
(ED.20 / ED.21). This chunk is the authoring side, undoable through the
shared [edit::History].
Structs§
- Style
Inspector Props - Props for the
StyleInspectorcomponent.
Functions§
- Style
Inspector - The style inspector: backdrop swatches + padding / radius / shadow.
- background_
presets - Background swatch presets, in display order.
- is_
active_ source - Whether two background sources are the same preset.
- number_
field 🔒 - One labelled numeric field bound to a
BackgroundConfigfield. - parse_
u32_ field - Parse a numeric field to a
u32, clamped to0..=max. Non-numeric → 0. - source_
css - A CSS
backgroundvalue for a [BackgroundSource] — used both for the swatch previews and (eventually) the live canvas backdrop. - swatches 🔒