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
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
ImgBotApp
c70929bf2c
[ImgBot] Optimize images
...
*Total -- 967.49kb -> 703.99kb (27.24%)
/docs/images/radio.png -- 5.29kb -> 1.58kb (70.18%)
/docs/images/text_input.png -- 3.18kb -> 1.27kb (60.17%)
/docs/images/checkbox.png -- 5.56kb -> 2.22kb (60.17%)
/examples/color_palette/screenshot.png -- 102.74kb -> 43.75kb (57.42%)
/examples/tour/images/ferris.png -- 32.29kb -> 15.91kb (50.73%)
/docs/graphs/ecosystem.png -- 124.13kb -> 67.44kb (45.67%)
/docs/graphs/iced.png -- 97.75kb -> 53.27kb (45.5%)
/docs/graphs/native.png -- 57.90kb -> 33.67kb (41.85%)
/docs/images/text.png -- 4.95kb -> 2.99kb (39.61%)
/docs/graphs/foundations.png -- 18.19kb -> 11.19kb (38.46%)
/examples/scrollable/screenshot.png -- 144.78kb -> 102.53kb (29.18%)
/examples/svg/resources/tiger.svg -- 67.02kb -> 64.50kb (3.76%)
/docs/logo.svg -- 1.37kb -> 1.35kb (1.57%)
/docs/images/todos_desktop.jpg -- 302.36kb -> 302.33kb (0.01%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2022-02-07 23:13:29 +07:00
Theo Robinson
4830a17d65
Fix links
...
Change dead links to updated ones.
Change/Convert all file links to relative links so they are branch
agnostic.
2022-02-07 23:13:25 +07:00
Héctor Ramón
c15701581e
Merge pull request #1225 from tarkah/feat/canvas-line-dash
...
Add line dash API
2022-02-04 14:44:08 +07:00
Héctor Ramón Jiménez
f56c8a7361
Ask for a slice of segments instead of ownership in LineDash
2022-02-03 17:18:05 +07:00
Héctor Ramón Jiménez
12060f823f
Point iced_web links to the new standalone repository
2022-01-31 21:21:44 +07:00
Héctor Ramón Jiménez
2f57051283
Add index.html for todos and tour example
...
You can use `trunk serve` to easily compile them!
2022-01-29 16:08:16 +07:00
Vladyslav Nikonov
bdca20fc4a
Experimental wgpu WebGL backend support
...
- Added missing `draw_cache_align_4x4` call for `brush_glyph` on wasm32 target
- Added WebGL support to `integratio_wgpu` example
- Fixed test.yml CI workflow
- Removed spir-v shader in `integration_wgpu`; Fixed formatting
- Removed redundant `BoxStream` typedef
2022-01-28 21:37:14 +07:00
Cory Forsstrom
76c03de587
Fix examples, no longer Copy
2022-01-27 10:04:23 -08:00
Cory Forsstrom
39800b445f
Increase gap in example
2022-01-27 10:01:16 -08:00
Cory Forsstrom
e835cea03c
Add line dash API
2022-01-27 09:40:52 -08:00
Héctor Ramón
9b3cab82ef
Merge pull request #1160 from derezzedex/dev/arm-support
...
feat: add support to ARM devices (and older hardware)
2022-01-26 13:54:21 +07:00
Héctor Ramón Jiménez
93285d85b0
Remove ambiguous text_color attributes for Checkbox and Radio
...
Instead, always use a `StyleSheet`.
2022-01-20 18:34:15 +07:00
Richard
01f67a2c1f
Export glow in iced_glow
2022-01-19 17:40:17 -03:00
Richard
cc3cf4dfc2
Export iced_winit::conversion in iced_glutin
2022-01-19 17:40:17 -03:00