summaryrefslogtreecommitdiffstats
path: root/pure/src/widget.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-07-27Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez1-149/+0
2022-06-29Introduce `StyleSheet` for `Text` widgetLibravatar Héctor Ramón Jiménez1-1/+1
2022-05-14Draft first-class `Theme` supportLibravatar Héctor Ramón Jiménez1-1/+5
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-02Write documentation for `iced_pure`Libravatar Héctor Ramón Jiménez1-11/+38
2022-04-22Implemented Tooltip as PureLibravatar Casper Rogild Storm1-0/+2
2022-03-22Implement `pure` version of `Svg` widgetLibravatar Héctor Ramón Jiménez1-0/+2
2022-03-16Export widget modules in `iced_pure`Libravatar Héctor Ramón Jiménez1-160/+9
... and fix collisions with the new `helpers`
2022-03-14Implement `pure` version of `PaneGrid` widgetLibravatar Héctor Ramón Jiménez1-0/+2
2022-03-10Implement `pure` version of `ProgressBar` widgetLibravatar Héctor Ramón Jiménez1-0/+15
2022-03-10Implement `pure` version of `Rule` widgetLibravatar Héctor Ramón Jiménez1-0/+12
2022-02-17Implement `pure::Component` in `iced_lazy`Libravatar Héctor Ramón Jiménez1-2/+2
2022-02-16Add `pick_list` function helper in `iced_pure::widget`Libravatar Héctor Ramón Jiménez1-0/+15
2022-02-16Add `overlay` support in `iced_pure` and port `PickList` :tada:Libravatar Héctor Ramón Jiménez1-0/+12
2022-02-16Introduce `Tag` and `State` opaque types in `iced_pure::widget::tree`Libravatar Héctor Ramón Jiménez1-8/+12
2022-02-13Implement `Space` in `iced_pure`Libravatar Héctor Ramón Jiménez1-0/+10
2022-02-13Implement `Radio` in `iced_pure`Libravatar Héctor Ramón Jiménez1-0/+16
2022-02-13Expose additional helpers in `iced::pure`Libravatar Héctor Ramón Jiménez1-4/+14
2022-02-13Implement `Toggler` in `iced_pure`Libravatar Héctor Ramón Jiménez1-0/+2
2022-02-13Implement `Slider` in `iced_pure`Libravatar Héctor Ramón Jiménez1-2/+17
2022-02-13Implement `Image` in `iced_pure`Libravatar Héctor Ramón Jiménez1-0/+7
2022-02-12Implement pure version of `todos` example :tada:Libravatar Héctor Ramón Jiménez1-3/+7
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-12Implement `TextInput` in `iced_pure`Libravatar Héctor Ramón Jiménez1-0/+14
2022-02-12Implement `Scrollable` in `iced_pure`Libravatar Héctor Ramón Jiménez1-0/+9
2022-02-12Implement `Checkbox` in `iced_pure`Libravatar Héctor Ramón Jiménez1-0/+13
2022-02-12Reuse `Text` widget from `iced_native` in `iced_pure`Libravatar Héctor Ramón Jiménez1-1/+1
2022-02-12Implement `Container` widget in `iced_pure`Libravatar Héctor Ramón Jiménez1-0/+11
2022-02-11Implement `Row` in `iced_pure`Libravatar Héctor Ramón Jiménez1-0/+6
2022-02-11Allow pure widgets to borrow from `Application` data :tada:Libravatar Héctor Ramón Jiménez1-7/+7
2022-02-11Expose function helpers to build widgets in `pure::widget`Libravatar Héctor Ramón Jiménez1-0/+17
`button("Hello")` is easier to write and read than `Button::new("Hello")`.
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-30/+51
... as well as a very naive diffing strategy!
2022-02-09Draft `iced_virtual` subcrateLibravatar Héctor Ramón Jiménez1-0/+52
The idea here is to expose a set of "virtual widgets" that can be used with a `Virtual` widget and its `virtual::State`. A virtual widget is a widget that does not contain any state, but instead is a "virtual" representation of the "real" widget. The real widgets are stored in the `virtual::State`. Every time a new virtual widget tree is created during `view`, it is compared to the previous one and "real" widgets are added / removed to the `virtual::State`. Effectively, this removes the need to keep track of local widget state in the application state and allows `view` to take an immutable reference to `self`. To summarize, using this crate should allow users to remove `State` structs in their application state. Eventually, the strategy used here may be adopted generally and, as a result, all of the widgets in `iced_native` would be replaced!