Commit graph

32 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
1454bcda4c
Fix README or arc example 2022-07-10 15:20:59 +02:00
Héctor Ramón Jiménez
4b8ae71b63
Add and purify arc example by @ThatsNoMoon 2022-07-10 15:15:29 +02:00
Héctor Ramón Jiménez
e548d6c0d5
Fix Wasm build of todos example 2022-07-09 18:49:50 +02:00
Héctor Ramón Jiménez
2065a40f64
Fix clippy lints for all crates and features
... and check those in CI as well!
2022-07-09 18:43:05 +02:00
Héctor Ramón Jiménez
1dd1a2f97f
Introduce StyleSheet for Text widget 2022-06-29 10:51:01 +02:00
Héctor Ramón Jiménez
fc13bb3d65
Implement theme styling for Canvas 2022-06-07 05:24:43 +02:00
Héctor Ramón Jiménez
f92afa7950
Use Theme::Dark in pure_game_of_life example 2022-06-07 04:57:10 +02:00
Héctor Ramón Jiménez
396735b682
Implement theme styling for PickList and Menu 2022-06-07 04:51:44 +02:00
Héctor Ramón Jiménez
97555e67af
Implement theme styling for Container 2022-06-07 04:11:24 +02:00
Héctor Ramón Jiménez
ce53d3933c
Implement theme styling for TextInput 2022-06-07 01:11:35 +02:00
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