Files
zap-stream-app/src/widgets/mod.rs
kieran 6017ce18d4 feat: chat
feat: android setup
2024-10-16 20:23:52 +01:00

29 lines
673 B
Rust

mod avatar;
mod chat;
mod chat_message;
mod header;
mod profile;
mod stream_tile;
mod stream_list;
mod stream_player;
mod video_placeholder;
mod stream_title;
mod write_chat;
use crate::route::RouteServices;
use egui::{Response, Ui};
pub trait NostrWidget {
fn render(&mut self, ui: &mut Ui, services: &RouteServices<'_>) -> Response;
}
pub use self::avatar::Avatar;
pub use self::chat::Chat;
pub use self::header::Header;
pub use self::profile::Profile;
pub use self::stream_list::StreamList;
pub use self::stream_player::StreamPlayer;
pub use self::video_placeholder::VideoPlaceholder;
pub use self::stream_title::StreamTitle;
pub use self::write_chat::WriteChat;