Commit graph

3381 commits

Author SHA1 Message Date
Joao Freitas
99aa54cd88
Add pane_grid functionality to split a pane with another pane 2023-05-16 16:12:29 +01:00
Héctor Ramón
8e8b1e1eac
Merge pull request #1854 from wash2/fix-clear-blend-mode
fix: when clearing damaged surface with background color blend mode should be Source only
2023-05-16 12:42:36 +02:00
Ashley Wulber
a3f32ad201
fix: when clearing damaged surface with background color blend mode should be Source only 2023-05-15 13:40:52 -04:00
Héctor Ramón
9706c99310
Merge pull request #1847 from iced-rs/fix/image-atlas-race-condition
Fix race condition when growing an `image::Atlas`
2023-05-12 11:53:02 +02:00
Héctor Ramón Jiménez
0ef5ab6c84
Remove dbg! leftovers in image::atlas 2023-05-11 20:19:37 +02:00
Héctor Ramón Jiménez
f02f0c01ea
Fix race condition when growing an image::Atlas 2023-05-11 20:18:36 +02:00
Héctor Ramón Jiménez
cf434236e7
Enable doc_auto_cfg when generating documentation 2023-05-11 17:28:51 +02:00
Héctor Ramón Jiménez
3220d472ac
Fix document workflow for GitHub CI 2023-05-11 17:17:35 +02:00
Héctor Ramón
669f7cc74b
Merge pull request #1830 from iced-rs/advanced-text
Advanced text
2023-05-11 16:45:08 +02:00
Héctor Ramón Jiménez
63d3fc6996
Remove OpenGL mentions in READMEs 2023-05-11 16:05:36 +02:00
Héctor Ramón Jiménez
b60194844a
Write missing documentation in iced_widget 2023-05-11 15:40:57 +02:00
Héctor Ramón Jiménez
de638f44a5
Write missing documentation in iced_wgpu 2023-05-11 15:37:56 +02:00
Héctor Ramón Jiménez
8622e998f2
Write missing documentation in iced_graphics 2023-05-11 15:25:58 +02:00
Héctor Ramón Jiménez
dd04c0b070
Bundle tiny-skia backend together with iced_renderer 2023-05-10 22:23:11 +02:00
Héctor Ramón
422b4dedcb
Merge pull request #1841 from wash2/fix-svg-color-filter
fix: tiny-skia svg premultiply final filtered color
2023-05-10 01:56:25 +02:00
Héctor Ramón
22e82dd5d6
Merge pull request #1842 from wash2/fix-typo
fix: border radius typo
2023-05-10 00:57:24 +02:00
Héctor Ramón Jiménez
1400b5187d
Fix bounds of PickList text label 2023-05-10 00:37:08 +02:00
Héctor Ramón Jiménez
f75b8bd9ec
Increase default LineHeight to Relative(1.3) 2023-05-10 00:13:51 +02:00
Héctor Ramón Jiménez
f0c87375d5
Add line_height to pick_list::Icon 2023-05-10 00:02:34 +02:00
Ashley Wulber
75439ff96e
fix: border radius typo 2023-05-09 16:37:01 -04:00
Ashley Wulber
3f1c8a8d28
fix: tiny-skia svg premultiply final filtered color 2023-05-09 14:57:50 -04:00
Héctor Ramón Jiménez
9a8b30d7e9
Clip text that exceeds section bounds in iced_wgpu 2023-05-08 16:41:42 +02:00
Héctor Ramón Jiménez
c6d9221ee4
Round paragraph position until we implement subpixel glyph positioning 2023-05-08 16:20:05 +02:00
Héctor Ramón Jiménez
180cb073bd
Add line_height to checkbox::Icon 2023-05-08 16:19:28 +02:00
Héctor Ramón Jiménez
16bf8fc762
Export Shaping and LineHeight in widget::text 2023-05-08 15:37:29 +02:00
Héctor Ramón Jiménez
b8c2cca384
Merge branch 'master' into advanced-text 2023-05-08 14:53:36 +02:00
Héctor Ramón Jiménez
91ef07e6eb
Warn about unsupported primitives in iced_wgpu 2023-05-08 14:51:53 +02:00
Héctor Ramón Jiménez
2bc4880d00
Warn about unsupported primitives in iced_tiny_skia 2023-05-08 14:51:06 +02:00
Héctor Ramón Jiménez
c189ef62a6
Use LineHeight::default in iced_wgpu::layer 2023-05-08 14:46:56 +02:00
Héctor Ramón
bc62013b6c
Merge pull request #1831 from iced-rs/fix/menu-selected-option-bounds
Fix `bounds` of selected option background in `Menu`
2023-05-06 09:16:24 +02:00
Héctor Ramón Jiménez
00700a4742
Fix bounds of selected option background in Menu 2023-05-05 09:52:47 +02:00
Héctor Ramón
7ae549aba8
Merge pull request #1828 from iced-rs/feature/line-height
Support configurable `LineHeight` in text widgets
2023-05-05 06:38:33 +02:00
Héctor Ramón Jiménez
9499a8f9e6
Support configurable LineHeight in text widgets 2023-05-04 18:39:31 +02:00
Héctor Ramón Jiménez
8e8808f0e1
Merge branch 'master' into advanced-text 2023-05-02 06:40:48 +02:00
Héctor Ramón
2d7d9a130e
Merge pull request #1822 from iced-rs/basic-shaping
`text::Shaping` strategy selection
2023-05-02 03:30:06 +02:00
Héctor Ramón Jiménez
edf3432bf5
Update glyphon and cosmic-text 2023-05-02 01:02:33 +02:00
Héctor Ramón Jiménez
4bd290afe7
Introduce text::Shaping enum and replace magic boolean 2023-05-02 01:02:32 +02:00
Héctor Ramón Jiménez
33b5a90019
Make basic text shaping the default shaping strategy 2023-05-02 01:02:13 +02:00
Héctor Ramón
57a276e165
Merge pull request #1814 from ids1024/advanced-text
Do not require `Copy` for text `StyleSheet::Style`
2023-04-28 19:41:40 +02:00
Ian Douglas Scott
47016a37df Do not require Copy for text StyleSheet::Style
For most widgets, `Style` only requires `Default`. A few require
`Clone`. Only this one requires `Copy`.

