Vlad-Stefan Harbuz
10ef48c98a
doc: fix "Reconciles" typo
2024-06-30 20:46:04 +01:00
Vlad-Stefan Harbuz
be59ec0ffc
doc: clarify Quad border alignment
2024-06-29 21:39:23 +01:00
Héctor Ramón
714d450315
Merge pull request #2469 from iced-rs/unify-shell-runtimes
...
`Daemon` API and Shell Runtime Unification
2024-06-20 01:23:01 +02:00
Héctor Ramón Jiménez
c5f4bebeda
Remove window::Id::MAIN constant
2024-06-20 01:13:42 +02:00
SolidStateDj
19db068bbb
Implement std::fmt::Display for iced::Radians ( #2446 )
...
* Implement `std::fmt::Display` for Radians
* Add ` rad` to the end of all displayed strings.
Co-authored-by: Héctor Ramón <hector0193@gmail.com>
---------
Co-authored-by: Héctor Ramón <hector0193@gmail.com>
2024-06-18 17:02:15 +00: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
4e7cbbf98a
Move Maybe* traits back to iced_futures
2024-06-14 01:57:49 +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
6ea7846d88
Remove core::program module leftover
2024-06-11 20:11:55 +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
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
3312dc8080
Create jump and macos_command methods in keyboard::Modifiers
2024-05-31 16:23:09 +02:00
Héctor Ramón Jiménez
07f94d68b5
Update outdated READMEs of subcrates
2024-05-27 13:47:57 +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
fa9e1d96ea
Introduce dynamic opacity support for Image and Svg
2024-05-03 13:25:58 +02:00
Héctor Ramón Jiménez
4010e3983d
Add spin mode to ferris example 🦀
2024-05-03 07:23:55 +02:00
Héctor Ramón Jiménez
eac5bcb64f
Fix Image::bounds when rotation present in iced_graphics
2024-05-03 07:04:57 +02:00
Héctor Ramón Jiménez
efc55b655b
Create ferris example to showcase ContentFit and Rotation
2024-05-02 17:28:29 +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
Héctor Ramón Jiménez
01b014c19f
Fix documentation link in image::Handle
2024-05-01 01:53:25 +02:00
Héctor Ramón Jiménez
58ea914ad2
Make image::Id actually opaque
2024-05-01 01:52:49 +02:00
Héctor Ramón Jiménez
b52c7bb610
Use an opaque Id type for image::Handle
...
Hashing pointers is a terrible idea.
2024-05-01 01:39:43 +02:00
Héctor Ramón Jiménez
45254ab88c
Use Bytes as the Container of ImageBuffer
...
Since we don't need to mutate images once loaded,
we avoid unnecessary extra allocations.
2024-05-01 00:55:49 +02:00
Bajix
8d27af24a7
Utilize bytes::Bytes for images
2024-05-01 00:28:55 +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
0c74d26456
Implement Stack widget
...
It can be used to stack elements on top of each other!
2024-04-25 01:39:34 +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
d922b47815
Reintroduce support for custom primitives in iced_wgpu
2024-04-08 15:04:35 +02:00
Héctor Ramón Jiménez
6ea763c2a7
Merge branch 'master' into wgpu/better-architecture
2024-04-08 13:56:38 +02:00
Héctor Ramón Jiménez
72b975ec82
Pick best contrast between black/white in theme::palette
2024-04-07 19:37:35 +02:00
Héctor Ramón Jiménez
ee86aea7f2
Use Lch to choose white text when not readable in theme::palette
2024-04-07 19:32:49 +02:00
Héctor Ramón Jiménez
efa75607ba
Revert "Merge pull request #2376 from Davidster/fix_palette_readable_color_contrast"
...
This reverts commit 63042354fc , reversing
changes made to 31d1d5fecb .
2024-04-07 18:56:11 +02:00
Héctor Ramón Jiménez
13289dbd19
Merge branch 'master' into wgpu/better-architecture
2024-04-07 14:06:52 +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
David Huculak
c45c79b5d6
add stronger guarantee of readability/contrast for palette background/text color pairs
2024-04-07 02:20:44 -04:00
Héctor Ramón Jiménez
6d3e1d835e
Decouple caching from layering and simplify everything
2024-04-05 23:59:21 +02:00
Héctor Ramón Jiménez
b05e61f5c8
Redesign iced_wgpu layering architecture
2024-04-03 21:07:54 +02:00
Héctor Ramón Jiménez
99a904112c
Implement IntoFragment for Fragment
2024-04-02 10:09:13 +02:00
Héctor Ramón Jiménez
dee43d5f66
Implement IntoFragment for usize and isize
2024-04-02 09:24:22 +02:00
Héctor Ramón Jiménez
34f799aa3d
Rename text::IntoContent to IntoFragment
2024-04-01 21:48:47 +02:00
Héctor Ramón Jiménez
1d83e59e8a
Specialize widget::text helper with custom IntoContent trait
2024-04-01 21:36:08 +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
6216c513d5
Use generic Content in Text to avoid reallocation in fill_text
2024-04-01 11:30:01 +02:00
Héctor Ramón Jiménez
faa53647cc
Replace xxhash-rust with rustc-hash
2024-03-30 15:57:50 +01:00
Héctor Ramón Jiménez
a8ceb9469b
Propagate advanced feature to iced_core
2024-03-26 04:21:02 +01:00
Héctor Ramón
eae4065300
Merge pull request #2350 from iced-rs/theming-revolutions
...
Theming Revolutions
2024-03-25 22:21:22 +01:00
Héctor Ramón Jiménez
f0ae9a0c38
Use Catalog approach for all widgets
2024-03-24 05:03:09 +01:00
Héctor Ramón Jiménez
e657dc2ecd
Fine-tune Catalog approach for button, checkbox, and svg
2024-03-24 02:08:20 +01:00