Commit graph

779 commits

Author SHA1 Message Date
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
Richard
e31566d430 Improve shader version selection 2022-01-19 17:40:17 -03:00
Richard
afdf3e799a Add env_logger to game_of_life 2022-01-19 17:40:17 -03:00
Héctor Ramón Jiménez
ddbbe7353b
Simplify run and unfold helpers to build a Subscription 2022-01-17 15:29:41 +07:00
Héctor Ramón Jiménez
88f1168a0b
Update README file of websocket example 2022-01-16 19:59:59 +07:00
Héctor Ramón Jiménez
dc50a2830a
Draft websocket example 🎉 2022-01-16 15:50:19 +07:00
Héctor Ramón Jiménez
2f557731f3
Make clock example responsive 2022-01-15 11:56:19 +07:00
Héctor Ramón Jiménez
75348c5b8c
Use subscription::run for download_progress example 2022-01-15 11:45:19 +07:00
Héctor Ramón
b7bc169120
Merge pull request #1195 from iced-rs/fix/vulnerabilities
Fix `cargo-audit` vulnerabilities
2022-01-14 13:50:30 +07:00
Héctor Ramón Jiménez
5f9cf991a7
Update reqwest in examples
... and rely on `rustls` instead of `native-tls`
2022-01-13 19:56:16 +07:00
Héctor Ramón Jiménez
aaf2444e9f
Replace chrono with time in clock example 2022-01-12 20:16:33 +07:00
Héctor Ramón Jiménez
67f878b890
Remove support for old tokio crate 2022-01-12 20:03:18 +07:00
Héctor Ramón Jiménez
c85caff7a5
Increase text size of pane dimensions in pane_grid example 2022-01-12 11:19:51 +07:00
Héctor Ramón Jiménez
870d651f35
Implement Widget::overlay for Responsive widget 2022-01-12 11:15:05 +07:00
Héctor Ramón Jiménez
90c20ac46b
Draft Responsive widget 2022-01-11 10:47:56 +07:00
Héctor Ramón Jiménez
a7d5bf0d91
Fix integration_wgpu example 2022-01-04 16:18:34 +07:00
Héctor Ramón
7ab584ce96
Merge pull request #1175 from EkardNT/sandbox-exit
Allow Sandbox applications to exit.
2022-01-03 16:23:01 +07:00
Héctor Ramón
4db0f4a570
Merge pull request #1168 from LordRatte/patch-1
Change GitHub namespace to new org to prevent link-rot
2022-01-03 12:13:06 +07:00
Héctor Ramón Jiménez
ecd0997576
Center contents with Container in exit example
... also add some `padding` to buttons!
2022-01-03 12:09:07 +07:00
LordRatte
ff2a470fd8
Change GitHub namespace to new org for all files 2022-01-03 11:36:13 +07:00
Fey Naomi Schrewe
bc26b52044
Fix memory leak in opengl integration example 2022-01-02 19:21:52 +01:00
Drake Tetreault
8a70d10401 Allow Sandbox applications to exit. 2021-12-29 09:34:37 -08:00
Nathan Henrie
a88bf0fed7 Fix path to ferris.png
Fixes https://github.com/iced-rs/iced/issues/1156
2021-12-11 16:51:54 -07:00
Héctor Ramón Jiménez
fa9fb65ace
Remove unused fields in pokedex example 2021-12-07 16:13:53 +07:00
Héctor Ramón Jiménez
37c72793d0
Remove unused field in solar_system example 2021-12-07 16:12:34 +07:00
Héctor Ramón Jiménez
f7792d89d6
Hide Box allocation in component::view
... we may be able to avoid it with generics in the future.
2021-11-29 15:04:13 +07:00
Héctor Ramón Jiménez
010b62b9ee
Draft component example 🎉 2021-11-29 15:04:13 +07:00
Daniel May
1a6c912332 Add checkbox text_color styling 2021-11-14 11:35:12 +01:00
Héctor Ramón
f084ed8df1
Merge pull request #1106 from RamType0/RemoveUnnecessaryStringAllocationInExample
Remove unnecessary String allocation
2021-11-10 23:59:35 +07:00
Héctor Ramón Jiménez
e6627bb96d
Fix formatting with cargo fmt 2021-11-10 16:35:13 +07:00
Héctor Ramón Jiménez
9fe65ed729
Rename Renderer::present to with_primitives 2021-11-05 15:38:27 +07:00
Héctor Ramón Jiménez
023aded277
Rename fill_rectangle to fill_quad in Renderer 2021-11-04 19:24:11 +07:00