Some of the types in the default theme has a custom variant requiring
`Box<dyn Trait>`, or `Rc<dyn Trait>` to provide `Clone`, but this isn't
possible if `Copy` is required.

It would be good to also address the inconsistency of requiring `Clone`
in some places and not others.

This removes `style/src/text.rs` which is unused in this branch and thus
confusing. If there's a reason to keep it, that can be removed from the
change.
2023-04-28 10:14:15 -07:00
Héctor Ramón
c8952ee4a1
Merge pull request #1815 from kr105/master
Fix broken issue link in `ROADMAP.md`
2023-04-28 15:28:10 +02:00
Carlos Pizarro
dcc9a70734
Fix small typo on ROADMAP.md
Link works properly now
2023-04-28 08:36:14 -04:00
Héctor Ramón
c31ab8eee6
Merge pull request #1811 from iced-rs/incremental-rendering
Incremental rendering
2023-04-27 16:09:39 +02:00
Héctor Ramón Jiménez
a755472ee3
Remove unnecessary last_ prefix in Surface of iced_tiny_skia 2023-04-27 15:51:51 +02:00
Héctor Ramón Jiménez
eb1b2bf241
Invalidate last_primitives on resize in iced_tiny_skia 2023-04-27 15:45:02 +02:00
Héctor Ramón Jiménez
38f82ab35f
Expand damage regions of Clip primitives a bit 2023-04-27 15:25:59 +02:00
Héctor Ramón Jiménez
200a29c069
Fix unused import in triangle pipeline for Wasm target in iced_wgpu 2023-04-27 15:17:45 +02:00
Héctor Ramón Jiménez
88d3247717
Fix build of integration example for Wasm target 2023-04-27 15:17:06 +02:00
Héctor Ramón Jiménez
92d808ee73
Fix double reference in compositor in iced_tiny_skia 2023-04-27 15:16:05 +02:00
Héctor Ramón Jiménez
af0303f95e
Move damage tracking logic to compositor in iced_tiny_skia 2023-04-27 15:10:41 +02:00