summaryrefslogtreecommitdiffstats
path: root/pure/src/element.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-07-27Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez1-346/+0
2022-05-14Draft first-class `Theme` supportLibravatar Héctor Ramón Jiménez1-1/+6
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-06Use `Borrow` instead of `AsRef` to allow easier castingLibravatar Héctor Ramón Jiménez1-3/+13
2022-05-06Take `AsRef<Widget>` instead of `Element` in `Tree` APILibravatar Héctor Ramón Jiménez1-0/+8
2022-05-02Write documentation for `iced_pure`Libravatar Héctor Ramón Jiménez1-0/+146
2022-03-29Loose lifetime bounds in `pure::Widget` implementationsLibravatar Héctor Ramón Jiménez1-2/+2
2022-03-26Forward overlay() calls in iced_pure::element::MapLibravatar Marien Zwart1-2/+16
If Map does not override overlay(), calling map() on a pure Element breaks any pick_list inside it (its overlay does not appear). Fix it by implementing overlay() the same way iced_native::element::Map does.
2022-03-16Export widget modules in `iced_pure`Libravatar Héctor Ramón Jiménez1-0/+0
... and fix collisions with the new `helpers`
2022-02-16Introduce `Tag` and `State` opaque types in `iced_pure::widget::tree`Libravatar Héctor Ramón Jiménez1-9/+8
2022-02-12Implement pure version of `todos` example :tada:Libravatar Héctor Ramón Jiménez1-1/+148
The `Widget` trait in `iced_pure` needed to change a bit to make the implementation of `Element::map` possible. Specifically, the `children` method has been split into `diff` and `children_state`.
2022-02-11Allow pure widgets to borrow from `Application` data :tada:Libravatar Héctor Ramón Jiménez1-4/+4
2022-02-11Rename `iced_virtual` to `iced_pure`Libravatar Héctor Ramón Jiménez1-0/+0
`virtual` is a reserved keyword in Rust :grimacing:
2022-02-10Draft virtual `Button`, `Column`, and `Text`Libravatar Héctor Ramón Jiménez1-0/+21
... as well as a very naive diffing strategy!