Commit graph

27 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
c35496d80f
Merge branch 'master' into virtual-widgets 2022-03-07 15:29:43 +07:00
Héctor Ramón Jiménez
da45b6c162
Implement pure::Component in iced_lazy 2022-02-17 19:08:54 +07:00
Héctor Ramón Jiménez
0ca066277a
Fix overlay translation for Scrollable in iced_pure 2022-02-16 17:15:56 +07:00
Héctor Ramón Jiménez
6e242fe0e5
Add pick_list function helper in iced_pure::widget 2022-02-16 17:15:43 +07:00
Héctor Ramón Jiménez
019af8ddbf
Add overlay support in iced_pure and port PickList 🎉 2022-02-16 17:07:25 +07:00
Héctor Ramón Jiménez
35e9b75e41
Introduce Tag and State opaque types in iced_pure::widget::tree 2022-02-16 15:44:50 +07:00
Héctor Ramón Jiménez
6689ede6d8
Implement Space in iced_pure 2022-02-13 22:18:21 +07:00
Héctor Ramón Jiménez
53f3820432
Implement Radio in iced_pure 2022-02-13 22:13:47 +07:00
Héctor Ramón Jiménez
e50e639b0e
Expose additional helpers in iced::pure 2022-02-13 19:23:51 +07:00
Héctor Ramón Jiménez
0fec0a2b77
Implement Toggler in iced_pure 2022-02-13 19:01:09 +07:00
Héctor Ramón Jiménez
3f1a45ca47
Implement Slider in iced_pure 2022-02-13 17:20:10 +07:00
Héctor Ramón Jiménez
45455be450
Implement Image in iced_pure 2022-02-13 16:51:31 +07:00
Héctor Ramón Jiménez
09c96a6d81
Add max_width to Column in iced_pure 2022-02-12 18:02:29 +07:00
Héctor Ramón Jiménez
4c61601aa3
Implement missing on_event and mouse_interaction for Checkbox in iced_pure 2022-02-12 17:26:49 +07:00
Héctor Ramón Jiménez
bd22cc0bc0
Implement pure version of todos example 🎉
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-12 17:21:28 +07:00
Héctor Ramón Jiménez
e3108494e5
Implement TextInput in iced_pure 2022-02-12 16:11:37 +07:00
Héctor Ramón Jiménez
b2670e8752
Implement Scrollable in iced_pure 2022-02-12 15:18:31 +07:00
Héctor Ramón Jiménez
178914ec23
Implement Checkbox in iced_pure 2022-02-12 14:26:17 +07:00
Héctor Ramón Jiménez
dee3dba632
Reuse Text widget from iced_native in iced_pure 2022-02-12 14:22:17 +07:00
Héctor Ramón Jiménez
182fb9446c
Implement Container widget in iced_pure 2022-02-12 14:07:04 +07:00
Héctor Ramón Jiménez
8b27083cda
Use TypeId of () for Column and Row tags in iced_pure 2022-02-11 23:40:24 +07:00
Héctor Ramón Jiménez
af122265f6
Implement Row in iced_pure 2022-02-11 23:39:41 +07:00
Héctor Ramón Jiménez
dd3e74e74d
Complete Button in iced_pure 2022-02-11 23:33:03 +07:00
Héctor Ramón Jiménez
ecb3df8e01
Expose reusable Button logic
... and reuse it in `iced_pure`!
2022-02-11 23:17:07 +07:00
Héctor Ramón Jiménez
01c5004959
Allow pure widgets to borrow from Application data 🎉 2022-02-11 22:07:21 +07:00
Héctor Ramón Jiménez
43a7ad72ef
Expose function helpers to build widgets in pure::widget
`button("Hello")` is easier to write and read than
`Button::new("Hello")`.
2022-02-11 18:42:15 +07:00
Héctor Ramón Jiménez
897188317b
Rename iced_virtual to iced_pure
`virtual` is a reserved keyword in Rust 😬
2022-02-11 17:50:12 +07:00