Skip to main content

kitchen_views/
lib.rs

1//! Views the neuro-kitchen apps share, and what views share between them.
2//!
3//! - [`container`]: the dock every workspace's views live in (tabs dragged into splits, the
4//!   "Add view or container" dialog). Moved from kitchen-shell, which re-exports it.
5//! - [`clock`]: one time cursor per workspace that every view follows and any view moves;
6//!   playback, frame steps, and the playback keys (`[playback]`).
7//! - [`sync`]: clocks aligned by sync pulses (drift and offset fitted, lost pulses tolerated).
8//! - [`video`]: video frames by index with their timestamps (image sequences, MP4 with H.264 in
9//!   Rust, anything else through ffmpeg as a process), dropped frames found, a frame cache.
10//! - [`video_view`]: the video at the clock's moment, an app's overlays over it, frame and times
11//!   under it, the playback keys over it.
12//!
13//! A view moves here when a second app needs it, not before: dspk's traces and lucem's image
14//! planes are tuned to their data and stay in their apps, behind the same clock.
15
16// GPUI's derive macros name `gpui`; through the kit, that is gpui-kit
17extern crate gpui_kit as gpui;
18
19pub mod clock;
20pub mod container;
21pub mod sync;
22pub mod video;
23pub mod video_view;
24
25pub use clock::{Clock, ClockEvent};
26pub use container::{AddViewDialog, Arrangement, DialogEvent, ViewOption};
27pub use sync::Alignment;
28pub use video_view::VideoView;