Commit graph

3559 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
fa5650cfd1
Decouple Mesh primitives from main Primitive type 2023-06-29 07:48:03 +02:00
Héctor Ramón Jiménez
2128472c2a
Remove layout method from core::Renderer trait 2023-06-29 07:18:24 +02:00
Héctor Ramón Jiménez
0ae1baa37b
Introduce custom backend-specific primitives 2023-06-29 07:18:20 +02:00
Héctor Ramón
8d65e40a11
Merge pull request #1934 from iced-rs/reuse-text-cache-entries
Reuse entries in `text::Cache`
2023-06-28 01:40:53 +02:00
Héctor Ramón Jiménez
00859c25f5
Retain text measurements as long as original entries 2023-06-28 01:27:09 +02:00
Héctor Ramón Jiménez
975eebfc62
Retain measurements for text entries even if not directly used 2023-06-28 00:51:40 +02:00
Héctor Ramón Jiménez
c8d79a5cd9
Fix needless borrow in iced_wgpu and iced_tiny_skia 2023-06-28 00:45:41 +02:00
Héctor Ramón Jiménez
73dca5e323
Reuse entries in text::Cache in iced_tiny_skia 2023-06-28 00:44:23 +02:00
Héctor Ramón Jiménez
78ad365db2
Reuse entries in text::Cache in iced_wgpu 2023-06-28 00:35:37 +02:00
Héctor Ramón Jiménez
af62ec1c87
Fix loading_spinners example 2023-06-28 00:11:41 +02:00
Héctor Ramón
9d83718fbe
Merge pull request #1878 from AustinMReppert/master
Minor Scrollable Improvements
2023-06-27 23:16:54 +02:00
Héctor Ramón
2d2ed4048c
Merge pull request #1902 from nicksenger/loading-spinners
Example loading spinners
2023-06-27 23:12:09 +02:00
Héctor Ramón Jiménez
1c26440f0b
Use Option::filter instead of and_then in scrollable 2023-06-27 23:04:50 +02:00
Héctor Ramón Jiménez
412e15b170
Require a Direction when computing State::offset in scrollable 2023-06-27 23:04:49 +02:00
Héctor Ramón Jiménez
493571695a
Rename ScrollbarProperties to Direction in scrollable 2023-06-27 23:04:49 +02:00
Austin M. Reppert
fa04f40524
Make vertical scroll properties optional
Co-Authored-By: Austin M. Reppert <austinmreppert@gmail.com>
2023-06-27 23:03:29 +02:00
Héctor Ramón
f63a9d1a79
Merge pull request #1843 from wash2/fix-tiny-skia-quad
fix: quad rendering including border only inside of the bounds
2023-06-27 22:19:49 +02:00
Héctor Ramón
c7332c1522
Merge pull request #1885 from bungoboingo/gradient-packing-optimization
Small gradient optimization
2023-06-27 22:10:17 +02:00
Héctor Ramón Jiménez
2f886b0e4e
Fix import consistency in iced_tiny_skia 2023-06-27 22:06:32 +02:00
Héctor Ramón Jiménez
bf7d636ebf
Draw border path for quad only if it has a border in iced_tiny_skia 2023-06-27 22:05:49 +02:00
Héctor Ramón
f6966268bb
Merge pull request #1845 from bungoboingo/feat/offscreen-rendering
Feat: Offscreen Rendering & Screenshots
2023-06-27 20:37:19 +02:00
Héctor Ramón Jiménez
5b6e205e99
Simplify offscreen API as color module in iced_wgpu 2023-06-27 20:26:13 +02:00
Héctor Ramón Jiménez
5ae726e02c
Move Screenshot inside window module 2023-06-27 19:41:03 +02:00
Héctor Ramón
ef18ecf4ef
Merge pull request #1921 from iced-rs/subpixel-glyph-positioning
Subpixel glyph positioning and layout linearity
2023-06-26 19:17:34 +02:00
Héctor Ramón
75bd55c1f0
Merge pull request #1931 from GyulyVGC/patch-1
Minor grammar correction
2023-06-25 12:39:22 +02:00
Giuliano Bellini
3136669c7f
Update BUG-REPORT.yml 2023-06-25 10:47:48 +02:00
Héctor Ramón
d9581f4e7e
Merge pull request #1929 from tarkah/update/winit
Update winit
2023-06-23 18:25:41 +02:00
Cory Forsstrom
a047588ae8
Update winit 2023-06-23 08:21:30 -07:00
Héctor Ramón
105e52ab59
Merge pull request #1928 from tarkah/fix/vendored-build
Fix iced build when using vendored dependencies
2023-06-23 13:35:28 +02:00
Cory Forsstrom
8152513bf8
Provide access to font from each crate 2023-06-22 20:18:38 -07:00
Héctor Ramón Jiménez
ef87ff1e8a
Clear text caches after a font is loaded 2023-06-21 21:47:29 +02:00
Héctor Ramón Jiménez
b38f7d2837
Center Submit button vertically in styling example 2023-06-21 18:07:26 +02:00
Héctor Ramón
59bb5a99aa
Merge pull request #1925 from iced-rs/update/ouroboros
Update `ouroboros` dependency
2023-06-21 02:13:11 +02:00
Héctor Ramón
b4ab444b00
Merge pull request #1924 from iced-rs/fix/nested-overlay-translation
Fix `translation` in `layout` of `Nested` overlay
2023-06-21 01:57:10 +02:00
Héctor Ramón Jiménez
3a5519d012
Update ouroboros dependency 2023-06-21 01:56:27 +02:00
Héctor Ramón Jiménez
716bf09923
Fix translation in layout of Nested overlay 2023-06-21 01:43:25 +02:00
Héctor Ramón Jiménez
5bc7cbf5bc
Use subpixel glyph positioning and layout linearity
... for offsetting and scaling text
2023-06-20 06:50:36 +02:00
Héctor Ramón Jiménez
8ae4e28013
Fix outdated release version in BUG-REPORT.yml 2023-06-16 16:23:57 +02:00
Héctor Ramón
1726b523d5
Merge pull request #1918 from iced-rs/update/glyphon-and-cosmic-text
Update `glyphon` and `cosmic-text`
2023-06-16 16:16:19 +02:00
Héctor Ramón
e7e2b7b711
Merge pull request #1917 from JonathanLindsey/subscription_channel_FnOnce
Make the subscription::channel function take a FnOnce non Sync closure
2023-06-16 16:08:53 +02:00
Héctor Ramón Jiménez
0c65936664
Update glyphon and cosmic-text 2023-06-16 15:50:03 +02:00
Bingus
93673836cd
Fixed documentation 2023-06-14 11:45:29 -07:00
Héctor Ramón
267dbf34e9
Merge pull request #1719 from tarkah/feat/nested-overlay
Nested overlays
2023-06-14 20:32:45 +02:00
Bingus
d955b3444d
Replaced offscreen_blit.wgsl with existing blit.wgsl. 2023-06-14 11:10:09 -07:00
Héctor Ramón Jiménez
9803b276ad
Fix cursor availability in overlay::Nested::draw 2023-06-14 11:27:42 +02:00
Héctor Ramón Jiménez
87db76a11f
Make overlay::Menu publish messages on selection 2023-06-14 11:25:05 +02:00
Cory Forsstrom
b0205e03d8
Use nested for lazy widgets 2023-06-14 11:03:41 +02:00
Cory Forsstrom
4de6ee6fa1
Cursor availability during on_event 2023-06-14 10:47:31 +02:00
Cory Forsstrom
83140d6049
Remove interior mutability
Nested doesn't need to implement Overlay trait, it can be be used
mutably in user interface so we don't need interior mutability.
2023-06-14 10:43:24 +02:00
Cory Forsstrom
3e6f6eedcb
Use layout with children for nesting 2023-06-14 10:37:51 +02:00