Mateusz Czapliński
82e3e316dd
Honor Exif orientation in iced_wgpu::Image
2021-09-30 00:28:56 +02:00
Héctor Ramón
4d4c61b887
Merge pull request #1060 from iced-rs/update-resvg
...
Update `resvg` to `0.18` in `iced_wgpu`
2021-09-28 02:21:38 +07:00
Héctor Ramón Jiménez
73f2881568
Update resvg to 0.18 in iced_wgpu
2021-09-27 14:23:22 +07:00
Héctor Ramón
35c4ad6dd9
Merge pull request #1044 from tarkah/feature/align-fill-variant
...
Add Align::Fill variant
2021-09-20 15:54:19 +07:00
Héctor Ramón Jiménez
a0ad399622
Refactor alignment types into an alignment module
2021-09-20 15:14:08 +07:00
Héctor Ramón Jiménez
5fae6e59ff
Introduce and use CrossAlign enum for Column and Row
2021-09-20 15:12:43 +07:00
Cory Forsstrom
95e4791a1e
Improve readability of Align::Fill branching
2021-09-20 15:11:06 +07:00
Cory Forsstrom
e89bbe8a79
Calc fill cross and use for all children
2021-09-20 15:11:06 +07:00
Cory Forsstrom
be51cac3d7
Add Align::Fill variant
2021-09-20 15:11:06 +07:00
Héctor Ramón
456a3f15e4
Merge pull request #1049 from Luni-4/no-windows-console
...
CI: Run a Windows application without starting the shell too
2021-09-20 14:08:37 +07:00
Luni-4
7d96b7a799
CI: Run a Windows application without starting the shell too
2021-09-17 15:13:08 +02:00
Héctor Ramón
099981cfc2
Merge pull request #1047 from iced-rs/revert-menus
...
Revert system menus support
2021-09-15 15:50:25 +07:00
Héctor Ramón
5870cbb312
Merge pull request #1046 from iced-rs/fix/empty-text-hit-test
...
Use `Option` to encode empty text case in hit test methods
2021-09-15 15:50:10 +07:00
Héctor Ramón Jiménez
c0ab988842
Revert system menus support
...
The current implementation has some important issues on Windows. We will reintroduce the feature once we figure them out!
I have kept some of the changes in #945 , like the new `keyboard::Modifiers` powered by `bitflags`.
2021-09-15 15:31:40 +07:00
Héctor Ramón Jiménez
c914b2a05b
Use Iterator::min_by instead of fold in hit_test
2021-09-15 15:08:35 +07:00
Héctor Ramón Jiménez
643500bbdf
Use Option to encode empty text case in hit test methods
2021-09-15 14:49:13 +07:00
Héctor Ramón
93fec8d273
Merge pull request #1019 from hecrj/command-actions
...
Platform-specific `Command` implementations
2021-09-13 11:49:06 +07:00
Héctor Ramón Jiménez
01b945b981
Write missing docs and Debug implementations for web
2021-09-13 11:24:28 +07:00
Héctor Ramón Jiménez
2c630809d4
Write missing docs and Debug implementations for native
2021-09-13 11:24:22 +07:00
Héctor Ramón
589f68df0f
Merge pull request #1021 from akhilman/fix-glow-alpha-compositing
...
Fix window holes behind transparent objects
2021-09-04 14:20:03 +07:00
Ildar Akhmetgaleev
666f676d7c
Fix window holes behind transparent objects
...
Without this change, the transparent objects composed over the opaque
background creates the transparency of the entire window through which
the desktop wallpaper could be seen.
This problem manifested itself with glow backend and wayland compositor
(gnome).
This patch completely eliminates this problem. With it, the final image
produced by glow backend corresponds to the image produced by the wgpu
backend.
Fixes #1018
2021-09-02 21:18:12 +07:00
Héctor Ramón Jiménez
7cb6e7438f
Implement move_to and resize commands for window
2021-09-02 16:30:14 +07:00
Héctor Ramón Jiménez
6fce35393f
Hide implementation details of Command in iced_futures
2021-09-02 15:50:32 +07:00
Héctor Ramón Jiménez
7a335a0408
Implement and expose read and write helpers for clipboard
2021-09-02 15:12:55 +07:00
Héctor Ramón Jiménez
7ebdbec8e7
Add Discord server link and download count to README
2021-09-02 14:24:27 +07:00
Héctor Ramón Jiménez
6887afdb2c
Remove unnecessary mut self in Command::map
2021-09-02 13:47:34 +07:00
Héctor Ramón Jiménez
f0686eae0e
Remove Clipboard export in iced
2021-09-02 13:47:03 +07:00
Héctor Ramón Jiménez
c9711ff48f
Handle clipboard::Action in iced_winit shell
2021-09-02 13:46:01 +07:00
Héctor Ramón Jiménez
76698ff2b5
Make Command implementations platform-specific
...
This allows us to introduce a platform-specific `Action` to both `iced_native`
and `iced_web` and remove the `Clipboard` from `Application::update` to maintain
purity.
Additionally, this should let us implement further actions to let users query
and modify the shell environment (e.g. window, clipboard, and more!)
2021-09-02 13:29:34 +07:00
Héctor Ramón
b7b7741578
Merge pull request #683 from hecrj/lyon-0.17
...
Update `lyon` to `0.17` in `iced_graphics`
2021-09-01 13:53:18 +07:00
Héctor Ramón
dcd362813a
Merge pull request #788 from Liamolucko/web-in-memory-image
...
feat(web): Support in-memory image data
2021-09-01 13:41:59 +07:00
Héctor Ramón Jiménez
61dc9defad
Rely on latest release of lyon_tessellation
2021-09-01 13:35:52 +07:00
Héctor Ramón Jiménez
4aa741af17
Update winit and glutin dependencies
...
Fixes #1005 and closes #1007 .
2021-08-30 16:12:20 +07:00
Héctor Ramón Jiménez
30ce60109e
Rely on new fast paths for basic shapes in lyon
...
See [1] for more details.
[1]: https://github.com/nical/lyon/pull/696
2021-08-30 13:24:30 +07:00
Héctor Ramón Jiménez
9ab6923e94
Add logo to README 🎉
2021-08-27 17:04:29 +07:00
Héctor Ramón Jiménez
59b3d724ed
Use FillTessellator::tessellate_rectangle in Frame
2021-08-26 15:44:32 +07:00
Héctor Ramón Jiménez
82d967c04f
Avoid reallocating tessellators in Frame methods
2021-08-26 15:41:12 +07:00
Héctor Ramón Jiménez
d0fe7b57ea
Update lyon to 0.17 in iced_graphics
2021-08-26 14:54:02 +07:00
Héctor Ramón
6821114cae
Merge pull request #670 from twitchyliquid64/text_backend
...
Refactor textual hit testing into a `renderer::Backend` method
2021-08-26 14:53:15 +07:00
Héctor Ramón Jiménez
7614127d36
Rename HitTestResult to Hit
...
... and also move it to a new `text` module in `iced_core`
2021-08-26 14:41:33 +07:00
Héctor Ramón
2d65621a3b
Merge pull request #1000 from PolyMeilex/wgpu-0.10
...
wgpu: Update to 0.10
2021-08-25 16:19:00 +07:00
Héctor Ramón Jiménez
acc47a5953
Rename SwapChainError to SurfaceError in iced_graphics
2021-08-25 15:42:35 +07:00
Héctor Ramón Jiménez
dda032c5b8
Add spaces around iced_wgpu feature list in Cargo.toml of integration_wgpu
2021-08-25 15:39:41 +07:00
Héctor Ramón Jiménez
0c7ca2b635
Rename surf variable to surface
2021-08-25 15:39:03 +07:00
Tom
aa63841e2c
Implement textual hit testing
2021-08-21 10:31:26 -07:00
Héctor Ramón Jiménez
fe0de182c5
Remove SwapChain associated type from Compositor
2021-08-20 20:32:04 +07:00
Poly
8a7c91bcb2
Update wgpu_glyph
2021-08-19 17:13:08 +02:00
Héctor Ramón Jiménez
8333b8f88c
Update winit and glutin dependencies
2021-08-19 15:40:28 +07:00
Poly
18753b77fc
wgpu: Update to 0.10
2021-08-19 03:06:38 +02:00
Héctor Ramón Jiménez
663c3685da
Update winit and glutin dependencies
2021-08-16 15:50:20 +07:00