GPU-accelerated UI toolkit (Vulkan)
git clone https://git.lucas.co/cce-ui.git
rename: refer to cce-mail, not cce-email
Comment and test-fixture references only; the crate was renamed.
Co-Authored-By: Claude <[email protected]>
docs/rfc-core-rebuild.md | 6 +++---
src/input.rs | 8 ++++----
src/widget/container/paginator.rs | 4 ++--
src/widget/model.rs | 2 +-
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/docs/rfc-core-rebuild.md b/docs/rfc-core-rebuild.md
index cbdd267..9c5316b 100644
--- a/docs/rfc-core-rebuild.md
+++ b/docs/rfc-core-rebuild.md
@@ -649,7 +649,7 @@ Constraint respected: **each crate still builds standalone** — the new core is
`Element::tick` and `Element::layout`, the legacy cadence. **`Paint::
aggregates_child_extra_quads`** — legacy container `extra_quads` served the CHILDREN's
chrome only, while the widget's own background quad lived in `all_quads` alone;
- cce-email and cce-layout-interface render the tab column through `extra_quads` over
+ cce-mail and cce-layout-interface render the tab column through `extra_quads` over
their own backgrounds (emitting the bg there would double-blend), and cce-test-interface
renders through `all_quads` (dropping the bg there would blank it). The adapter's
`all_quads` now draws own prims from a shared `own_plain_quads()` helper instead of
@@ -1263,7 +1263,7 @@ Constraint respected: **each crate still builds standalone** — the new core is
last app is across," and it is not:
- The `view*`/`text_items` paths CANNOT be deleted yet: SIX apps still
implement them — cce-test-interface (2.1k), cce-authenticator (0.9k),
- cce-display-manager (1.5k), cce-email (2.5k), cce-layout-interface
+ cce-display-manager (1.5k), cce-mail (2.5k), cce-layout-interface
(3.8k), cce-status-interface (4.2k). Each needs its own Phase-6-style
migration (display-list flip at minimum; dissolutions as found).
Suggested order: smallest/least-critical first (test-interface,
@@ -1316,7 +1316,7 @@ Constraint respected: **each crate still builds standalone** — the new core is
exit 144, left the tree clean at the old file) — had to re-apply and commit
immediately. Verify `git log`/`grep display_list` actually stuck before
moving on.
- - **6ai — cce-email across (4 of 6); the flip FIXED invisible list/detail text.
+ - **6ai — cce-mail across (4 of 6); the flip FIXED invisible list/detail text.
DONE (live-verified: inbox list of 3 emails, detail placeholder, and on click
the full detail view — subject/From/To/Date/body + Reply/Delete/Mark-Unread
toolbar).** view() body (all plain quads) → display_list() via a small
diff --git a/src/input.rs b/src/input.rs
index 7b70c76..c1823d8 100644
--- a/src/input.rs
+++ b/src/input.rs
@@ -453,9 +453,9 @@ cce-files {
// Not overridden: falls back to cce-ui.
assert_eq!(c.resolve("cce-files", "close_search").unwrap().chord, "escape");
// Unknown app: pure cce-ui fallback.
- assert_eq!(c.resolve("cce-email", "open_search").unwrap().chord, "ctrl+f");
+ assert_eq!(c.resolve("cce-mail", "open_search").unwrap().chord, "ctrl+f");
// Nowhere: compiled-in default.
- assert_eq!(c.resolve_chord("cce-email", "save", "ctrl+s"), "ctrl+s");
+ assert_eq!(c.resolve_chord("cce-mail", "save", "ctrl+s"), "ctrl+s");
}
const SETTINGS_SAMPLE: &str = r#"
@@ -514,9 +514,9 @@ cce-files {
};
assert_eq!(f("cce-files", "trackpad"), Some(0.6));
assert_eq!(f("cce-files", "mouse"), Some(0.8)); // generic app value
- assert_eq!(f("cce-email", "trackpad"), Some(1.25)); // cce-ui fallback
+ assert_eq!(f("cce-mail", "trackpad"), Some(1.25)); // cce-ui fallback
// The global input block is not in the client chain.
- assert_eq!(c.resolve_setting("cce-email", "mouse", "accel_speed"), None);
+ assert_eq!(c.resolve_setting("cce-mail", "mouse", "accel_speed"), None);
}
#[test]
diff --git a/src/widget/container/paginator.rs b/src/widget/container/paginator.rs
index 2993902..5a7e2e7 100644
--- a/src/widget/container/paginator.rs
+++ b/src/widget/container/paginator.rs
@@ -9,7 +9,7 @@
//! the ctx registry every frame — load-bearing for the spatial grid (the registered strip is
//! what makes the sidebar block backplate drags).
//! - [`Paint::aggregates_child_extra_quads`] + [`Paint::forwarded_highlight`]: legacy
-//! `extra_quads` served the strip's chrome only (cce-email and cce-layout-interface render
+//! `extra_quads` served the strip's chrome only (cce-mail and cce-layout-interface render
//! the tab column through that getter — the paginator's own background quads live in
//! `all_quads` alone), and legacy `highlight_quad` forwarded to the strip's (the hovered-tab
//! tint cce-layout-interface draws directly).
@@ -197,7 +197,7 @@ impl Paint for Paginator {
}
}
- /// Legacy `extra_quads` served the strip's + selected page's chrome only — cce-email and
+ /// Legacy `extra_quads` served the strip's + selected page's chrome only — cce-mail and
/// cce-layout-interface draw the tab column through this getter, over their own backgrounds.
fn aggregates_child_extra_quads(&self) -> bool {
true
diff --git a/src/widget/model.rs b/src/widget/model.rs
index f63a6cb..6959633 100644
--- a/src/widget/model.rs
+++ b/src/widget/model.rs
@@ -277,7 +277,7 @@ pub trait Paint {
/// serves the visible children's `extra_quads` — and ONLY those, like the legacy container
/// overrides (Paginator returned its strip's + selected page's chrome; its own background
/// quad lived in `all_quads` alone). Hosts that render a container through the plain
- /// `extra_quads` getter (cce-email's and cce-layout-interface's sidebar draw) read exactly
+ /// `extra_quads` getter (cce-mail's and cce-layout-interface's sidebar draw) read exactly
/// this view. The widget's own [`paint`](Paint::paint) prims still reach `all_quads` and
/// the scene walk. Default: off (a leaf's `extra_quads` is its own prims).
fn aggregates_child_extra_quads(&self) -> bool {