Expand description
EditorSurface — the live editor surface (ED.5/ED.7 / M-EDIT).
Renders the real EditorShell chrome driven by the loaded
[EditProject], with a wired transport bar (ED.7) in the timeline slot:
play/pause, frame-step, jump-to-ends, a scrubber, a speed selector, a
MM:SS.ff timecode, and keyboard shortcuts — all driving the backend
editor session over crate::editor_ipc. The canvas / inspector slots
are filled by later chunks (preview ED.6, inspector ED.18).
Structs§
- Editor
Surface Props - Props for the
EditorSurfacecomponent. - Editor
Transport 🔒BarProps - Props for the
EditorTransportBarcomponent.
Functions§
- Editor
Surface - The editor surface. Reads the loaded [
EditProject] + the playheadEditorStatusfrom context and renders theEditorShellwith a wired transport. Keyboard: Space = play/pause, ←/→ step (Shift = 5), I/O set in/out, S split, ⌘Z undo·redo, Delete ripple-delete. - Editor
Transport 🔒Bar - Transport bar (ED.7) — bound to the backend editor session via
crate::editor_ipc. Fine-grained reactive: only the timecode, the play glyph, and the scrubber value re-render as the playhead advances. - clip_
subtitle 🔒 "1920×1080 · 30 fps · m:ss"subtitle from the clip metadata.- clip_
title 🔒 - File name of the clip (the document title).
- default_
toolbar 🔒 - The editor toolbar action set (matches the reference design). When no clip is loaded every action is disabled.
- format_
timecode - Format a frame index as
MM:SS.ff(ff = frame within the second). - handle_
editor_ 🔒keydown - Handle a keydown on the editor surface: transport (Space / arrows / I·O) and edit (S split, ⌘Z undo·redo, Delete ripple) shortcuts.
- shell_
view_ 🔒for - Map the loaded project (or its absence) to the shell view-model.