Héctor Ramón Jiménez
c8ac77e4e9
Write documentation for menu method in Application
2021-07-19 21:05:16 +07:00
Héctor Ramón Jiménez
6221adf2b1
Draft conversion::menu_message in iced_winit
...
... and wire it up to the runtime loop
2021-07-13 20:55:21 +02:00
Héctor Ramón Jiménez
31997d255f
Store and synchronize Menu in application::State
2021-07-12 22:28:18 +02:00
Richard
9fc5ad23ed
Initial menu implementation
2021-07-05 16:24:10 -03:00
Richard
612585109f
Use winit and glutin forks in iced-rs org
2021-06-25 14:15:11 +02:00
Richard
96a462d2f2
Use new enum variant and new winit repo
2021-06-25 14:14:03 +02:00
Richard
9ae22b58d8
Added events for url handling and create example
2021-06-25 14:14:03 +02:00
Héctor Ramón
3840b75bea
Provide compatible_surface in iced_wgpu::Compositor
2021-05-05 14:33:30 +07: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
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
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