summaryrefslogtreecommitdiffstats
path: root/winit/src/application.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert system menus supportLibravatar Héctor Ramón Jiménez2021-09-151-19/+0
| | | | | | The current implementation has some important issues on Windows. We will reintroduce the feature once we figure them out! I have kept some of the changes in #945, like the new `keyboard::Modifiers` powered by `bitflags`.
* Implement `move_to` and `resize` commands for `window`Libravatar Héctor Ramón Jiménez2021-09-021-3/+26
|
* Handle `clipboard::Action` in `iced_winit` shellLibravatar Héctor Ramón Jiménez2021-09-021-9/+33
|
* Make `Command` implementations platform-specificLibravatar Héctor Ramón Jiménez2021-09-021-6/+22
| | | | | | | | | 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!)
* Rename `SwapChainError` to `SurfaceError` in `iced_graphics`Libravatar Héctor Ramón Jiménez2021-08-251-1/+1
|
* Remove `SwapChain` associated type from `Compositor`Libravatar Héctor Ramón Jiménez2021-08-201-11/+9
|
* wgpu: Update to 0.10Libravatar Poly2021-08-191-1/+2
|
* Introduce explicit `id` field to `Settings`Libravatar Héctor Ramón Jiménez2021-08-111-0/+1
| | | | ... and use it to set the application id of the window on Unix systems, instead of relying on the title of the application.
* redo custom error for Compositor::draw()Libravatar Billy Messenger2021-07-221-6/+6
|
* add custom error for Compositor::draw()Libravatar Billy Messenger2021-07-221-15/+26
|
* Merge branch 'master' of https://github.com/hecrj/iced into wgpu_outdatedframeLibravatar Billy Messenger2021-07-221-11/+79
|\
| * Write documentation for `menu` method in `Application`Libravatar Héctor Ramón Jiménez2021-07-191-1/+3
| |
| * Draft `conversion::menu_message` in `iced_winit`Libravatar Héctor Ramón Jiménez2021-07-131-0/+10
| | | | | | | | ... and wire it up to the runtime loop
| * Store and synchronize `Menu` in `application::State`Libravatar Héctor Ramón Jiménez2021-07-121-0/+1
| |
| * Initial menu implementationLibravatar Richard2021-07-051-0/+6
| |
| * Use `winit` and `glutin` forks in `iced-rs` orgLibravatar Richard2021-06-251-2/+8
| |
| * Use new enum variant and new winit repoLibravatar Richard2021-06-251-2/+3
| |
| * Added events for url handling and create exampleLibravatar Richard2021-06-251-0/+3
| |
| * Provide `compatible_surface` in `iced_wgpu::Compositor`Libravatar Héctor Ramón2021-05-051-2/+2
| |
| * Add support for graceful exits in `Application`Libravatar Héctor Ramón Jiménez2021-03-301-3/+20
| | | | | | | | | | - `Settings` now contains an `exit_on_close_request` field - `Application` has a new `should_exit` method
| * Skip redrawing if window has no surfaceLibravatar Héctor Ramón Jiménez2021-03-261-1/+6
| |
| * Convert `ScaleFactorChanged` into `Resized` events in `iced_winit`Libravatar Héctor Ramón Jiménez2021-03-241-1/+16
| | | | | | | | ... instead of just dropping them when calling `to_static`.
| * Add `clipboard` argument to `Application::update`Libravatar Héctor Ramón Jiménez2021-03-111-2/+4
| |
| * Make `Clipboard` argument in `Widget` trait mutableLibravatar Héctor Ramón Jiménez2021-03-101-2/+2
| |
| * Update `window_clipboard` to `0.2`Libravatar Héctor Ramón Jiménez2021-03-101-1/+1
| |
* | don't panic when swapchain frame is outdatedLibravatar Billy Messenger2020-12-161-10/+15
|/
* Use recently stabilized intra-doc linksLibravatar Héctor Ramón Jiménez2020-11-261-37/+6
| | | | See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
* Batch event processing in `UserInterface::update`Libravatar Héctor Ramón Jiménez2020-11-121-18/+18
|
* Introduce `event::Status` to `Subscription`Libravatar Héctor Ramón Jiménez2020-11-121-2/+2
|
* Return `event::Status` in `UserInterface::update`Libravatar Héctor Ramón Jiménez2020-11-121-20/+23
|
* Write missing documentation in `iced_winit`Libravatar Héctor Ramón Jiménez2020-11-061-1/+15
|
* Remove a bit of code duplication in both shellsLibravatar Héctor Ramón Jiménez2020-11-051-35/+44
|
* Drop `UserInterface` manually after exit requestLibravatar Héctor Ramón Jiménez2020-11-051-0/+3
|
* Update `iced_glutin` with new event loop logicLibravatar Héctor Ramón Jiménez2020-11-051-2/+1
|
* Relayout `UserInterface` on resize in `iced_winit`Libravatar Héctor Ramón Jiménez2020-11-051-17/+32
|
* Handle event loop `ControlFlow` in `iced_winit`Libravatar Héctor Ramón Jiménez2020-11-051-32/+24
|
* Introduce `application::State` in `iced_winit`Libravatar Héctor Ramón Jiménez2020-11-051-152/+28
|
* Initialize runtime values in `application::run`Libravatar Héctor Ramón Jiménez2020-11-051-45/+47
|
* Use static noop `Waker` in `application::run`Libravatar Héctor Ramón Jiménez2020-11-051-4/+7
|
* Draft strategy to reuse `view` result in event loopLibravatar Héctor Ramón Jiménez2020-11-051-151/+276
|
* Make `Application` and `Sandbox` return a `Result`Libravatar Héctor Ramón Jiménez2020-09-081-6/+9
|
* Fix cursor position after a `CursorLeft` eventLibravatar Héctor Ramón Jiménez2020-08-251-0/+5
|
* Handle `ScaleFactorChanged` in `iced_winit`Libravatar Héctor Ramón Jiménez2020-07-161-0/+12
|
* Decouple `cursor_position` from `Cache`Libravatar Héctor Ramón Jiménez2020-06-231-4/+18
| | | | | | 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.
* Relayout when `Application::scale_factor` changesLibravatar Héctor Ramón Jiménez2020-06-231-0/+13
|
* Add `scale_factor` to `Application` and `Sandbox`Libravatar Héctor Ramón Jiménez2020-06-191-3/+37
|
* Add `background_color` to `Application` and `Sandbox`Libravatar Héctor Ramón Jiménez2020-06-121-1/+17
|
* Request a redraw only on relevant eventsLibravatar Héctor Ramón Jiménez2020-06-091-0/+4
|
* Write documentation for `iced_glutin`Libravatar Héctor Ramón Jiménez2020-05-281-1/+3
|
* Write documentation for new `iced_winit` APILibravatar Héctor Ramón Jiménez2020-05-281-0/+7
|