Commit graph

2487 commits

Author SHA1 Message Date
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
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
3a22faaa20
Remove unused code warnings 2022-06-07 04:55:46 +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
2933ac7355
Remove style module leftover in scrollable example 2022-06-07 03:28:41 +02:00
Héctor Ramón Jiménez
de21a651c0
Implement theme styling for Scrollable 2022-06-07 03:26:48 +02:00
mtkennerly
20780f36d1
Prevent pane grid title bar content and controls from overlapping 2022-06-07 07:30:44 +08: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
835877fc63
Implement theme styling for Checkbox 2022-06-04 03:26:53 +02:00
Héctor Ramón Jiménez
1388d71f03
Expose palette module in theme 2022-06-04 03:04:43 +02:00
Héctor Ramón
260bbc5690
Merge pull request #1356 from casperstorm/fix/readme
fix: corrected images in `README.md` to be similar height.
2022-06-02 10:09:20 -04:00
Casper Rogild Storm
ab7698f1f6
corrected images in README to be similar height 2022-06-02 10:11:19 +02:00
Héctor Ramón Jiménez
77dc9dc2cb
Implement theme styling for ProgressBar 2022-06-01 02:40:42 +02:00
Héctor Ramón Jiménez
e4ca779e43
Introduce Custom style variant for Rule 2022-06-01 02:04:23 +02:00
Héctor Ramón Jiménez
c275fde67a
Implement theme styling for Rule 2022-06-01 01:56:46 +02:00
Héctor Ramón Jiménez
6f69df3d41
Implement theme styling for PaneGrid 2022-06-01 01:46:14 +02:00
Héctor Ramón Jiménez
a206d22670
Use Theme background in styling example 2022-06-01 01:46:08 +02:00
Héctor Ramón Jiménez
3e2b6247f7
Implement theme styling for Toggler
... and wire up theming to the `styling` example.
2022-06-01 01:46:04 +02:00
Héctor Ramón Jiménez
cb712f3b84
Bump versions 🎉 2022-05-31 05:42:43 +02:00
Héctor Ramón
1830a21a76
Merge pull request #1354 from iced-rs/fix/wgpu-modern-limits
Try `Limits::default` in `iced_wgpu` before `downlevel_defaults`
2022-05-30 23:20:01 -04:00
Héctor Ramón Jiménez
33653b7667
Try Limits::default in iced_wgpu before downlevel_defaults 2022-05-31 04:17:52 +02:00
Héctor Ramón
d26b3f0402
Merge pull request #1349 from iced-rs/fix/subscription-cancelation
Fix `Subscription` cancelation when never awaiting
2022-05-30 17:57:29 -04:00
Héctor Ramón
824bef6162
Merge pull request #1353 from tarkah/fix/overlay-status-capture
Don't process captured overlay statuses
2022-05-30 17:52:58 -04:00
Cory Forsstrom
cec032f9ed Don't process captured overlay statuses 2022-05-30 13:25:27 -07:00
Héctor Ramón Jiménez
ecd00cf02b
Fix Subscription cancelation when never awaiting
`StreamExt::forward` will keep polling a ready `Stream` in a loop. If the
`Stream` is always ready, the `poll` method of `Forward` effectively
blocks (see https://github.com/rust-lang/futures-rs/issues/2552).

The fix consists in manually implementing a simpler version of `Forward`.
2022-05-27 19:54:58 +02:00