Héctor Ramón Jiménez
d5bc610d01
Fix examples and doc-tests
2022-05-26 23:12:11 +02:00
Héctor Ramón Jiménez
cf0230072c
Rename Variant to Style and Style to Appearance
2022-05-26 23:07:34 +02:00
Héctor Ramón Jiménez
03eda9b162
Let a Theme control the background color of an application
...
... and remove `Application::background_color`
2022-05-25 05:01:18 +02:00
Héctor Ramón Jiménez
664251f3f5
Draft first-class Theme support
...
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00
Casper Rogild Storm
5d67f9988c
Implemented Tooltip as Pure
2022-04-22 13:35:53 +02:00
Héctor Ramón Jiménez
32fd8dadda
Reintroduce generic Message type for canvas::Program
...
As it is useful to make the `Message` completely free in many
implementations.
2022-03-18 22:13:52 +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
cdd906f563
Implement pure version of pane_grid example 🎉
2022-03-14 17:44:29 +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
7d7064a44d
Implement pure version of game_of_life example 🎉
2022-03-09 19:14:57 +07:00
Héctor Ramón Jiménez
7d9ab71790
Remove superfluous files from pure examples
2022-03-08 22:08:38 +07:00
Héctor Ramón Jiménez
b50e208f31
Implement pure::Responsive in iced_lazy
2022-03-07 18:04:13 +07:00
Héctor Ramón Jiménez
9b23ea698e
Implement pure version of component example
2022-02-17 19:09:26 +07:00
Héctor Ramón Jiménez
2737b21d34
Implement pure version of pick_list example 🎉
2022-02-16 17:16:34 +07:00
Héctor Ramón Jiménez
cff891833b
Implement pure version of the tour example 🎉
2022-02-13 22:19:43 +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
dee3dba632
Reuse Text widget from iced_native in iced_pure
2022-02-12 14:22:17 +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
66d69b5c9a
Expose iced_pure through a pure feature in iced
...
Besides exposing the `iced_pure` crate, enabling the `pure` feature also
provides pure versions of both the `Application` and `Sandbox` traits!
🎉
2022-02-11 17:51:33 +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