From 668c1a80380625bb8b2e4b888e45f2a6e58571ab Mon Sep 17 00:00:00 2001 From: faumaray Date: Tue, 20 Oct 2026 20:37:49 +0300 Subject: [PATCH] Give the bridge struct counts as they are in docs/ui.md The text said 49 (the plan's figure); bridge.rs has 51 and studio_bridge.rs 10, and MytsBadge and MytsForm stay in Slint. Co-Authored-By: Claude Sonnet 5.5 --- docs/ui.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/ui.md b/docs/ui.md index 4c68fee..58c7dd9 100644 --- a/docs/ui.md +++ b/docs/ui.md @@ -88,9 +88,11 @@ this file is `voelin_ui_vm::chat`. The boundary: - **Values.** A picture is an `ImageRef` (`Arc`: a file of the engine's cache with its stamp, decoded RGBA pixels, SVG or memory bytes, or none; `size()` reads a file's header). A colour is an `Rgb(u32)`, a - shared string an `Arc`, a list a `Vec`. The 49 bridge structs - (`bridge.rs`, `studio_bridge.rs`) are plain `Clone + PartialEq + Debug` - structs with the field names of the Slint structs in `bridge.slint`. + shared string an `Arc`, a list a `Vec`. The bridge structs (51 in + `bridge.rs`, 10 in `studio_bridge.rs`) are plain `Clone + PartialEq + Debug` + structs with the field names of the Slint structs in `bridge.slint` and + `studio-bridge.slint`; `MytsBadge` and `MytsForm`, which have no data source + in this build, stay Slint-only. - **Lists.** `list::diff(old, new)` gives `Changes`: updates, removals and insertions by index, in the order to apply them. `bind/rows.rs` applies them to a `VecModel` and converts only the changed rows; a GPUI view