Commit graph

2513 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
f7059a1c9a
Remove unnecessary let bindings in canvas::Frame 2022-07-11 15:59:38 +02:00
Héctor Ramón Jiménez
fe34b7a339
Update lyon to 1.0 🎉
Congrats and thanks to @nical!
2022-07-11 15:53:33 +02:00
Héctor Ramón
d1505a98d9
Merge pull request #1358 from ThatsNoMoon/fix-arc_to
Fix `arc_to`
2022-07-10 18:40:11 +02:00
Héctor Ramón Jiménez
3a26a8ccd4
Use Palette consistently in arc example 2022-07-10 15:23:51 +02:00
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
ThatsNoMoon
53d93a37dd
fix another discrepancy with HTML5 arcTo
HTML5's arcTo does not draw a line from the end of the arc to `b`, so
this should not either.
2022-07-10 15:12:11 +02:00
ThatsNoMoon
20b58e0214
fix arc_to
Fixed `path::Builder::arc_to` to behave the same as [HTML5's `arcTo`]
( https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-arcto ).
2022-07-10 15:12:01 +02:00
Héctor Ramón
9051dd6977
Merge pull request #1379 from PolyMeilex/fix/clippy
Address Clippy lints
2022-07-09 19:03:40 +02:00
Héctor Ramón
c4c1221be6
Merge pull request #1373 from fralonra/patch-2
Update import path in pure canvas example
2022-07-09 18:53:46 +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
d53cc5498b
Add lint workflow to run cargo clippy 2022-07-09 18:07:18 +02:00
Héctor Ramón Jiménez
2f76a10a1d
Fix further clippy lints
... and explicitly annotate crates as well.
2022-07-09 18:03:59 +02:00
Héctor Ramón Jiménez
33a24b5821
Run cargo fmt 2022-07-09 17:07:40 +02:00
Poly
15f794b7a8
Address Clippy lints 2022-07-09 17:07:38 +02:00
Héctor Ramón
fb1e391d06
Fix doc example in pure::canvas::Program
The `widget` module was missing.
2022-07-09 17:03:47 +02:00
Zoron
d4bf49c84c
Update import path in pure canvas example
In current version, `iced::pure::canvas` would be unresolved.
It should be `iced::pure::widget::canvas`.
2022-07-09 17:03:42 +02:00
Héctor Ramón
e053e25d2c
Merge pull request #1362 from iced-rs/theming
Theming
2022-07-09 02:28:52 +02:00
Héctor Ramón Jiménez
7105db97a5
Remove redundant crate::Theme in alias of Element 2022-07-08 23:43:18 +02:00
Héctor Ramón Jiménez
4407385fbe
Make Element aliases in iced compatible with iced_native and iced_pure 2022-07-08 23:38:47 +02:00
Héctor Ramón Jiménez
48bc505cb6
Fix missing docs in iced crate 2022-07-08 23:20:25 +02:00
Héctor Ramón Jiménez
2d6d26cef4
Make widget aliases in iced compatible with iced_native 2022-07-08 20:49:57 +02:00
Héctor Ramón Jiménez
3e643a9d6b
Fix inconsistent styling for Radio and Checkbox 2022-07-08 20:23:38 +02:00
Héctor Ramón Jiménez
3514bd1535
Add theme::Application styling support to Sandbox 2022-07-08 20:13:14 +02:00
Héctor Ramón Jiménez
bb07d017e8
Add Style variant support to application::StyleSheet 2022-07-08 20:07:33 +02:00
Héctor Ramón Jiménez
fa55dff61d
Merge branch 'master' into theming 2022-07-08 19:31:45 +02:00
Héctor Ramón
66eb626300
Merge pull request #1378 from Cupnfish/wgpu-0.13
update `wgpu` to `0.13`
2022-07-03 17:35:31 +02:00
Héctor Ramón Jiménez
9adc20922d
Replace name abbreviation in iced_wgpu 2022-07-03 15:48:32 +02:00
Héctor Ramón Jiménez
3d38d0af91
Simplify format selection in iced_wgpu 2022-07-03 15:30:04 +02:00
Héctor Ramón Jiménez
2010977bd2
Use expect in integration_wgpu example
... together with `first` and `copied`.
2022-07-03 15:27:23 +02:00
Héctor Ramón Jiménez
8b250d12e7
Use latest wgpu_glyph release on crates.io 2022-07-03 15:24:16 +02:00
Cupnfish
390e2a2d34 better wgsl code style 2022-07-02 22:51:51 +08:00
Cupnfish
a88155b2a2 fix wgsl syntax 2022-07-02 22:29:49 +08:00
Cupnfish
64e37b2630 remove unnecessary Cargo.toml formatting 2022-07-02 20:30:28 +08:00
Cupnfish
095ac18c15 replace path to git 2022-07-02 15:55:10 +08:00
Cupnfish
c148557cab update wgpu to 0.13 2022-07-02 15:39:42 +08:00
Héctor Ramón Jiménez
e6e3eff876
Bump versions 🎉 2022-07-01 04:03:24 +02:00
Héctor Ramón
ca185c3ea4
Merge pull request #1376 from iced-rs/fix/canvas-state-tag
Fix `Widget::tag` implementation of `pure::Canvas`
2022-07-01 04:00:32 +02:00
Héctor Ramón Jiménez
9330a83775
Fix Widget::tag implementation of pure::Canvas
Using `P::State` can cause a panic if the `Canvas` has `()` as
`P::State` and replaces a stateless widget in a future `view` call.
2022-07-01 03:37:28 +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
799a7e501d
Merge pull request #1371 from tarkah/feat/pure-text-input-value-override
Allow overriding pure text_input value during draw
2022-06-27 20:38:10 +02:00
Héctor Ramón Jiménez
c807abdfd7
Fix Theme not being refreshed in iced_glutin 2022-06-25 05:30:48 +02:00
Cory Forsstrom
05e025b49f Allow overriding pure text_input value during draw 2022-06-23 15:20:31 -07:00
Héctor Ramón
0f6c62c14f
Merge pull request #1370 from jhannyjimenez/canvas_documentation_clarification
Added more clarification as to how the position and alignment of the …
2022-06-23 22:15:00 +02:00
Héctor Ramón
092dfc34e8
Merge pull request #1361 from mtkennerly/feature/prevent-overlapping-title-bar
Prevent pane grid title bar content and controls from overlapping
2022-06-23 16:11:54 +02:00
Jhanny Jimenez
a983c0c15b Added more clarification as to how the position and alignment of the Canvas Text structure interact 2022-06-22 17:32:55 -04:00
Héctor Ramón
9b46176b26
Merge pull request #1367 from tarkah/fix/wgpu-msaa-alpha-blending
Fix alpha blending for wgpu msaa
2022-06-17 02:32:34 -04:00
Cory Forsstrom
aae880ca5d Fix alpha blending for wgpu msaa 2022-06-16 12:26:03 -07:00
Héctor Ramón Jiménez
449bbb112e
Update web instructions of the tour example 2022-06-10 18:12:54 +02:00