Héctor Ramón Jiménez
c851e67734
Fix text::State downcast in some widgets
2024-07-19 00:59:54 +02:00
Héctor Ramón Jiménez
904704d7c1
Flesh out the markdown example a bit more
2024-07-18 13:14:56 +02:00
Héctor Ramón Jiménez
910eb72a06
Implement rich_text widget and markdown example
2024-07-17 22:04:11 +02:00
Héctor Ramón Jiménez
ffb520fb37
Decouple caching from Paragraph API
2024-07-17 18:50:53 +02:00
Héctor Ramón Jiménez
d9a29f5176
Remove Vector::UNIT constant
2024-07-13 13:41:00 +02:00
Héctor Ramón Jiménez
5e6d994199
Add default and base stylings to text widget
2024-07-13 13:26:37 +02:00
Héctor Ramón Jiménez
a108b2eebe
Add resize_events subscription to window module
2024-07-13 12:53:06 +02:00
Héctor Ramón Jiménez
2513213e89
Add directional border::Radius helpers
2024-07-12 19:35:01 +02:00
Héctor Ramón Jiménez
ab392cee94
Improve Border ergonomics
2024-07-12 19:10:52 +02:00
Héctor Ramón Jiménez
7c3341760d
Improve Padding ergonomics
...
We expose free functions for creating a `Padding`
and methods with the same name to modify its fields.
2024-07-12 18:43:25 +02:00
Héctor Ramón Jiménez
76737351ea
Re-export variants of Length and alignment types
2024-07-12 18:12:34 +02:00
Héctor Ramón Jiménez
f9dd5cbb09
Introduce helper methods for alignment for all widgets
2024-07-12 15:14:43 +02:00
Héctor Ramón Jiménez
8ae4e09db9
Add support for embedded scrollbars for scrollable
...
Co-authored-by: dtzxporter <dtzxporter@users.noreply.github.com>
2024-07-11 08:00:58 +02:00
Héctor Ramón Jiménez
03e8078f42
Add some built-in text styles for each Palette color
2024-07-11 04:57:40 +02:00
PgBiel
76f5bc2cce
add SelectAll to TextEditor
2024-07-08 01:16:31 +02:00
Héctor Ramón
4687bf7f14
Merge pull request #2485 from vladh/add-quad-border-doc
...
doc: clarify Quad border alignment
2024-06-30 22:57:14 +02:00
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
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
aaf396256e
Merge branch 'master' into beacon
2024-05-09 12:32:25 +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