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