Commit graph

463 commits

Author SHA1 Message Date
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
2645524f88
Update winit to 0.30 2024-05-07 16:07:56 +02:00
Héctor Ramón Jiménez
a57313b23e
Simplify image rotation API and its internals 2024-05-02 17:28:28 +02:00
Héctor Ramón Jiménez
09a6bcfffc
Add Image rotation support
Co-authored-by: DKolter <68352124+DKolter@users.noreply.github.com>
2024-05-02 17:27:45 +02:00
JL710
f6c698b2dd
add missing derive(Debug) in lib.rs docs 2024-04-30 10:28:06 +02:00
saihaze
f3a2255f83 Fix typo 2024-04-19 14:53:38 +08: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
6a4f5ac208
Remove redundant text::Renderer bound in program 2024-03-24 08:45:11 +01:00
Héctor Ramón Jiménez
441e9237cd
Rename compositor::Renderer to Default 2024-03-22 19:35:19 +01: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
f409037c07
Simplify message names in overview docs 2024-03-18 19:15:25 +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 Jiménez
cdb18e610a
Move Application trait to advanced module 2024-03-17 19:38:42 +01:00
Héctor Ramón Jiménez
943b6c9657
Introduce Program::run_with to control the initial state 2024-03-17 19:15:31 +01:00
Héctor Ramón Jiménez
784fa80c0d
Use Program API in todos example 2024-03-17 17:57:24 +01:00
Héctor Ramón Jiménez
c4b4207f47
Support custom themes in Program API 2024-03-17 14:41:34 +01:00
Héctor Ramón Jiménez
a034e40f7c
Clarify chain nature of run function 2024-03-17 14:36:42 +01:00
Héctor Ramón Jiménez
8e1d0b51f1
Fix documentation of run function 2024-03-17 14:29:02 +01:00
Héctor Ramón Jiménez
54f44754eb
Move Program to application module 2024-03-17 14:19:12 +01:00
Héctor Ramón Jiménez
7e1ef7d150
Fix new doc test in root module 2024-03-17 13:57:53 +01:00
Héctor Ramón Jiménez
179e8863b3
Fix broken intra-doc links to Sandbox 2024-03-17 13:55:15 +01:00
Héctor Ramón Jiménez
846d76cd3f
Remove Sandbox trait 🎉 2024-03-17 13:46:52 +01:00
Héctor Ramón Jiménez
4f6a9ba889
Fix broken intra-doc link 2024-03-16 19:22:18 +01:00
Héctor Ramón Jiménez
28a27f08ed
Remove sandbox by making application more generic 🎉 2024-03-16 19:14:13 +01:00
Héctor Ramón Jiménez
cfc0383bbf
Replace Program::fonts with simpler font method 2024-03-16 16:58:48 +01:00
Héctor Ramón Jiménez
348e00e11c
Make Program::title private 2024-03-16 16:20:05 +01:00
Héctor Ramón Jiménez
bb71e8481e
Make sandbox helper take a title as well 2024-03-16 16:12:07 +01:00
Héctor Ramón Jiménez
93ae790da1
Implement Program::load to specify startup Command 2024-03-16 15:54:37 +01:00
Héctor Ramón Jiménez
5a986897d2
Rename Program::new to build 2024-03-16 05:47:01 +01:00
Héctor Ramón Jiménez
c22269bff3
Introduce Program API 2024-03-16 05:33:47 +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
6785a452ee
Fix broken links in documentation 2024-03-07 00:19:24 +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
332127f1bc
Export clipboard module in advanced module 2024-02-21 06:23:13 +01:00
Héctor Ramón Jiménez
e9862f8913
Point doc links to 0.12 branch 2024-02-15 03:22:53 +01:00
Mattias Eriksson
4155edab8d
Add support for primary clipboard 2024-02-13 03:14:30 +01:00
fogarecious
1cd22bb6a2
Fix missing feature flag docs for time::every 2024-02-06 00:39:47 +01:00
Héctor Ramón Jiménez
f4d6648601
Introduce with_transformation to Renderer trait 2024-02-02 02:24:45 +01:00
Héctor Ramón Jiménez
7a50e9e8fb
Convert Renderer::Theme to generic Widget type 2024-01-21 17:56:01 +01:00
Héctor Ramón Jiménez
25f182f933
Introduce Border struct analogous to Shadow 2024-01-20 13:29:25 +01:00
Nick Senger
cc906c83cd
feat: quad shadows 2024-01-20 11:59:37 +01:00
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
0322e820eb
Create layout example 2024-01-10 10:01:41 +01:00
Héctor Ramón Jiménez
3b39ba7029
Fix unused import in multi_window::application 2023-11-29 22:52:46 +01:00