Module presets_ui

Source
Expand description

Presets pane: everything reusable that lives on the machine instead of in the project — saved effect chains, node graphs, adjustment layers and clip templates. All of it is in settings.json, so it survives a new project. Clicking a row applies it to the selection (templates place at the playhead); its context menu renames and deletes. “Save from selection” captures the selected clip’s node graph or effect stack, and falls back to a clip template for adjustment layers and multi-clip selections.

Effects and node graphs share Settings::effect_presets (the JSON shape tells them apart — EffectPreset::is_graph), adjustment layers and templates share Settings::templates.

Structs§

PresetsResponse
PresetsState

Enums§

Act 🔒
Rename / delete, deferred until the rows are drawn (they hold settings borrowed).

Functions§

effect_rows 🔒
(index into effect_presets, name) for one of the two flavours.
section 🔒
One titled list. templates picks both the backing Vec and what a click means (place vs apply).
show