Commit graph

193 commits

Author SHA1 Message Date
Imbris
ba51661a2a Bump winit to 0.25 2021-06-23 17:38:08 -04:00
Héctor Ramón
903570846e Fix documentation of PlatformSpecific settings 2021-06-01 18:57:36 +07:00
Quentin Boyer
f04bc94b80 allow disabling drag and drop on windows 2021-05-27 14:22:11 +02:00
Héctor Ramón
3840b75bea Provide compatible_surface in iced_wgpu::Compositor 2021-05-05 14:33:30 +07:00
Cory Forsstrom
84c0c9bc7a use Mode::Hidden instead 2021-04-09 09:04:30 -07:00
Cory Forsstrom
cdab8f90fb add window visibility 2021-04-08 12:58:08 -07:00
Héctor Ramón Jiménez
0864e63bde Bump versions 🎉 2021-03-31 20:07:17 +02:00
Héctor Ramón Jiménez
67db13ff7c Add support for graceful exits in Application
- `Settings` now contains an `exit_on_close_request` field
- `Application` has a new `should_exit` method
2021-03-30 21:44:19 +02:00
Héctor Ramón Jiménez
00de9d0c9b Add CloseRequested variant to window::Event 2021-03-30 21:33:57 +02:00
Héctor Ramón Jiménez
1207afa7d0 Skip redrawing if window has no surface 2021-03-26 14:46:19 +01:00
Héctor Ramón Jiménez
d66a34b272 Convert ScaleFactorChanged into Resized events in iced_winit
... instead of just dropping them when calling `to_static`.
2021-03-24 04:59:13 +01:00
Héctor Ramón Jiménez
a365998264 Expose read and write methods in iced_winit::Clipboard directly 2021-03-11 03:49:15 +01:00
Héctor Ramón Jiménez
ae517b9fa0 Add clipboard argument to Application::update 2021-03-11 03:38:20 +01:00
Héctor Ramón Jiménez
21971e0037 Make Clipboard argument in Widget trait mutable 2021-03-10 01:59:02 +01:00
Héctor Ramón Jiménez
35425001ed Introduce write method to Clipboard trait 2021-03-10 01:18:22 +01:00
Héctor Ramón Jiménez
b22b0dd7ff Update window_clipboard to 0.2 2021-03-10 01:16:26 +01:00
Héctor Ramón Jiménez
45dc02e9bd Split window::Event::Focused into two variants 2021-01-15 18:21:44 +01:00
cossonleo
0b140488b4 add focus event 2021-01-15 22:40:16 +08:00
Héctor Ramón Jiménez
277ae74d68 Produce logical coordinates for touch::Event 2020-12-15 06:58:15 +01:00
Héctor Ramón Jiménez
056f7e6951 Change cursor position on touch event 2020-12-15 06:44:00 +01:00
Héctor Ramón Jiménez
3bdf931925 Turn Touch into a touch::Event enum 2020-12-15 06:38:46 +01:00
Héctor Ramón Jiménez
09110a93b0 Merge branch 'ios-support-wip' into feature/touch-support 2020-12-15 06:13:19 +01:00
Héctor Ramón Jiménez
742086e190 Update winit and glutin
We avoid a breaking change in `mouse::Button::Other` for the time being.
2020-12-12 00:54:25 +01:00
Héctor Ramón Jiménez
f78108a514 Bump versions 🎉 2020-11-26 16:47:41 +01:00
Héctor Ramón Jiménez
7de72d6a27 Update READMEs of subcrates 2020-11-26 07:40:00 +01:00
Héctor Ramón Jiménez
11798dcc03 Update graphs in crate docs 2020-11-26 07:22:03 +01:00
Héctor Ramón Jiménez
01322f69a4 Use recently stabilized intra-doc links
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
2020-11-26 02:05:43 +01:00
Héctor Ramón Jiménez
d612bf5678 Rename keyboard::ModifiersState to Modifiers 2020-11-26 02:05:42 +01:00
Héctor Ramón Jiménez
bf2d2561b8 Batch event processing in UserInterface::update 2020-11-12 02:51:26 +01:00
Héctor Ramón Jiménez
69c50c8511 Introduce event::Status to Subscription 2020-11-12 02:22:22 +01:00
Héctor Ramón Jiménez
33d80b5a0b Return event::Status in UserInterface::update 2020-11-12 02:00:08 +01:00
Héctor Ramón Jiménez
631c9e4a21 Write missing documentation in iced_winit 2020-11-06 02:25:56 +01:00
Héctor Ramón Jiménez
e966cd5b59 Remove a bit of code duplication in both shells 2020-11-05 04:50:57 +01:00
Héctor Ramón Jiménez
d5a15419e9 Drop UserInterface manually after exit request 2020-11-05 04:13:09 +01:00
Héctor Ramón Jiménez
6619fab044 Update iced_glutin with new event loop logic 2020-11-05 04:09:40 +01:00
Héctor Ramón Jiménez
88993fb092 Relayout UserInterface on resize in iced_winit 2020-11-05 04:09:40 +01:00
Héctor Ramón Jiménez
86b26f65d6 Handle event loop ControlFlow in iced_winit 2020-11-05 04:09:40 +01:00
Héctor Ramón Jiménez
fee46fd653 Introduce application::State in iced_winit 2020-11-05 04:09:40 +01:00
Héctor Ramón Jiménez
ed2b9a91b4 Initialize runtime values in application::run 2020-11-05 04:09:40 +01:00
Héctor Ramón Jiménez
ee38b04d8b Use static noop Waker in application::run 2020-11-05 04:09:40 +01:00
Héctor Ramón Jiménez
c153d11aa6 Draft strategy to reuse view result in event loop 2020-11-05 04:09:31 +01:00
Héctor Ramón
2e0ba65a20
Merge pull request #542 from aentity/winit_023
update to winit 0.23 api
2020-10-08 03:55:02 +02:00
Héctor Ramón Jiménez
16cd38a198 Keep KeyCode names synchronized with winit 2020-10-08 03:44:22 +02:00
aentity
159e8a6abc update to winit 0.23 api 2020-10-03 12:58:28 -07:00
Tom
f2247a70dc Fixes #539: Allow windows to be set always_on_top 2020-09-28 21:05:15 -07:00
Héctor Ramón Jiménez
c1f79b40cf Make Application and Sandbox return a Result 2020-09-08 00:44:59 +02:00
Héctor Ramón Jiménez
72f89ba77f Fix cursor position after a CursorLeft event 2020-08-25 01:39:54 +02:00
Katherine Philip
6de9a5e076 Remove debug println & accidentally added whitespace 2020-08-18 05:58:20 +07:00
Katherine Philip
fe75646f82 Add missing comment 2020-08-18 05:54:55 +07:00
Katherine Philip
a490fd54c9 Add 'transparent' in window setting 2020-08-17 15:42:50 +07:00