Pop out now opens ViewerWindow: the player alone, titled with the stream, which a pin keeps on top of other windows (always-on-top). The main window goes on; the stream's card on the voice page says it plays in its own window, with Bring back; closing the window brings it back too, on the stream's server, and Leave closes it. Pictures go only to the window that shows the player, so none is scaled twice; full screen and the cursor follow that window. The stream callbacks take a Bridge, the models attach to any Bridge, the theme is copied to every window of its own, and one main-window close handler, installed at start, closes the studio's and the stream's windows (the studio installed its own before). Desktop only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
35 lines
539 B
Rust
35 lines
539 B
Rust
//! Slint user interface shared by the desktop binary and the mobile apps.
|
|
|
|
mod app;
|
|
mod appearance;
|
|
mod bind;
|
|
mod camera;
|
|
mod chat;
|
|
mod dev;
|
|
mod emoji;
|
|
mod events;
|
|
mod home;
|
|
mod hotkey;
|
|
mod identities;
|
|
mod images;
|
|
mod inbox;
|
|
mod links;
|
|
mod members;
|
|
mod messages;
|
|
#[cfg(not(target_os = "android"))]
|
|
mod myts;
|
|
mod popout;
|
|
mod previews;
|
|
mod servers;
|
|
mod settings;
|
|
mod settings_page;
|
|
mod settings_pages;
|
|
mod social;
|
|
mod streams;
|
|
mod studio;
|
|
mod video;
|
|
mod vm;
|
|
|
|
pub use app::{HostedEngine, RunOptions, run};
|
|
pub use inbox::{Request, request};
|