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
Paul Delafosse
0586e48c70
Add wayland app_id
...
see: 4ed0cafeef/stable/xdg-shell/xdg-shell.xml (L640)
2021-08-11 19:16:30 +07:00
Héctor Ramón
45778ed598
Merge pull request #667 from BillyDM/wgpu_outdatedframe
...
Don't panic when wgpu swapchain frame is outdated
2021-08-05 14:44:32 +07:00
Héctor Ramón Jiménez
3e03a42bc6
Use thiserror to derive Error for SwapChainError
2021-08-04 21:52:02 +07:00
Héctor Ramón
63bdbf817e
Merge pull request #978 from ATiltedTree/use-preffered-format
...
wgpu: Use the preferred texture format of the surface
2021-08-04 18:48:19 +07:00
Héctor Ramón Jiménez
f3916decf2
Fix typo in integration example
2021-08-04 18:20:25 +07:00
Tilmann Meyer
d7975a9de5
wgpu: Use the preferred texture format of the surface
...
Signed-off-by: Tilmann Meyer <me@atiltedtree.dev>
2021-08-03 11:30:45 +02:00
Héctor Ramón
cdd2f247f8
Merge pull request #980 from yamadapc/fix-glow-context-multiple-windows
...
Fix glow and multiple windows usage
2021-08-03 15:12:59 +07:00
yamadapc
77a6506710
Fix glow and multiple windows usage
...
The context might not be current at redraw
2021-08-03 06:36:51 +10:00
Héctor Ramón
a08e4ebccb
Merge pull request #971 from tarkah/fix/pane-dragging-overlay
...
fix: allow titlebar overlays to close when dragging pane
2021-07-28 15:47:13 +07:00