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
Héctor Ramón
1b2e66ec4f
Merge pull request #617 from sztomi/integration_gl
...
Add integration_gl example
2021-08-14 21:31:51 +07:00
Héctor Ramón Jiménez
6da71f9007
Sort example list in Cargo.toml
2021-08-13 21:01:33 +07:00
Héctor Ramón Jiménez
138132758a
Update README in examples directory
2021-08-13 21:00:22 +07:00
Héctor Ramón Jiménez
f1f58b2a8a
Fix panic! warnings in integration_opengl example
2021-08-13 20:22:49 +07:00
Héctor Ramón Jiménez
9567808636
Fix formatting of integration_opengl example
2021-08-13 20:22:47 +07:00
Héctor Ramón Jiménez
77a0b68aa1
Rename integration examples
2021-08-13 20:12:07 +07:00
Tamás Szelei
a646b11109
Add integration_gl example
2021-08-13 20:10:39 +07:00
Héctor Ramón
187413b452
Merge pull request #994 from BillyDM/master
...
tweak default rule style
2021-08-13 19:47:32 +07:00
Billy Messenger
6c179379a0
tweak default rule style
2021-08-12 09:57:59 -05:00
Héctor Ramón
0f5242a728
Merge pull request #654 from atbentley/hide-titlebar-macos
...
Hide titlebar on macos
2021-08-12 21:04:20 +07:00
Héctor Ramón Jiménez
e3f170a341
Fix minor formatting nitpicks
2021-08-12 20:47:16 +07:00
Héctor Ramón Jiménez
853e938096
Convert empty struct PlatformSpecific into empty type
2021-08-12 20:46:38 +07:00
Andrew Bentley
bbe5fe9d71
Add PlatformSpecific winit settings for macOS
2021-08-12 20:44:11 +07:00
Héctor Ramón
a7c40665fe
Merge pull request #652 from twitchyliquid64/text_input_fix
...
text_input: Do not capture Tab/Up/Down keys
2021-08-12 12:58:08 +07:00
Héctor Ramón
86f5e56c55
Merge pull request #517 from Kaiden42/embedded
...
iced_web: Add an option to select the element
2021-08-12 12:31:19 +07:00
Héctor Ramón
3d640632f1
Merge pull request #599 from oknozor/wayland-app-id
...
Add wayland app_id
2021-08-11 20:15:49 +07:00
Héctor Ramón Jiménez
7337ab63bc
Introduce explicit id field to Settings
...
... and use it to set the application id of the window on Unix systems, instead of relying on the title of the application.
2021-08-11 19:48:55 +07:00
Paul Delafosse
e3bc050aae
Match winit unix targets for wayland app_id
2021-08-11 19:16:31 +07:00