slint/internal/compiler/llr
Tobias Hunger 382b5486ca
Component container subcomponent (#4355)
This changes the component containers away from using a "MAGIC" index in the
placeholder dynamic item tree node it creates. These are hard to
integrate across sub-components.

Use index numbers right after the index numbers used by repeaters and
"extend" the repeater offset by the number of component containers in
the sub-component. This way we can piggy-back on the forwarding of
repeaters.

This has one annoying side-effect: We do have indices in our item tree
that are out of range for a repeater. But I think that is acceptable
considering that we never materialize that array anyway.
2024-01-17 11:26:08 +01:00
..
optim_passes Add set-selection-offsets function to TextInput, TextEdit, and LineEdit (#4197) 2024-01-06 11:12:53 +01:00
expression.rs janitor: Fix clippy errors about wrong clone implementations 2023-09-20 20:23:38 +02:00
item_tree.rs Component container subcomponent (#4355) 2024-01-17 11:26:08 +01:00
lower_expression.rs Compiler: be more granular for checking for explicit layout constraint 2023-10-12 12:55:00 +02:00
lower_to_item_tree.rs Component container subcomponent (#4355) 2024-01-17 11:26:08 +01:00
pretty_print.rs Change item indices from usize to u32 2023-09-12 08:53:58 +02:00