Module inspector

Source
Expand description

Inspector panel. Nothing selected → Project panel (name, width, height, fps, duration, Save / Export / Export Frame buttons, export settings summary). One clip selected → clip name, enabled, colour label, timing (start / duration / source in), retime readout (Ctrl+R), and:

  • visual clips: Position X/Y, Scale, Rotation (DragValue), Opacity (0-100% slider) — each row + a diamond keyframe toggle (Animated::toggle_key(clip.local(playhead)), highlighted when a key exists at the playhead) + “clear keys”; edits go through Animated::set_at(local_t, v) so keyframed props get keys; Blend mode combo.
  • audio clips: Volume (dB slider mapped to linear gain) and Pan (-1..1 slider) with the same keyframe controls, plus fade in/out lengths.
  • effects summary (enable toggles, remove) and transitions touching the clip.
  • the clip’s asset: “Used in: N clips”, editable description and tags.
  • text clips: multiline text, font family combo (fonts) + “Import font…” (handed to the app via take_pending_font_import), size, bold/italic, colour pickers (fill, outline, drop shadow, box), outline width, drop shadow on/off + x/y/blur, alignment, line/letter spacing, box padding.
  • sequence clips: the sequence’s name + “Open sequence” (handed to the app via take_open_sequence).
  • round 3: the clip’s label from Project.labels (plus a compact “Edit labels…” editor), its mask (shape, position, radius, rotation, feather, expand, opacity, invert, “Edit in viewport” — the same grid the Effects panel shows under a per-effect mask), “Open node editor”, the shape style of Shape clips (kind, fill/stroke, width, sides, corner, draw rate, page), clip markers (add / remove), an audio bus override, and a note on Adjustment clips. Call undo(project) once per gesture (on drag_started() / first changed() of a widget) before mutating. Returns true if the project changed.

Enums§

LabelOp 🔒
Edits to Project.labels collected during the frame (applied after the clip write-back).
PathOp 🔒
Save the clip’s outline as a project path, or animate it along one that was saved.

Constants§

EDIT_MASK 🔒
OPEN_NODES 🔒
OPEN_SEQUENCE 🔒
PENDING_ACTION 🔒
Project-panel button (Save / Export… / Export Frame… / edit export settings) — the app runs it through the same Action dispatch the menus use.
PENDING_FONT 🔒
UNLINK_NODES 🔒

Functions§

ask_unlink_nodes
Ask for it from elsewhere — the effects panel offers the same escape hatch.
asset_use_count 🔒
How many clips (main timeline, stash, every sequence) use the asset.
clip_section 🔒
db_to_gain 🔒
gain_to_db 🔒
mark 🔒
project_section 🔒
show
take_edit_mask
Clip whose mask the user wants to draw in the viewport (“Edit in viewport”) — the app switches the active tool to a mask tool and points the preview at this clip.
take_open_nodes
Clip the user asked to open in the node editor.
take_open_sequence
Sequence the user asked to open from the inspector.
take_pending_action
Action a project-panel button asked to run (Save / Export… / Export Frame…) — the app pushes it through the same Action dispatch the menus and hotkeys use.
take_pending_font_import
Font file (.ttf/.otf) the user picked with “Import font…” — the app adds it to settings.user_fonts and reloads the text rasterizer.
take_unlink_nodes
Clip the user asked to turn back into a plain effect stack (Project::unlink_graph).
transition_section 🔒
Selected transitions (timeline bands): one set of editors; each field you change is written to every selected transition, fields you leave alone keep their per-transition values.