Commit graph

13 commits

Author SHA1 Message Date
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