Initial public release of Warp.

Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b
This commit is contained in:
David Stern
2026-04-28 08:43:33 -05:00
commit 0dbd3d567a
4982 changed files with 1431549 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
use pathfinder_color::ColorU;
use warpui::{elements::Rect, AppContext, Element, Entity, TypedActionView, View};
pub struct BlurredView {}
impl Entity for BlurredView {
type Event = ();
}
impl View for BlurredView {
fn ui_name() -> &'static str {
"RootView"
}
/// Renders a transparent red rectangle. The blur effect is applied on the window (see
/// `open_new()`.
fn render(&self, _: &AppContext) -> Box<dyn Element> {
Rect::new()
.with_background_color(ColorU::new(255, 0, 0, 50))
.finish()
}
}
impl TypedActionView for BlurredView {
type Action = ();
}