Files
VoelinClient/crates/voelin-ui/src/bind/mod.rs
T
selikhovandClaude Opus 5.5 673e41542c Merge the Stream Studio UI
Both sides kept: the studio page and the new home, friends, messages,
events and settings pages in the Page enum, app.slint, the phone's top
bar (studio, search, bell), bind/ and vm/ modules, dev.rs switches. The
layers icon and Video::codecs were added on both sides; one of each is
kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 12:17:41 +03:00

28 lines
572 B
Rust

//! Callbacks of the screens, wired to the app. One module per screen or
//! area; each has a `wire` that the window calls once.
mod chat;
mod emoji;
mod pages;
mod servers;
mod settings;
mod social;
mod streams;
pub(crate) mod studio;
use slint::ComponentHandle;
use crate::app::{MainWindow, StudioBridge};
/// Connect every callback of the window.
pub(crate) fn wire(ui: &MainWindow) {
servers::wire(ui);
chat::wire(ui);
streams::wire(ui);
settings::wire(ui);
emoji::wire(ui);
social::wire(ui);
pages::wire(ui);
studio::wire(&ui.global::<StudioBridge>());
}