Commit graph

1216 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
49dbf2c146 Request a redraw only on relevant events 2020-06-09 15:45:57 +02:00
Héctor Ramón
c0a5dc980e
Merge pull request #397 from hecrj/intuitive-pane-grid-resize
Intuitive `PaneGrid` resize
2020-06-09 09:35:01 +02:00
Héctor Ramón Jiménez
8b93c9cb6a Clarify leeway meaning in PaneGrid 2020-06-08 19:41:33 +02:00
Héctor Ramón Jiménez
172bd78a91 Fix PaneGrid documentation example 2020-06-08 18:34:41 +02:00
Héctor Ramón Jiménez
dcc4bb77e9 Remove unused split_cache in pane_grid 2020-06-08 18:25:46 +02:00
Héctor Ramón Jiménez
be0cc2c780 Add leeway support to PaneGrid::on_resize 2020-06-08 18:25:23 +02:00
Héctor Ramón Jiménez
041cab0fa4 Resize PaneGrid without modifier keys 2020-06-08 18:11:29 +02:00
Duncan Freeman
4960a8827e
Add on_release message to Slider (#378)
* Add on_finish callback to Slider

* Fix formatting

* Rename Slider's on_finish to on_release, make the message simply an event without data

* Satisfy Clone impl requirement on Message in integration test

* Only call on_release after dragging a slider
2020-06-08 11:07:45 +02:00
Richard
40750d9b36
Removed empty bind group from integration example (#390) 2020-06-08 11:03:34 +02:00
Voker57
9e01adc964
Replace leftover docs in progress bar module (#396)
* Replace leftover docs in progress bar module

* Fix consistency of `ProgressBar` docs

Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
2020-06-08 10:14:40 +02:00
Héctor Ramón
ca6ff874a1
Merge pull request #387 from hatoo/add-comment
Add a comment of how to clear the display to `integration` example
2020-06-05 17:36:18 +02:00
Héctor Ramón Jiménez
fd3801ed38 Clear frames explicitly in integration example 2020-06-05 15:05:30 +02:00
hatoo
969de1d31c Add a comment of how to clear the display to integration example 2020-06-03 22:01:28 +09:00
Héctor Ramón
4c494c7244
Merge pull request #383 from cedric-h/patch-1
Prevent gratuitous resizing in integration example
2020-06-02 23:10:46 +02:00
Cedric Hutchings
d5b9dee2fd
Attempt to appease rustfmt 2020-06-02 16:48:55 -04:00
Héctor Ramón
e7f0d3809b
Merge pull request #379 from hecrj/canvas-fill-rule
Introduce fill rule setting in `canvas`
2020-06-02 22:43:21 +02:00
Cedric Hutchings
99eda093d6
Prevent gratuitous resizing in integration example
If I didn't miss anything, that `resized` variable is never set back to `false`, meaning that swapchain recreation is retriggered every frame after the first resize.
2020-06-02 16:40:46 -04:00
Héctor Ramón Jiménez
94af348846 Rename Rectangle::round to snap
Also use `ceil` instead of `round`.
Closes #380.
2020-06-02 04:38:55 +02:00
Héctor Ramón Jiménez
ede4440e99 Introduce fill rule setting in canvas 2020-06-02 02:21:07 +02:00
Héctor Ramón Jiménez
b96d87ff69 Revert "Merge pull request #371 from myfreeweb/window-alpha"
This reverts commit 2ba9598f80, reversing
changes made to d34f8e06c8.
2020-06-01 22:07:29 +02:00
Héctor Ramón
2ba9598f80
Merge pull request #371 from myfreeweb/window-alpha
Add custom window background/clear color (incl. transparency) support, fixes #272
2020-06-01 22:01:28 +02:00
Héctor Ramón
d34f8e06c8
Merge pull request #370 from azriel91/improvement/58/feature-gate-font-kit
Improvement/58/feature gate font kit
2020-06-01 21:47:45 +02:00
Greg V
a65d6a11cb Add custom window background/clear color (incl. transparency) support, fixes #272
wgpu would currently ignore the alpha: https://github.com/gfx-rs/wgpu/issues/687

glow (and naively patched wgpu) requires premultiplied alpha, so if you don't
multiply the RGB by the A right now, the semi-transparent color would be wrong
(too bright).

winit with_transparent doesn't seem necessary.
2020-06-01 21:31:19 +03:00
Azriel Hoh
86f0e3d4e2 Update CHANGELOG.md. 2020-05-31 11:00:23 +12:00
Azriel Hoh
ae9521e500 Feature gate font-kit behind "default_system_font" feature. 2020-05-31 11:00:17 +12:00
Héctor Ramón Jiménez
05750bf186 Fix Backend link in iced_glow docs 2020-05-30 03:05:12 +02:00
Héctor Ramón Jiménez
6cb90570a3 Expose Backend in iced_glow 2020-05-30 03:04:16 +02:00
Héctor Ramón Jiménez
6d73b94e9a Fix documentation of Backend in iced_wgpu 2020-05-30 03:03:59 +02:00
Héctor Ramón
96b2afba31
Merge pull request #369 from hecrj/async-wgpu-compositor-creation
Implement async `Compositor::request` in `iced_wgpu`
2020-05-30 00:31:23 +02:00
Héctor Ramón
f8cb3acc48
Merge pull request #365 from Imberflur/text-input-font
Make `Font` an associated type of `text_input::Renderer`
2020-05-29 23:10:14 +02:00
Héctor Ramón Jiménez
3ef49cd51c Re-export Antialiasing in iced_wgpu 2020-05-29 23:09:15 +02:00
Héctor Ramón Jiménez
0691ec3195 Implement async Compositor::request in iced_wgpu 2020-05-29 23:08:34 +02:00
Imbris
490a437b2f Make Font an associated type of text_input::Renderer 2020-05-29 15:37:25 -04:00
Héctor Ramón Jiménez
ab0ee1a8d0 Expose pane_grid::{Node, Content} in iced_glow 2020-05-29 02:24:09 +02:00
Héctor Ramón
01a4d65404
Merge pull request #363 from Imberflur/text-clone
Make the Text widget Clone even if the Renderer isn't
2020-05-29 02:14:09 +02:00
Héctor Ramón
8a864fcce9
Merge pull request #359 from hecrj/improvement/update-wgpu_glyph
Update `wgpu_glyph` and `glyph_brush`
2020-05-29 02:13:26 +02:00
Héctor Ramón Jiménez
0cde20b355 Merge branch 'master' into improvement/update-wgpu_glyph 2020-05-29 02:00:28 +02:00
Héctor Ramón Jiménez
67b6f044e8 Use published version of wgpu_glyph 2020-05-29 01:55:51 +02:00
Héctor Ramón Jiménez
e11b5c614f Revert "Target physical pixels for quads in iced_glow"
This reverts commit 45511a442f.
2020-05-28 22:57:30 +02:00
Héctor Ramón Jiménez
6de0a2c371 Use Sandbox in tour example 2020-05-28 22:50:40 +02:00
Héctor Ramón Jiménez
7f9813d4b3 Revert "Merge pull request #362 from hecrj/fix/target-quad-pixels"
This reverts commit 40501f630d, reversing
changes made to 5324eb1024.
2020-05-28 22:44:52 +02:00
Héctor Ramón
d3db055583
Merge pull request #354 from hecrj/feature/glow-renderer
OpenGL renderer and backend-agnostic graphics subcrate
2020-05-28 21:52:34 +02:00
Héctor Ramón Jiménez
709ed1f3f7 Fix iced_native mention of old window::Backend 2020-05-28 21:30:33 +02:00
Imbris
0a775191ab Loosen bounds on Text Clone impl 2020-05-27 22:12:38 -04:00
Héctor Ramón Jiménez
16c1261d82 Enable doc_cfg for docs.rs in iced_glow 2020-05-28 04:03:51 +02:00
Héctor Ramón
ead4186870
Merge pull request #361 from clarkmoody/pane-grid-spacing
Proper Pane Grid spacing
2020-05-28 03:45:22 +02:00
Héctor Ramón
40501f630d
Merge pull request #362 from hecrj/fix/target-quad-pixels
Align quads to physical pixels in `iced_wgpu`
2020-05-28 03:20:40 +02:00
Héctor Ramón Jiménez
4aa0d7a13a Write documentation for iced_glutin 2020-05-28 02:57:03 +02:00
Héctor Ramón Jiménez
ef28347f1c Write documentation for new iced_winit API 2020-05-28 02:49:32 +02:00
Héctor Ramón Jiménez
508128436c Write documentation for new iced_native API 2020-05-28 02:04:31 +02:00