Commit graph

724 commits

Author SHA1 Message Date
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
3e8f4cdd13
Add "Theming" section to the tour example 2022-05-26 05:31:55 +02:00
Héctor Ramón Jiménez
3a820b45f3
Implement theme styling for Slider 2022-05-26 00:40:27 +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
Héctor Ramón Jiménez
27fdc70756
Merge branch 'master' into dev/system-information 2022-05-04 17:19:28 +02:00
Héctor Ramón Jiménez
1aeb8b8340
Show Loading screen when refreshing in system_information example 2022-05-04 15:21:16 +02:00
Héctor Ramón Jiménez
93bfe2c75e
Expose system module through feature flag 2022-04-30 13:37:57 +02:00
Richard
5eefa5d4ea Simplify the QueryInformation Action 2022-04-27 17:16:32 -03:00
Richard
8643fbef90 Rename system::information to fetch_information 2022-04-27 15:42:55 -03:00
Richard
c9ea1f11de Add memory usage to Information struct 2022-04-26 18:59:08 -03:00
Richard
5bfe887e3d Improve example readability 2022-04-26 18:58:55 -03:00
Richard
56065fe959 Add graphics information to example 2022-04-26 18:58:54 -03:00
Richard
d9853165e7 Add unformated memory total to example 2022-04-26 18:57:37 -03:00
Richard
53538b65b1 Add system_information example 2022-04-26 18:57:00 -03:00
Casper Rogild Storm
5d67f9988c
Implemented Tooltip as Pure 2022-04-22 13:35:53 +02:00
Héctor Ramón
0eef527fa5
Merge pull request #1284 from iced-rs/virtual-widgets
Stateless widgets
2022-03-23 17:11:14 +07: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
7ed0dbbcc5
Merge pull request #1288 from tarkah/update-palette-0.6
update palette to 0.6
2022-03-17 15:51:39 +07:00
Cory Forsstrom
f2b0e02c25 update palette to 0.6 2022-03-16 16:14:08 -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
6b0cbdd45a
Remove unnecessary unreachable! in download_progress example 2022-03-15 22:36:31 +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
c52fd089f1
Use associated type for Message in a canvas::Program 2022-03-09 18:29:10 +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
c35496d80f
Merge branch 'master' into virtual-widgets 2022-03-07 15:29:43 +07:00
Héctor Ramón Jiménez
1313c94e3b
Remove hash_layout method from Widget trait 2022-02-23 21:31:54 +07:00
Héctor Ramón Jiménez
33b9b50883
Showcase only Contain, Cover, and Fill image modes in tour 2022-02-23 16:32:12 +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
6f6ce15a20
Keep using Ferris in the image section of the tour
Wide ferris is cute :3
2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
c910e23919
Expose ContentFit in root 2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
0aff444941
Rename Image::fit to content_fit
... just for consistency!
2022-02-16 18:19:37 +07:00
Emi Simpson
ca1fcdaf14
Add support for ContentFit for Image 2022-02-16 18:19:33 +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
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
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
Héctor Ramón Jiménez
e03de01988
Implement Into<Element> for &'static str in iced_virtual 2022-02-10 23:16:21 +07:00
Héctor Ramón Jiménez
5225e0e304
Draft virtual Button, Column, and Text
... as well as a very naive diffing strategy!
2022-02-10 21:54:13 +07:00
Héctor Ramón Jiménez
adce9e0421
Update Rust edition to 2021 🎉 2022-02-09 17:57:44 +07:00
Héctor Ramón Jiménez
554e0a090e
Add index.html to counter example 2022-02-09 17:50:12 +07:00