Commit graph

650 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
88b9384402
Use Task chaining to simplify multi_window example 2024-06-14 03:05:58 +02:00
Héctor Ramón Jiménez
b21e4567dc
Remove parent from PlatformSpecific window settings 2024-06-14 02:33:05 +02:00
Héctor Ramón Jiménez
b328da2c71
Fix Send requirements for Wasm targets 2024-06-14 01:52:30 +02:00
Héctor Ramón Jiménez
a25b1af456
Replace Command with a new Task API with chain support 2024-06-14 01:47:39 +02:00
Héctor Ramón Jiménez
5d7dcf417c
Introduce subscription::Event
... and remove `PlatformSpecific` from `Event`
2024-06-11 19:41:05 +02:00
Héctor Ramón Jiménez
83296a73eb
Fix widget operations in multi_window runtime 2024-06-10 22:03:46 +02:00
Héctor Ramón Jiménez
ae2bf8ee40
Broadcast orphaned events in multi_window runtime 2024-06-10 22:03:46 +02:00
Héctor Ramón Jiménez
e400f972c1
Introduce window::Id to Event subscriptions
And remove `window::Id` from `Event` altogether.
2024-06-10 22:03:46 +02:00
Héctor Ramón Jiménez
07f94d68b5
Update outdated READMEs of subcrates 2024-05-27 13:47:57 +02:00
Shan
647761ad56
Added scale_factor to Screenshot data for use when cropping to widget bounds 2024-05-24 19:46:18 -07:00
Héctor Ramón Jiménez
fb23e4c3ff
Fix main window not closing in multi-window runtime 2024-05-16 19:36:50 +02:00
Héctor Ramón Jiménez
4890d75012
Initialize Application::name in multi-window runtime 2024-05-16 13:47:02 +02:00
Héctor Ramón Jiménez
780af771fa
Fix clippy lints 2024-05-14 20:13:55 +02:00
Héctor Ramón Jiménez
b8adfc9ffe
Track commands spawned and subscriptions alive in beacon 2024-05-13 13:21:10 +02:00
Héctor Ramón Jiménez
b7c65c877d
Toggle the Comet when pressing F12 2024-05-11 14:17:14 +02:00
Héctor Ramón Jiménez
fc53a97831
Merge branch 'window/specific-with-position' into beacon 2024-05-10 22:17:29 +02:00
Héctor Ramón Jiménez
b19e95fa18
Add SpecificWith variant to window::Position 2024-05-10 22:16:35 +02:00
Héctor Ramón Jiménez
57033dc4d0
Rename iced_sentinel to iced_beacon and refactor its API 2024-05-10 20:08:09 +02:00
Héctor Ramón Jiménez
aaf396256e
Merge branch 'master' into beacon 2024-05-09 12:32:25 +02:00
Héctor Ramón Jiménez
718fe5b7de
Pass WindowHandle by value to window::run_with_handle 2024-05-08 23:14:37 +02:00
Héctor Ramón Jiménez
7e7285d60f
Plug new_events handler to event loop 2024-05-07 17:00:55 +02:00
Héctor Ramón Jiménez
2645524f88
Update winit to 0.30 2024-05-07 16:07:56 +02:00
Héctor Ramón Jiménez
aae8e4f5cf
Fix clippy lints for new 1.78 stable toolchain 2024-05-02 17:23:32 +02:00
Héctor Ramón Jiménez
4cd45643d7
Introduce opaque widget helper 2024-04-25 06:05:37 +02:00
Héctor Ramón Jiménez
a05b8044a9
Fix SelectNextSome poll after termination panic in iced_winit::Proxy 2024-04-17 15:54:12 +02:00
Héctor Ramón Jiménez
b6b51375cf
Implement backpressure mechanism in iced_winit::Proxy 2024-04-16 21:50:28 +02:00
Héctor Ramón Jiménez
6ad5bb3597
Port iced_tiny_skia to new layering architecture 2024-04-09 22:25:16 +02:00
Héctor Ramón Jiménez
5cd98f069d
Use built-in [lints] table in Cargo.toml 2024-04-07 12:42:12 +02:00
Héctor Ramón Jiménez
f5bcfec821
Use rustc-hash for most of our HashMap and HashSet instances 2024-04-01 12:00:15 +02:00
Héctor Ramón Jiménez
5137d655e6
Allow custom renderers in Program and Application 2024-03-22 07:09:51 +01:00
Héctor Ramón Jiménez
3645d34d6a
Implement composable, type-safe renderer fallback 2024-03-21 22:27:17 +01:00
Héctor Ramón Jiménez
eb67aa5d71
Revert "Remove 'static' bound for P::State in Program::run_with"
This reverts commit cab9dec626.

Wasm needs the `'static'` bound since the runtime
will run in a background task.
2024-03-17 19:53:02 +01:00
Héctor Ramón Jiménez
cab9dec626
Remove 'static' bound for P::State in Program::run_with 2024-03-17 19:42:43 +01:00
Héctor Ramón
edf7d7ca75
Merge pull request #2312 from iced-rs/theming-reloaded
Theming reloaded
2024-03-08 14:00:28 +01:00
Héctor Ramón Jiménez
ecf42b97df
Fix block_on in iced_wgpu hanging Wasm builds 2024-03-07 23:25:24 +01:00
Héctor Ramón Jiménez
833538ee7f
Leverage DefaultStyle traits instead of Default 2024-03-07 20:11:32 +01:00
Héctor Ramón Jiménez
905f2160e6
Move Theme type to iced_core 2024-03-07 00:14:41 +01:00
Héctor Ramón Jiménez
7c4bf70023
Simplify theming for Application 2024-03-06 21:27:03 +01:00
Héctor Ramón Jiménez
30e6605650
Run UserInterface::update only when events are present 2024-02-28 19:37:26 +01:00
Héctor Ramón Jiménez
8591e5a148
Introduce window::Id to timing::Stage in iced_sentinel 2024-02-28 15:27:22 +01:00
Héctor Ramón Jiménez
c856d2b513
Add ThemeChanged variant to Event in iced_sentinel 2024-02-27 15:19:26 +01:00
Héctor Ramón Jiménez
dd36893f7a
Introduce iced_sentinel and iced_debug crates 2024-02-26 07:00:51 +01:00
Héctor Ramón Jiménez
0cb2763160
Use inclusive range for is_private_use function 2024-02-26 06:02:19 +01:00
Héctor Ramón Jiménez
a9733e9906
Ignore text in KeyPressed with private use chars
Apparently, macOS likes to use these for simple keys.
2024-02-26 05:57:10 +01:00
Héctor Ramón Jiménez
f693aa4bc4
Use crate::core::Point instead of prefixing 2024-02-22 09:21:19 +01:00
Héctor Ramón Jiménez
d6454b5d0c
Rename fetch_location to fetch_position 2024-02-22 09:19:51 +01:00
Night_Hunter
59885e9a36
Add fetch_location command to window module 2024-02-22 09:16:05 +01:00
Ashley Wulber
9600954d8d
Decouple Key from modifiers and apply them to text 2024-02-20 16:30:36 +01:00
Héctor Ramón Jiménez
0c7f4eaab5
Make Canvas fill the parent container on Wasm 2024-02-20 02:51:47 +01:00
Héctor Ramón Jiménez
e9862f8913
Point doc links to 0.12 branch 2024-02-15 03:22:53 +01:00