Cory Forsstrom
ddcf02f9d0
Add background styling to span / rich text
2024-07-28 13:06:57 +02:00
Héctor Ramón Jiménez
e9e06c8fe2
Add placeholder support to text_editor widget
2024-07-24 14:52:01 +02:00
Héctor Ramón Jiménez
54500e61ed
Simplify font attributes in Paragraph::with_spans
2024-07-21 13:01:27 +02:00
Héctor Ramón Jiménez
9bfaf2840c
Add Link support to rich_text widget
2024-07-21 12:45:05 +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
616689ca54
Update cosmic-text and resvg ( #2416 )
...
* Update `cosmic-text`, `glyphon`, and `resvg`
* Fix slow font fallback with `Shaping::Basic` in `cosmic-text`
* Update `cosmic-text` and `resvg`
* Update `cosmic-text`
* Fix `SelectAll` action in `editor`
* Fix some panics in `graphics::text::editor`
* Remove empty `if` statement in `tiny_skia::vector`
* Update `cosmic-text`, `glyphon`, and `rustc-hash`
2024-07-17 13:00:00 +02:00
PgBiel
76f5bc2cce
add SelectAll to TextEditor
2024-07-08 01:16:31 +02:00
Vlad-Stefan Harbuz
a7224a7827
Implement Copy on Fill and Stroke
2024-06-21 11:58:35 +01:00
Héctor Ramón Jiménez
6c1027af8d
Fix text_editor always capturing scroll events
2024-06-17 03:37:00 +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
eac5bcb64f
Fix Image::bounds when rotation present in iced_graphics
2024-05-03 07:04:57 +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
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
Héctor Ramón Jiménez
b276a603a1
Fix cache trimming loop in iced_wgpu::text
2024-04-30 23:15:04 +02:00
Héctor Ramón Jiménez
b5b78d505e
Introduce canvas::Cache grouping
...
Caches with the same `Group` will share their text
atlas!
2024-04-30 07:57:54 +02:00
Héctor Ramón Jiménez
3762c0590c
Fix panic when scrolling a TextEditor inside a scrollable
2024-04-26 15:17:10 +02:00
Héctor Ramón Jiménez
1e8554bf02
Sort damage by distance from origin in iced_graphics::damage
2024-04-10 20:23:07 +02:00
Héctor Ramón Jiménez
fdd9896dc5
Track image damage in iced_tiny_skia
2024-04-10 19:55:27 +02:00
Héctor Ramón Jiménez
32cd456fb9
Account for transformation in Text::visible_bounds
2024-04-10 16:26:55 +02:00
Héctor Ramón Jiménez
1e802e776c
Reintroduce damage tracking for iced_tiny_skia
2024-04-10 15:21:42 +02:00
Héctor Ramón Jiménez
14b9708f72
Remove leftover renderer module in iced_graphics
2024-04-09 22:29:03 +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
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
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
cc05cb9be4
Fix broken doc links in iced_wgpu and iced_graphics
2024-04-03 23:39:38 +02:00
Héctor Ramón Jiménez
e2c129c057
Fix geometry::Cache not reusing previous geometry
2024-04-03 23:14:16 +02:00
Héctor Ramón Jiménez
09af6773bd
Remove unused layer module in iced_graphics
2024-04-03 21:09:59 +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
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
4f5b63f1f4
Reintroduce backend selection through ICED_BACKEND env var
2024-03-24 08:04:28 +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
4f2f40c68b
Fix standalone compilation of iced_widget crate
2024-03-22 05:41:15 +01:00
Héctor Ramón Jiménez
1f13a91361
Make iced_tiny_skia optional with a tiny-skia feature
2024-03-22 05:27:31 +01:00
Héctor Ramón Jiménez
bbafeed13d
Fix outdated warning in docs of Frame::fill_text
2024-03-22 01:55:28 +01:00
Héctor Ramón Jiménez
85800c99ab
Fix broken links in documentation
2024-03-22 01:53:48 +01:00
Héctor Ramón Jiménez
53a183fe0d
Restore canvas::Frame API
2024-03-22 01:35:14 +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
188db4da48
Draft support for dynamic custom renderer injection
2024-03-21 05:52:48 +01:00
rustrover
500ba962d1
fix some comments
...
Signed-off-by: rustrover <seekseat@126.com>
2024-03-09 15:26:37 +08: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
35e2049ee6
Embed Fira Sans font on Wasm builds by default
2024-02-20 03:20:58 +01:00
Héctor Ramón Jiménez
c6cf2bc521
Fix clipping of text in iced_tiny_skia
2024-02-11 04:03:01 +01:00
Héctor Ramón Jiménez
2ba73b0faf
Fix wrapped lines not being considered when measuring TextEditor
2024-02-07 21:48:28 +01:00
Héctor Ramón Jiménez
f4d6648601
Introduce with_transformation to Renderer trait
2024-02-02 02:24:45 +01:00