Files
Ely-GPUI-Components/src/misc/mod.rs
T
ZacharyZhang-NY 012a6e3105 Misc · Web: a web view proven with wry, and an iframe embed
misc::WebView lays wry 0.57's child WKWebView over the window at its
box, following it from a canvas in prepaint and hiding it out of view;
it loads an address or the owner's HTML, which makes it the HTML
preview. misc::IframeEmbed frames a page under its address with Open
in browser. EmbedCard points to chat::LinkPreviewCard, ShareSheet to
buttons::ShareButton; PrintButton is blocked, gpui 0.2.2 has no print
API.
2026-09-28 04:32:26 -04:00

32 lines
721 B
Rust

mod calculator;
mod captcha;
mod clock;
mod consent;
mod cookies;
mod flashcards;
mod licenses;
mod poll;
mod quiz;
mod scanner;
mod stopwatch;
mod survey;
#[cfg(all(test, feature = "test-support"))]
mod tests;
mod units;
mod web;
pub use calculator::Calculator;
pub use captcha::{Captcha, CaptchaState};
pub use clock::{Clock, WorldClock};
pub use consent::ConsentDialog;
pub use cookies::CookieBanner;
pub use flashcards::Flashcards;
pub use licenses::{LicenseViewer, Package};
pub use poll::Poll;
pub use quiz::{Quiz, QuizQuestion};
pub use scanner::QrCodeScanner;
pub use stopwatch::Stopwatch;
pub use survey::{Answer, Question, Survey};
pub use units::UnitConverter;
pub use web::{IframeEmbed, WebSource, WebView};