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
b22b0dd7ff
Update window_clipboard to 0.2
2021-03-10 01:16:26 +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
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 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
Héctor Ramón Jiménez
4030326a35
Handle ScaleFactorChanged in iced_winit
2020-07-16 18:18:36 +02:00
Héctor Ramón Jiménez
f30a666dc8
Decouple cursor_position from Cache
...
Instead, we ask explicitly for it in the different `update` and `draw` methods.
This way, the runtime can derive the logical position of the cursor from
the source of truth.
2020-06-23 06:44:34 +02:00
Héctor Ramón Jiménez
bbdf558bd7
Relayout when Application::scale_factor changes
2020-06-23 06:12:06 +02:00
Héctor Ramón Jiménez
c9696ca687
Add scale_factor to Application and Sandbox
2020-06-19 19:17:05 +02:00
Héctor Ramón Jiménez
4c0286e8ac
Add background_color to Application and Sandbox
2020-06-12 22:12:15 +02:00
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 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
ae5e2c6c73
Introduce Program and State
2020-05-21 04:27:31 +02:00
Héctor Ramón Jiménez
e0e4ee73fe
Implement iced_glutin 🎉
2020-05-21 00:44:35 +02:00
Héctor Ramón Jiménez
a1a5fcfd46
Refactor Viewport and Compositor
2020-05-20 20:28:35 +02:00
Héctor Ramón Jiménez
4aed0fa4b6
Rename window::Backend to Compositor
2020-05-19 20:01:55 +02:00
Héctor Ramón Jiménez
d4743183d4
Draft first working version of iced_glow 🎉
2020-05-19 14:23:28 +02:00
Héctor Ramón Jiménez
98bc8cf2a7
Rename MouseCursor to mouse::Interaction
2020-04-30 08:16:38 +02:00
Héctor Ramón Jiménez
59403b6ca8
Remove OutOfBounds variant from MouseCursor
2020-04-29 03:11:15 +02:00
Héctor Ramón Jiménez
8c8325d0cf
Write documentation for the debug feature
2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
f5e7e0625e
Improve docs for Sandbox and Application
2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
26a35b7d7e
Clarify return policy of Application::run
2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
c4c5216e3b
Allow passing external state to Application::new
2020-03-30 18:10:15 +02:00
Héctor Ramón Jiménez
01bc95c2a3
Remove redundant closure in Application::run
2020-03-29 15:22:56 +02:00
Héctor Ramón Jiménez
e23e93218c
Convert WindowEvent from a reference in iced_winit
2020-03-27 22:06:20 +01:00
Héctor Ramón Jiménez
aac7ad3e14
Update winit to 0.22
2020-03-09 22:35:25 +01:00
Héctor Ramón Jiménez
2e457c394f
Quit application when Cmd+Q is pressed on macOS
2020-02-19 14:53:08 +01:00
Héctor Ramón Jiménez
09cf0b7af3
Enter executor context only on Recipe creation
2020-02-16 11:31:37 +01:00
Héctor Ramón Jiménez
75d8de93ae
Wrap application initialization with Runtime::enter
2020-02-16 11:25:10 +01:00
Héctor Ramón Jiménez
ce6806bbf4
Remove event conversion from iced_winit::Application
2020-02-09 05:24:54 +01:00
Héctor Ramón Jiménez
8f0b59a4b2
Remove scale_factor from iced_wgpu::Viewport
2020-02-09 03:36:59 +01:00
Héctor Ramón Jiménez
f1e20a61f1
Allow iced_wgpu to render to any TextureView
2020-02-09 03:25:13 +01:00
Héctor Ramón Jiménez
7d9378752a
Increase precision of scale_factor in Windowed
2020-02-07 23:50:10 -05:00
Héctor Ramón Jiménez
fbc9deb424
Implement an opaque Size type
...
It immutably ties physical and logical sizes to a specific scale factor.
2020-02-07 23:50:10 -05:00
Héctor Ramón Jiménez
1d71f78f90
Keep is_private_use_character filter for now
2020-02-07 23:34:32 -05:00