Scrubber shows what has loaded, what has played and its chapters, names the time under the pointer, seeks by press and gpui's drag, and steps by the slider's keys; over_media lights it for a dark layer. VideoPlayer shows the host's frame in its shape with a caption and a control bar over it: the scrubber, play, the time, speed, captions, picture in picture and full screen, each only with its handler; the bar rests after a still pointer while it plays, on one wake from the executor's timer. Keys: Space and K, J and L, the arrows, C and F. VideoThumbnailStrip lays frames along the length under a playhead with a trim whose handles drag and whose ends I and O set. SubtitleEditor edits cues in place: times as mm:ss.mmm, kept in order, a time that does not read kept out with the reason shown. InlineEdit is a Tab stop with the ring; it hands focus back after Enter or Escape and keeps its text on Enter's release. overlays::media_button is shared by the lightbox and the player's bar.
19 lines
457 B
Rust
19 lines
457 B
Rust
mod dialog;
|
|
mod dialogs;
|
|
mod floats;
|
|
mod hover;
|
|
mod lightbox;
|
|
mod popover;
|
|
mod spotlight;
|
|
#[cfg(all(test, feature = "test-support"))]
|
|
mod tests;
|
|
|
|
pub use dialog::{Close, Dialog};
|
|
pub use dialogs::{AlertDialog, ConfirmDialog, PromptDialog};
|
|
pub use floats::{FloatingToolbar, Peek};
|
|
pub use hover::HoverCard;
|
|
pub(crate) use lightbox::media_button;
|
|
pub use lightbox::{Lightbox, Slide};
|
|
pub use popover::Popover;
|
|
pub use spotlight::{Spotlight, Tour, TourStep};
|