Commit graph

24 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
64d1ce5532
Refactor KeyCode into Key and Location 2024-01-16 13:28:00 +01:00
Héctor Ramón Jiménez
e09b4e24dd
Merge branch 'master' into feat/multi-window-support 2023-11-29 22:28:31 +01:00
Héctor Ramón Jiménez
54e6d2b5fa
Fix lint in screenshot example 2023-10-18 17:49:19 -05:00
Héctor Ramón Jiménez
b277625546
Revert "Chore: Apply clippy map transformations"
This reverts commit c997aad85d.
2023-09-20 16:26:43 +02:00
Héctor Ramón Jiménez
432d9f5f97
Fix clippy::unused_async 2023-09-20 05:36:11 +02:00
Héctor Ramón
582da10ae2
Merge pull request #2090 from nyurik/mapping
Chore: Apply clippy map transformations
2023-09-19 13:22:21 +02:00
Yuri Astrakhan
c997aad85d Chore: Apply clippy map transformations
Convert `.map().unwrap_or()` to `.map_or()` and similar transformations.
2023-09-19 01:46:46 -04:00
Yuri Astrakhan
3d6b9637c3 Chore: Inline format args for ease of reading
A minor cleanup to inline all simple cases of format arguments. Makes the format strings just a bit easier to read.
2023-09-19 01:32:56 -04:00
Héctor Ramón
d1822ad811
Merge pull request #2069 from iced-rs/use-workspace-dependencies
Use workspace dependencies and package inheritance
2023-09-07 03:30:35 +02:00
Héctor Ramón Jiménez
08a031cbe5
Introduce keyboard::on_key_press and on_key_release
Also rename `subscription::events*` to `event::listen*`.
2023-09-07 02:45:15 +02:00
Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
Bingus
d53ccc857d
refactored window storage;
new helper window events (Destroyed, Created);
clippy + fmt;
2023-07-21 13:53:38 -07:00
Héctor Ramón Jiménez
5ae726e02c
Move Screenshot inside window module 2023-06-27 19:41:03 +02:00
Bingus
05e238e9ed
Adjusted offscreen pass to be a render pass vs compute for compat with web-colors flag. 2023-06-08 10:10:26 -07:00
Héctor Ramón Jiménez
78c0189824
Fix width of crop labels in screenshot example (again) 2023-06-06 16:36:20 +02:00
Héctor Ramón Jiménez
38582873b7
Rearrange controls of the screenshot example 2023-06-06 16:32:14 +02:00
Héctor Ramón Jiménez
5b5000e3ae
Introduce on_press_maybe helper for Button 2023-06-06 16:18:20 +02:00
Héctor Ramón Jiménez
5324928044
Wrap Screenshot::bytes in an Arc and implement AsRef<[u8]> 2023-06-06 16:14:42 +02:00
Héctor Ramón Jiménez
7adfaa88a6
Avoid iced_image import in screenshot example 2023-06-06 16:05:46 +02:00
Héctor Ramón Jiménez
c1021c7175
Fix punctuation in screenshot example 2023-06-06 15:59:56 +02:00
Héctor Ramón Jiménez
cd15f8305a
Fix width of crop labels in screenshot example 2023-06-06 15:59:36 +02:00
Héctor Ramón Jiménez
8820583cc0
Create numeric_input helper in screenshot example 2023-06-06 15:51:32 +02:00
Héctor Ramón Jiménez
5ed9452877
Use Container::Box in screenshot example 2023-06-06 15:39:29 +02:00
Bingus
233196eb14
Added offscreen rendering support for wgpu & tiny-skia exposed with the window::screenshot command. 2023-06-06 15:37:30 +02:00