Héctor Ramón Jiménez
d23026d2dd
Bump versions 🎉
2022-05-02 22:07:53 +02:00
Héctor Ramón Jiménez
d98d700c4d
Forbid unused_results and rust_2018_idioms in iced_pure
2022-05-02 20:27:49 +02:00
Héctor Ramón Jiménez
e7d595c7de
Write documentation for iced_pure
2022-05-02 20:16:00 +02:00
Héctor Ramón Jiménez
68e9eb0a9b
Fix broken intra-doc links in documentation
2022-04-30 14:20:52 +02:00
Héctor Ramón Jiménez
ac35fe3edf
Point repository links to 0.4 branch in documentation
2022-04-30 13:54:07 +02:00
Héctor Ramón Jiménez
e33f43af31
Reuse Tooltip draw logic in iced_pure
2022-04-24 20:45:43 +07:00
Héctor Ramón Jiménez
011b7d1112
Reuse tooltip::Position from iced_native in iced_pure
2022-04-24 20:25:49 +07:00
Casper Rogild Storm
5d67f9988c
Implemented Tooltip as Pure
2022-04-22 13:35:53 +02:00
0x192
9b835c2662
Use State::new() for State::default()
2022-03-29 23:31:05 +02:00
0x192
cfc164d83d
Implement Default for pure::State
...
Impure Applications using pure widgets can now use a struct implementing `Default`
2022-03-29 22:55:06 +02:00
Héctor Ramón Jiménez
d9d6dff550
Loose lifetime bounds in pure::Widget implementations
2022-03-29 18:24:17 +07:00
Marien Zwart
323a0b9e61
Forward overlay() calls in iced_pure::element::Map
...
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-26 18:42:26 +11:00
Héctor Ramón Jiménez
ef4c79ea23
Implement pure version of Svg widget
2022-03-22 23:40:08 +07:00
Héctor Ramón Jiménez
9157f5b9e4
Use application lifetime in Into<Element> implementation for &str
2022-03-22 13:27:12 +07:00
Héctor Ramón Jiménez
d7100fd259
Export widget modules in iced_pure
...
... and fix collisions with the new `helpers`
2022-03-16 17:37:19 +07:00
Héctor Ramón Jiménez
6dd187ff08
Implement pure version of PaneGrid widget
2022-03-14 17:44:25 +07:00
Héctor Ramón Jiménez
3efb59dea3
Implement pure version of ProgressBar widget
2022-03-10 17:01:57 +07:00
Héctor Ramón Jiménez
0fbd1d98b5
Implement pure version of Rule widget
2022-03-10 16:58:55 +07:00
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